decot@cwruecmp.UUCP (Dave Decot) (10/12/83)
You're right, your super-terminal does seem a lot like an HP 2645, except for ONLY quality 8. Quality 7 is already present in these terminals, in a somewhat different way. Suppose you typed: % grep coleslaw /user/divt/word but you meant to give the standard path name for the online dictionary. On your 2645, you do the following: Move the cursor (using the up, down, left, right, home keys) to the beginning of the incorrect command line. Delete the '%' with the DELETE CHAR key. Move the cursor to the 'e' in 'user' with the -> key. Delete the 'e'. Move over to the wrong 'v' in 'divt' and type 'c'. Move to the end of the line and type an 's' after 'word'. Press the down key, type your UNIX KILL character, press the up key, and press the ENTER key. If you don't like the business in the last sentence, you can push the BLOCK MODE key before doing anything, and release it before pressing ENTER. This method is also good if you have a lot of corrections to the stuff on the screen. This is not necessary at all if all you want to do is delete extra characters or simply reenter a line. To reenter an entire block of stuff, get rid of everything but the block on the screen while BLOCK MODE is depressed, and then press ENTER without leaving BLOCK MODE. This will enter everything on the screen. Note that your terminal must be set up so that the arrow keys and insert/delete character don't echo to the computer, so that BLOCK MODE is engaged in the down position, and so that a BLOCK MODE ENTER means page, not field. Why do you want quality 8 anyway? Termcap programs are the only ones who would care what your terminal does with tabs, and if you do a % stty -tabs UNIX generates spaces instead of ^I for you anyway. ---------------------------------------- Dave Decot ..!decvax!cwruecmp!decot
jlw@ariel.UUCP (10/13/83)
I'm glad I found another 2645 fan. I've been using this series of tubes for years on mainly BTL UNIX varieties and here's what I do. First of all my prompt or PS1 is PS1=':; ' To the Bourne shell this is a null command which causes it to just go around its command loop once. Second I use stty to set my kill character to ^X which is a non printing character. Finally I set the -lfkc option which keeps UNIX from echoing a LF-CR pair with the line kill. Echoing a line feed-carriage return with the kill is a fairly recent phenom. Then I use the editing keys do delete and insert. I can also just overwrite if I want. Then its just Control-X and enter. I personally find all these variant shells with their history mechanisms overrated. Joseph L. Wood, III AT&T Information Systems Laboratories, Holmdel (201) 834-3759 ariel!jlw
sdo@u1100a.UUCP (10/13/83)
Re: Using :; as the prompt and CNTL-X as Kill I just use @ as the kill and the prompt. When the line is entered the first character entered is @ which kills the editing that was just done on the line. Scott Orshan Bell Labs Piscataway 201-981-3064 {pyuxi,houxm,ihnp4}!u1100a!sdo