%%s 0/0/0 %%d D 1.1 26-Mar-82 12:31:00 v1.1 1 0 %%c Version 1.1 is the Spring 1982 Distribution of the LBL/Hughes release %%c of the Software Tools Virtual Operating System software and documentation. %%T %%I 1 #-h- chd.r 443 asc 25-mar-82 07:27:40 v1.1 (sw-tools v1.1) #-h- main 370 asc 25-mar-82 07:27:27 v1.1 (sw-tools v1.1) subroutine main character path(FILENAMESIZE) integer getarg, cwdir string usestr "usage: chd dev:[dir] OR chd /dev/dir" call query(usestr) if (getarg(1, path, FILENAMESIZE) == EOF) call error(usestr) if (cwdir(path) == ERR) { call putlin(path, ERROUT) call error(": does not exist.") } else { call gwdir(path, PATH) call remark(path) } return end #-h- chd.fmt 628 asc 25-mar-82 07:27:41 v1.1 (sw-tools v1.1) .so ~bin/manhdr .hd Chd (1) 12-Mar-82 change working disk and directory from MCR .sy chd dev:[dir] OR chd /dev/dir .ds `chd', when installed as "...CHD", permits the user to change both disk device and directory at one time from MCR, in the same manner as the `cd' command to the shell. If the change is successful, `chd' will display the new disk and directory to the user before exiting. If the disk name is not specified, then only the directory (UIC) will be changed. Note that `chd' will NOT permit you to change to a directory (UIC) which does not exist. .fl .sa cd - change working directory .di .au Joe Sventek .bu %%E 1