Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site ur-cvsvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!rochester!ur-cvsvax!bill From: bill@ur-cvsvax.UUCP (Bill Vaughn) Newsgroups: net.sources.bugs Subject: Small fix in vc Message-ID: <176@ur-cvsvax.UUCP> Date: Tue, 5-Mar-85 10:47:20 EST Article-I.D.: ur-cvsva.176 Posted: Tue Mar 5 10:47:20 1985 Date-Received: Thu, 7-Mar-85 04:19:02 EST Distribution: net Organization: Center for Visual Science, U. of Rochester Lines: 21 For those people who use 'vi', there's a small problem in 'vc' which can cause big headaches: If you happen, say out of habit, hit the left arrow key instead of 'h', you will have just deleted the column the cursor was on. This is because (on vt's) left arrow isOD. 'vc' ignores the and says 'O' is illegal but 'D' is ok and the column is gone. (Maybe the fix should a 'U' command for undo :-). Anyway, until I break that habit the following fix works: In sc.c insert the following code after the second switch statement in the 'while (running) {' loop: case '[': case 'O': c = nmgetch(); break; =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-= Bill Vaughn MAIL: UNIV. OF ROCHESTER, Center for Visual Science, Rochester, NY 14627 UUCP: {allegra,seismo,decvax}!rochester!ur-cvsvax!bill =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=