IHRODAN-1, Internet Help Sheet for RODAN Page 1 This sheet tells you how to use the Internet from RODAN, Syracuse University Academic Computing Center's UNIX system. The Internet is a world-wide cooperative network that includes NYSERNet, ARPANET, NSFnet and various networks on Syracuse University campus. Using RODAN's Internet capabilities, you can exchange electronic mail with other Internet computers, transfer files between RODAN and other Internet computers and can sign-on to and use other Internet computers interactively. Receiving Mail To read and discard electronic mail from the Internet (or from other RODAN users), type inc and press RETURN. RODAN will display a line about each message that just arrived, then will display its normal prompt, %. Then type scan and press RETURN. RODAN will display the same thing as it does after the inc command, but will also display similar information about any older messages which you have received but not yet discarded. Each line displayed starts with a number which is used to identify messages for further commands. Then it will display the normal prompt, %. To read a particular message, type show followed by the message's identifying number. RODAN will display the message, but will not discard it automatically. If the message is long, RODAN will display only a few lines, then will display a --More--(d%) (where d represents a one- or two-digit number). If so, press the space bar to display more of the message. When RODAN has displayed the entire message, it will display its normal prompt, %. To discard the message, type rmm followed its identifying number. Example of Receiving Mail % inc Incorporating new mail into inbox... 2+ 05/30 To:jjdoe@rodan About your news. < To: jjdoe@rodan.acs.syr.edu Date: Tue, 30 May 89 12:00:34 -0500 From: Mary Roe Subject: Received your news yesterday. I was very surprised. % rmm 1 % Sending Mail To send mail, type comp and press RETURN. RODAN will display To: and wait JMW 5/89 IHRODAN-1, Internet Help Sheet for RODAN Page 2 for input. Type the Internet electronic mail address of the recipient and press RETURN. It will have a form like: hubbard@xanadu.sequoia.edu RODAN will display cc: and wait for input. You can simply press RETURN. RODAN will display Subject: and wait for input. You can simply press RETURN. RODAN will type a line of 8 dashes, then wait for input at the beginning of the next line. Type your message. When you are done, press RETURN, then type d while holding down the CTRL key. RODAN will type another line of 8 dashes, then will type What now? Type send and press RETURN. Rodan will return to its normal % prompt. Example of Sending Mail % comp To: mmroe@xanadu.sequoia.edu cc: Subject: -------- Yes, it was very good news. I am very happy about it. -------- What now? send % More on Electronic Mail To do more with the mail commands, use the UNIX man command to read more about these commands. RODAN has an alternate way to send and receive electronic mail, the mail command. Use the UNIX command man mail for more information about the mail command. 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. computer. Then it will give you a prompt Name (cccc:uuuu): (where cccc is the name of the remote computer and uuuu is your username on RODAN). Next, type the username on the remote computer and press RETURN. Then RODAN will give you the Password: prompt. Type your password and press RETURN. It will not echo. Then RODAN will give you the ftp> prompt. Now you are ready to transfer files using the following commands supported by the FTP program: JMW 5/89 IHRODAN-1, Internet Help Sheet for RODAN Page 3 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. get - copies a file from the remote computer to RODAN. 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 the syntax used by RODAN (UNIX). put - copies a file from RODAN to the remote computer. It also takes two arguments. The first is a file specification for the local file in the syntax used by RODAN (UNIX) and the second is a file specification for the remote file to be created in the syntax of the remote computer. hash - causes a hash mark (#) to be printed after each 1024 bytes are transferred. This lets you know how the file transfer is progressing which is helpful when you are doing a long or a slow transfer. 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. bye - exits from FTP. Example of File Transfer % ftp xanadu.sequoia.edu Connected to xanadu.sequoia.edu. 220 xanadu.sequoia.edu FTP server (Unix 4.3) ready. Name (xanadu:mmroe): planck 331 Password required for planck. Password: 230 User planck logged in. ftp> dir 200 PORT command successful. 150 ASCII data connection for /bin/ls (128.230.1.55,2907) (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 444 bytes received in 1.0 seconds (0.50 kbytes/s) ftp> get life einstein/life.text 200 PORT command successful. 150 Opening data connection for life (ascii mode) (1380 bytes) 226 Transfer complete. local: einstein/life.text remote: life 1380 bytes received in 3.0 seconds (0.40 kbytes/s) ftp> bye 221 Goodbye. % Using a Remote Computer Interactively JMW 5/89 IHRODAN-1, Internet Help Sheet for RODAN Page 4 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 xanadu.sequoia.edu The TELNET 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. The remote computer will then give you its normal greeting and sign-on prompt. While TELNET maintains the connection with the remote computer, it supports an "escape" character which you can use to direct the TELNET program to do several different things without necessarily breaking your connection: control-right-square-bracket (press the right-square-bracket key while holding down the control key). A question mark (?) after this key will tell you what TELNET can do for you at this point. One operation is to immediately stop the session and return to RODAN. The other way to end your TELNET session is to sign off of the remote computer normally. Example Interactive Session % telnet xanadu.sequoia.edu Trying... Connected to xanadu.sequoia.edu. Binary mode:off Escape character is '^]'. Precedence = Routine Level = Unclassified Compartments = None Handling restrictions = ** TCC = *** 4.3 BSD (xanadu.sequoia.edu) login:planck Password: Last login: Wed Jun 10 13:03:43 from rodan.acs.syr.edu Welcome to xanadu, your pathway to better living %ls br.c cr.c %^D Connection closed to foreign host. % Problems JMW 5/89 IHRODAN-1, Internet Help Sheet for RODAN Page 5 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 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 RODAN 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. JMW 5/89