hcobb@walt.cc.utexas.edu (Henry J. Cobb) (03/28/90)
/* Shell.rexx Demo of the "captive shell" technique requires Csh 4.01a or later */ shell command "run shell -c rxrec CSH" call delay(500) a = "say hello" shell CSH do until upper(a) = "QUIT" interpret a parse pull a end shell rexx "shell CSH 'quit'" ---cut----line---- I had to do a lot of: alias CD cd To get this to work. (Why are the shell builtins cased, if the OS isn't ???) However the CSH port sticks around afterwards due to a bug in the shell, so this is really only a demo of what could be done. Hint, try stuff like: b = "ram:" cd b say b -- Henry J. Cobb hcobb@ccwf.cc.utexas.edu "I was not here; I did not say this."