home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / unix / emacs.cmd < prev    next >
OS/2 REXX Batch file  |  1993-06-14  |  680b  |  26 lines

  1. @echo off
  2. if *%root%==* goto error
  3. if *%root%==*. goto error
  4. goto ok
  5. :error
  6. echo Set the ROOT environment variable properly
  7. echo to point to the root directory of the tools
  8. echo where the "emacs" directory is located!
  9. goto exit
  10. :ok
  11. setlocal
  12. rem -t is for the FATified long names on the ISO 9660 CD-ROM
  13. set emxopt=-t
  14. set emacsloadpath=%root%\emacs\lisp
  15. set emacsexecpath=%root%\emacs\etc;%root%\emacs\bin
  16. set termcap=%root%\emx\etc\termcap.dat
  17. if *%term%==* set term=ansi
  18. set shell=%comspec%
  19. set systemname=machine
  20. set user=user
  21. set home=%root%\emacs
  22. %root%\emacs\bin\cursor.exe 0 -100
  23. %root%\emacs\bin\xemacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
  24. endlocal
  25. :exit
  26.