From dick Wed Dec 2 07:07:37 1992 From: dick (Dr. Richard Botting) To: dick@silicon Subject: Re: Some questions about UNIX > 1. How can I transfer a file from my home computer to silicon? Dr. Murphy hasn't installed kermit/xmodem/... other protocols. We must do it by the simplest means. FIRST - learn how to make your PC transmit a file in ASCII code. This depends on your software. All terminal emulators can transmit/send/upload a file character by character. SECOND - Login to silicon via INET or PAD. THREE - use the 'cat' command to copy what your PC sends INTO the right file. cat >your_own_file_name_here FOUR - Tell your PC software to send/upload/transmit the PC file. FIVE - Wait for the transmission to finish SIX - tap CTRL/D Note. Make sure that no line has more than 255 characters. > 2. How can I write the plan (for E-mail)? I'm not sure I understand. If you make a file called '.plan' then this file will be printed as part of 'finger elam' as your Plan. E-Mail ignores it. If you want 'mailx' to read commands when it starts up, put them in '.mailrc',.... All dot-files (.plan, .mailrc, .exrc,....) should be in your $HOME directory. I hope this is helpful. > 3. My terminal emulator can't do a vt100, what alternatives are they. As of January 1993 we have full implementations of these terminal types: 912 912-2p 912b 912c 912cc 920 920-2p 920b 920c 925 950 950-2p 950-4p 950-rv 950-rv-2p 950-rv-4p aixterm aixterm-m aixterm-m-old aixterm-old h19 hft hft-c hft-c-old hft-m hft-m-old hft-nam hft-nam-old ibm3101 ibm3151 ibm3151-132 ibm3151-25 ibm3151-51 ibm3151-61 ibm3151-S ibm3161 ibm3161-C ibm3162 ibm3162-132 ibm3163 ibm3164 ibm5081 ibm5081-113 ibm5081-56 ibm5151 ibm5154 ibm5550 ibm5570 ibm6153 ibm6153-40 ibm6153-90 ibm6154 ibm6154-40 ibm6154-90 ibm6155 ibm6155-113 ibm6155-56 ibm8503 ibm8507 ibm8512 ibm8513 ibm8514 ibm8515 ibm8604 ibmpc ibmpcc ibmpdp jaixterm jaixterm-m sun televideo950 tvi tvi-2p tvi912 tvi912-2p tvi912b tvi912c tvi912cc tvi920 tvi920-2p tvi920b tvi920c tvi925 tvi950 tvi950-2p tvi950-4p tvi950-ap tvi950-b tvi950-ns tvi950-rv tvi950-rv-2p tvi950-rv-4p vs100 vs100s vt100 vt100-am vt100-nam vt100x vt220 vt320 vt330 vt340 wy100 wy30 wy350 wy50 wy60 wy60-316X wy60-AT wy60-PC wyse100 wyse30 wyse350 wyse50 wyse60 wyse60-316X wyse60-AT wyse60-PC xterm xterms Perhaps one of these looks like one of the options on your emulator. If so input these commands: TERM=xxxx; export TERM where xxxx is the matching type of terminal. Switch your emulator to the matching type and try to use 'vi'. Be ready to tap Esc once or twice and the ':q!' blindly if or when 'vi' makes a mess of the screen. Note. You can ALWAYS define your terminal type to be 'unknown' or 'dumb' or any other of the 300 terminal types in '/etc/termcap'. 'vi' will complain and put you in a special "Open Mode" but otherwise will work as usual - commands will move the cursor, delete and insert things but without 'vi' trying to paint a screen. You just see one line. From dick Wed Jan 27 08:44:21 1993 To: dick@silicon, astudent Subject: Re: TERM I also tested out 'vt52' yesterday - with identical results. I agree [Open mode] is painful, but possible (I've been forced to use it on (1) printing consoles, (2) the old terminals we used to have,...). Uploading ASCII is not wise if there is noise on the line. As far as I can tell this is a problem that depends on where the terminal is... I get bursts of noise once or twice a week at home, but people who are further away get more noise. Make sure by the way that you DON'T have call waiting which disconnects modems. In other words, the problems seem to be in telephone wires and exchanges between your terminal and the campus. There's no quick fix at either end for this. A student has found an online service that lets you make a local and cleaner connection into the system, but that costs extra...via Tymnet , Delta, and the Internet. I don't have details. So, back to vt52's and such, I need a complete list of all possible terminal types that you have. I will search to see if ANY of these are linked to 'vi'. Meanwhile I will start a campaign to compile the 'terminfo/v/vt52' file that is needed. Unfortunately this is a non-trivial task. I will also be looking for a vt52 workalike UNIX terminal that is available to 'vi' but called something different - with 200+ terminals this is quite possible. By the way - you are not alone, another student has an almost identical problem. From astudent Thu Jan 28 1993 From: astudent (Anonymous Student) To: dick@silicon Subject: Terminals Well, VT52 is advertised by the terminal program (COMit!) as the most advanced terminal available (at production time) that is capable of all cursor movements and codes necessary. The other options available are TTY and one other. I'll have to check... I am also curious about MNP. It says that if the MNP selection is not correct, you may get garbage when you logon to a remote system. This happens to me quite often attempting to logout or in using interlink to get to wiley. I'm sorry if the over- and over again nature of my questions becomes irritating. I do hope that I will get better and I thank you for helping. From dick Thu Jan 28 07:05:55 1993 To: dick@silicon, astudent Subject: Re: Terminals Well, VT52 is advertised by the terminal program (COMit!) as the most advanced terminal available (at production time) vt52's were the most advanced terminals on the market circa 1980. The vt100 model took over shortly after. In parallel a similar standard terminal was defined by the American National Standards Institute. Hence the name ANSI terminal. Sadly, it pays a manufacturer to produce terminals and software that do MORE than the standard, so that you get stuck with them and have to by more. The defacto standard is vt100 and so even IBM have made sure that AIX comes with vt100 compiled into code that 'vi' can use. TTY is short for TeleTYpe. A kind of slow electric typewriter. As a result no screen can't erase a charcter on a line can't go back to a previous line etc. UNIX calls this 'dumb, as in TERM=dumb It forces 'vi' into open mode again. MNP?????? I don't recall that one. One moment while I look at the terminal data base in /etc/termcap.... ~!grep -i mnp /etc/passwd ! No match! I wonder if it is close enough to a vt100 to work??? Try setting MNP on your emulator and TERM=vt100 on UNIX, export TERM and see what happens... By the way, it would be a great help to others if I keep a copy of this correspondence, do you want me to remove your name????? > 3 The tilde, mail and telnet from stallion to the IBM lab. The tilde character ('~') is picked up by the Telnet program that connects Stallion to Silicon ... It can't be used therefore to operate the mailx program... The fix is as follows. If or When the 'Escape character is ~' message appears input the escape character displayed and a return. The telnet> prompt comes up. Input escape and when prompted input your preffered escape key. I reccomend CTRL/P and then tap Telnet acknowledges the change and then AIX lets you login. From dick Sat May 1 14:55:34 1993 To: gbrugale Subject: Re: wierd logon Its definitely not possible to login to an line that has a login on it. Even a superuser is blocked. However it is possible to login on another line and kill the 'zombie' login. On this system the command /share/bin/kz is designed to kill all your logins except the one where you invoke it. kz=kill zombie It can also be done manually by using ps -u gbrugale Figuring out which processes are zombies and for each PID kill -1 p where p is the Process IDentifier (PID): Currently 'ps -u dick' shows: UID PID TTY TIME CMD 502 8586 - 2:06 sh 502 13593 pts/4 0:00 ksh 502 18771 pts/4 0:00 ksh 502 19872 - 0:00 sleep 502 21410 pts/4 0:00 ps 502 27041 pts/4 0:00 sh 502 28245 pts/4 0:00 mailx because I am on pts/4. Processes 8586 and 19872 are like zombies but where deliberately launched and diconnected from their pts to operate a bulletin board for CS320. Being useful they are called deamons. To terminate them I woul send the 'HangUP signal' kill -1 8586 By the way if an edit is killed then it will mail you and tell you how to recover your work. I hope this is helpful. From dick Wed May 19 11:13:45 1993 To: cwu Subject: Re: questions about vi Unix has a program that takes English input and outputs the mispelt words. It is called 'spell'. Like all programs it can be used while you are using 'vi' by using what is called a 'shell escape' command. To check a line of text in 'vi': !!spell will replace the line by the mispel words, note them and tap u to put the original line back again, then correct the errors... To check a paragraph !}spell checks from the cursor to the end of the paragraph. To check the WHOLE file 1G!Gspell replaces the whole file by the unknown words.... tap u to undo the command and make changes... From dick Wed May 19 11:18:46 1993 To: mbaines Subject: Re: I logged on from off campus and wound up in someones directory without You asked > logging in or giving a password. This is potentially dangerous and I was > wondering if there is something wrong wiht the system. The problem is not in the system but in ourselves. The previous user failed to logout correctly - the disconnected/broke down/gave up and went away leaving their shell running - ready for you to use. If it happens again, send them mail. On the third time you might think of hiding their files somewhere! If, you get thrown off or disconnected from the system over a modem.... Log in again and type in my 'kill zombey' script: /u/share/bin/kz