home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
prgramer
/
unix
/
emacs.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-06-14
|
680b
|
26 lines
@echo off
if *%root%==* goto error
if *%root%==*. goto error
goto ok
:error
echo Set the ROOT environment variable properly
echo to point to the root directory of the tools
echo where the "emacs" directory is located!
goto exit
:ok
setlocal
rem -t is for the FATified long names on the ISO 9660 CD-ROM
set emxopt=-t
set emacsloadpath=%root%\emacs\lisp
set emacsexecpath=%root%\emacs\etc;%root%\emacs\bin
set termcap=%root%\emx\etc\termcap.dat
if *%term%==* set term=ansi
set shell=%comspec%
set systemname=machine
set user=user
set home=%root%\emacs
%root%\emacs\bin\cursor.exe 0 -100
%root%\emacs\bin\xemacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
endlocal
:exit