There are two commands you can use to leave a Telnet session
Commands like logoff, logout, or lo don't work on CMGM/PMGM.
You can of course, shutdown your computer, or quit your telnet application, but this isn't polite, and can lead to some programs continuing to run even after you have left.
If you are using an X-terminal (The SGI computers in B050 or over in Sweet Hall), then quitting a window WILL NOT log you out of the remote computer. In an X-Window terminal, you don't need to close all the individual windows before leaving. You have to exit the X-Window session. To do this, you move your mouse over to the background area (not over a window), and hold down the right mouse button. Up will pop a menu, and you can select the option to Log-Out of the X-Window session.
Also, if you are using MacLeland or PCLeland, be sure to log out of your "leland" session. You can do this by opening up the "leland" icon which is up on the top menu bar on Macs, and on the command bar at the bottom of the screen on PCs. If you don't do this, the next person sitting at your computer can have access to your account even if you have quit your telnet program.
Sometimes a program will hang, and you will not see a % prompt where you can type in a command. In this case, you can always try Control-c or Control-z to try and get you out of a program.
In certain programs like mail, exit (or x) will let you leave the program without saving any changes, while quit (or q) will save changes before allowing you to leave.
For more help with the exit command or to see the online UNIX manual for the exit command, click here.