next up previous contents
Next: ADDITIONAL READING Up: APPENDIX Previous: APPENDIX

VMS DCL or UNIX shell commands in Pop-11

(A) For UNIX users:

You can give a UNIX Shell command by typing a dollar as the first symbol on the line, followed by the command, e.g.

    $ ls -l *.p
On UNIX if you use a percent symbol `%' instead of the dollar, you'll get the CSHELL rather than the SHELL. In that case you can use the character `~' in file names to identify a user's login directory. E.g.

    % ls ~fred
will get a listing of fred's directory (if it is readable by you) whereas

    $ ls ~fred
will produce a message about ~fred being "not found".

If you use `!' as the shell "escape" character, then you will get whichever shell is the currently value of the Unix environment variable $SHELL

To switch temporarily to a sub-SHELL, so that you can give a series of commands, type one of `%', `$' or `!' on its own, at the beginning of a line. Pop-11 will be temporarily suspended, and you can give SHELL commands. Later, you can leave the shell by typing the end of file character, or typing `exit', after which you will return to where you were in POP, or VED.

(B) For VAX VMS users:

DCL commands can be given by typing the dollar as the first symbol on the line, e.g.

    $ show time
or

    $ dir *.p
If you type the dollar on its own at the beginning of a line it will spawn a new sub-process running DCL. You can type several DCL commands, and then type "q" to terminate the DCL process and return to Pop-11.

See also the following facilities for invoking a shell or DCL from a VED window:

    ved_imcsh ved_imsh ved_imdcl


Aaron Sloman
Fri Jan 2 03:17:44 GMT 1998