Initiating a Terminal or X Windows Session on Pegasus (logging on....)
Terminal emulation software running on your PC, over either TCP/IP (Internet) or RS232 (serial) protocols on an Ethernet network or over phone lines, will allow you to login to your account on pegasus and run a terminal session using vt100 emulation. The sun and alpha workstations in the computer science department will allow you to login to your pegasus account and establish an X-Windows session.
From a UNIX Workstation running X Windows
At the chooser menu select:
pegasus.cs.csubak.edu (if the login prompt does NOT display pegasus select CANCEL and repeat until it does)
The login screen for the Pegasus will appear and you can enter your account
name and
password.
From Windows
PC's in Library Computer Labs
At the Windows desktop double-click:
Communications
Pegasus
The login screen for the Pegasus will appear and you can enter your account
name and
password.
By Serial/RS232 Modem Communications
Hyperterminal is a communications program that comes with Windows and may be found on the Accessories menu. To set up a Hyperterminal file that connects with the CSUB serial modems and computing menu select File, New from the Hyperterminal menu. Give the connection a name and enter the communications settings. The phone number is 664-2301 and the settings are 8-N-1. The terminal type is vt100.
Click on dial to connect to the campus computing center. If you have a blank screen once you are connected press ENTER. Choose #9 (Computer Science Pegasus) on the menu and login with your account name and password.
When you have exited from Pegasus, you will have to exit from the main computer center menu. Press 'e' and you will be disconnected.
It may be necessary
to set the terminal type. If you have problems running the full-screen editor
(pico) or pine, enter the following
:
TERM=vt100 File Transfer
on Pegasus
File Transfer
over the Internet
ftp> lcd c:\temp
(the source directory on your local PC)
File Transfer
over Serial Communications
If you
are uploading a file to the Pegasus, type:
Go back to your
communications program, choose the same protocol, select the file and give
the send command. The file will be put in the current directory on
the Pegasus. To exit either Kermit when the upload is complete, type
exit.
To download
a file from the Pegasus, enter the kermit command, type s filename
and press Enter.go first to your communications program, select receive,
choose the protocol, and select the directory for the file. Again,
to exit Kermit when you are finished, type exit.
export TERM
Transfering
files to/from Pegasus over the Internet (either from home using an ISP
or on any campus computer connected to the Internet) uses FTP (File Transfer
Protocol). PC's running Win95/98/NT come with a simple FTP program ( PC
Lab computers also have WinFTP installed but I will not give instructions
for that). Because this is a command line program, you should put the file(s)
you wish to transfer in a folder easy accessed (e.g. c:\temp). From Start
Menu select Run and type 'ftp'. You will see a black screen with the ftp>
prompt.
ftp> open pegasus.cs.csubak.edu
(enter your username and password as prompted)
ftp> cd cs212
(the target directory on pegasus)
ftp> binary
(if the files are text type 'ascii')
ftp> put hw1.c
(the name of the file to be transfered)
ftp> quit
(to end the session)
Pegasus also
supports the Kermit file transfer protocol. This will allow you to transfer
files over a serial connection from home. To move files between computers,
both of them will need to be set to the same protocol.
kermit
press Enter
r
filename where filename is the name for the file received.