Below are step-by-step guides to using 'TELNET', 'tftp', and 'LPR' on a networked Athena IBM PC-AT Workstation. ============================================================================= TO CONNECT TO A REMOTE MACHINE: To login to a machine over the network, type the 'TELNET' command at the PC-AT DOS prompt: TELNET machinename 'TELNET' emulates an H19 terminal. Once you have logged-in to the remote machine, type this: unsetenv TERMCAP; setenv TERM h19 The F10 key on the lower left of the AT keyboard will invoke a command interpreter inside 'TELNET' which performs special operations over the network. Press F10 followed by the '?' key for a list of these commands. Important 'TELNET' commands are: F10 ! Suspend 'TELNET' and start another DOS shell on the AT. Type 'EXIT' to return to 'TELNET'. F10 c Close connnection (logout from remote machine). F10 q Quit out of telnet (if 'F10 c' doesn't work). F10 y Permit file transfer to/from remote site (see 'TFTP'). F10 n Deny file transfer from remote site (see 'TFTP'). F10 i Automatically type the AT's address over network (see 'TFTP'). If you use 'TELNET' to connect to Athena frequently, you may want to edit the '.login' file in your home directory so that the system will know that you are using an H19 terminal over the network. Then you won't have to type the 'setenv' lines described earlier. In your '.login' file, insert the 'if' line shown below: # The following obscurity gets terminal characteristics into the # environment: if ($TERM =~ network) setenv TERM `tset -Q - h19pc` set noglob; eval `tset -s -Q -m 'switch>1200:?vt100 -m 'switch<=1200:?vt100'` ============================================================================= TO TRANSFER FILES: To transfer files between the PC-AT and a remote Unix machine, use the 'tftp' command. To copy a file from the PC-AT to the Unix system, type this command at the Unix system prompt: tftp -g unixfilename address dosfilename or tftp -g unixfilename address dosfilename image ...where 'unixfilename' is the name of the file on the Unix system, 'address' is the network address of your PC-AT (e.g., '18.72.0.201'), and 'dosfilename' is the name of the file on the PC-AT. Include the word 'image' at the end of the command if you are transferring a binary file. To copy a file from the Unix system to the PC-AT, type this command at the system prompt: tftp -p unixfilename address dosfilename or tftp -p unixfilename address dosfilename image ...where 'unixfilename', 'address', and 'dosfilename' are as described above. Here is a simple procedure for using 'tftp': Use 'TELNET' to connect to the Unix system. Then type: tftp -g unixfilename or tftp -p unixfilename ...but don't press the Enter key yet! Now press 'F10 i'. This will automatically insert the network address of your PC-AT. Now type 'dosfilename' (and 'image' if appropriate), and press the Enter key. The PC-AT will "beep" and ask you if it is OK to transfer the file. Press 'F10 y'. ============================================================================= TO PRINT A FILE: To print a DOS file, type the 'LPR' command at the PC-AT DOS prompt: LPR dosfilename or LPR -g dosfilename ...where 'dosfilename' is the name of the DOS file to print. Use the '-g' option if the file is a GKS graphics metafile. The file will be printed on the designated printer for your PC-AT cluster. =============================================================================