IHSUVM-2, Internet Help Sheet for SUVM Page 1 This sheet tells you how to use the Internet from SUVM, Syracuse University Academic Computing Center's VM/CMS system. The Internet is a world-wide cooperative network that includes NYSERNet, ARPANET, NSFnet and various networks on Syracuse University campus. Using SUVM's Internet capabilities, you can exchange electronic mail with other Internet computers, transfer files between SUVM and other Internet computers and can sign-on to and use other Internet computers interactively. Mail You can send and receive Internet mail using SUVM's usual electronic mail commands, EMAIL and RDRLIST. However, the NOTE command will not send mail on the Internet. Received mail is delivered just like any other mail on SUVM. To send mail, you need to know the address of the recipient. Electronic-mail addresses on the Internet are of a form like: hubbard@xanadu.sequoia.edu Transferring Files To transfer files to or from a remote computer, you need to know its Internet name and an account and password on it. Use the FTP command with the name of the remote computer: ftp xanadu.sequoia.edu The FTP program will take a little while to lookup the name of the remote computer (e.g. xanadu.sequoia.edu) and will establish a connection with it. Then it will prompt you with: USER (identify yourself to the host): Type your username for the remote system and press RETURN. Then SUVM will prompt you with: Password: Type your password for the remote system and press RETURN. Your password will not echo. SUVM will display: Command: Now you are ready to transfer files using the following commands supported by the FTP program: dir - prints a directory of the files on the remote computer. It takes the name of a directory (in the syntax of the remote computer) as its sole argument. cd - changes which directory on the remote system is used for further dir and transfer commands. It takes the name of a directory (in the syntax of the remote computer) as its argument. JMW 6/89 IHSUVM-2, Internet Help Sheet for SUVM Page 2 get - copies a file from the remote computer to SUVM. It takes two arguments. The first is a file specification for the remote file in the syntax of the remote computer, the second is a file specification for the local file to be created in a peculiar syntax used only by SUVM's ftp command: the filename followed by the filetype followed by the filemode, where they are separated from each other by periods instead of the usual spaces. put - copies a file from SUVM to the remote computer. It also takes two arguments. The first is a file specification for the local file in ftp's peculiar syntax (see get above) and the second is a file specification for the remote file to be created in the syntax of the remote computer. binary - sets "binary mode", i.e., causes all subsequent "puts" and "gets" to transfer files without translating each byte. Normally, bytes are translated so that text in the file remains readable. ascii - sets "ascii mode" (the default), i.e., nullifies the effect of the "binary" command. quit - exits from FTP. Example of File Transfer ftp xanadu.sequoia.edu VM TCP/IP FTP R1.1 Connecting to XANADU.SEQUOIA.EDU 133.50.1.254, port 21 220 xanadu.sequoia.edu FTP server (Version 4.106 Mon Mar 2 18:55:53 EST 1987)ready. SUVM.acs.syr.edu FTP User Process (Version 3.00) USER (identify yourself to the host): planck >>>USER planck 331 Password required for planck. Password: >>>PASS ******** 230 User planck logged in. Command: dir >>>PORT 128,230,1,47,145 200 PORT command successful. >>>LIST 150 Opening data connection for /bin/ls (ascii mode) (0 bytes). drwxrwxrwx 2 0 10 512 Jun 4 12:23 life drwxr-xr-x 9 67 137 512 May 26 16:37 death drwxr-xr-x 2 157 137 512 May 13 1986 taxes drwxr-xr-x 3 0 137 512 Feb 12 11:42 reincarnation 226 Transfer complete. Command: get life life.text.a >>>PORT 128,230,1,47,25,146 200 PORT command successful. >>>RETR life 150 Opening data connection for life (ascii mode) (1380 bytes) 226 Transfer complete. 1380 bytes transferred. Transfer rate 0.40 kbytes/sec. Command: JMW 6/89 IHSUVM-2, Internet Help Sheet for SUVM Page 3 quit >>>QUIT 221 Goodbye. Ready; T=0.42/0.85 19:02:29 Using a Remote Computer Interactively To use a remote computer, you need to know its Internet name and an account and password on it. Use the TELNET command with the name of the remote computer: telnet godzilla.sequoia.edu Note: TELNET is restricted to fullscreen SUVM users. The TELNET program will take a little while to lookup the name of the remote computer (e.g. godzilla.sequoia.edu) and will establish a connection with it. The remote computer will then give you its normal greeting and sign-on prompt. If you use TELNET to reach another VM/CMS system, using the remote system will be very much like using the local system. Using other types of systems such as VAX/VMS or Unix systems is possible, but is very peculiar and not recommended. While TELNET maintains the connection with the remote computer, it gives you a way to direct the TELNET program to do several different things without necessarily breaking your connection: press PA1 if the remote system is a VM/CMS system, otherwise press PF4. (Note: if you are using an ASCII terminal, you must know what key or key-sequence has the effect of PA1 or PF4 for your particular type of terminal). Type a question mark (?) and press RETURN to find out what TELNET can do for you at this point. One operation is to immediately stop the session and return to SUVM. The other way to end your TELNET session is to sign off of the remote computer normally. Some computers expect a "Control" character to signal sign-off. To make SUVM send a "Control" character to the remote computer, type a back-slash (\) followed by the key designating which control character, then press RETURN. For example, to form a "Control-d", type \d and press RETURN. JMW 6/89 IHSUVM-2, Internet Help Sheet for SUVM Page 4 Example Interactive Session with Remote VM/CMS Computer telnet godzilla.sequoia.edu (Note: SUVM clears the screen or waits for you to do so) VM TCP/IP Telnet R1.1 Connecting to godzilla.sequoia.edu, port TELNET (23) Using Transparent Mode... Notes on using Telnet when in Transparent Mode: - To enter Telnet Command, Hit PA1 (Note: SUVM waits for you to clear the screen. then the sign-on screen of the remote VM/CMS computer appears) VIRTUAL MACHINE/SYSTEM PRODUCT G O D Z I L L A Fill in your USERID and PASSWORD and press ENTER (Your password will not appear when you type it) USERID ===> planck PASSWORD ===> COMMAND ===> (Note: after you type your password, the screen clears) LISTFILE BR MEMO A1 CR MEMO A1 Ready; T=0.08/0.20 19:05:30 LOGOFF CONNECT=00:01:02 VIRTCPU=00:00:05 TOTCPU=00:00:11 LOGOFF AT 19:06:02 EDT TUESDAY 05/30/89 (Note: SUVM waits for you to clear the screen then displays the following:) Session ended. to return to CMS. (Note: as you press ENTER, SUVM clears the screen again) Telnet terminated -- connection closed Ready; T=.0.10/0.20 19:05:45 Problems With TELNET and FTP, there is always a pause after the command is typed as the program looks up the name of the remote computer you are contacting. There are a lot of names, so this search can take seconds. A message is JMW 6/89 IHSUVM-2, Internet Help Sheet for SUVM Page 5 displayed, then it takes some time to establish initial contact with the remote computer. Thus, you must wait a little while before assuming something has gone wrong. The length of the wait depends upon the load on SUVM and the load on the network. If you have reached a site at one time, but cannot reach it at a later time, the problem may well be simply network load. If the network is loaded down too much, FTP or TELNET will refuse to connect you. Reaching SUVM with Another Computer's FTP When you use FTP from another computer to reach SUVM, SUVM applies the same rules to your requests that it would apply to another SUVM user trying to access a minidisk of yours: your minidisk must be protected in such a way that another username can read it and you, the FTP user must use whatever password is expected. The remote computer's cd command is used to specify the username and device address of the disk you wish to access, and the remote computer's acct (or perhaps quote) command is used to specify the password for the disk, if necessary. To avoid all this, transfer files by signing on to SUVM and using its FTP command. Also note that the FTP user on a remote computer must use the peculiar syntax for CMS files specified above for SUVM's FTP's get command: periods are used to separate the filename, filetype, and filemode rather than the more usual spaces. Reaching SUVM with Another Computer's TELNET SUVM, like most VM/CMS computers on the Internet, offers other computers a special kind of TELNET session to allow the use of fullscreen VM/CMS. Most TELNET commands on non-VM/CMS systems do not support this kind of session, thus they give you linemode access to SUVM. However, many systems offer an alternate TELNET command called TN3270 which will allow you to use fullscreen VM/CMS. To use it, consult documentation for your system. Note: your system will need accurate information about what type of terminal you are using (if it is a multi-user system) and you will need to know the keys and key- sequences which your TN3270 uses to produce the usual IBM-fullscreen keyboard functions like PF1, PA1, etc. JMW 6/89