Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!uwvax!mcvoy From: mcvoy@rsch.WISC.EDU (Lawrence W. McVoy) Newsgroups: comp.unix.wizards Subject: stuff chars Message-ID: <3007@rsch.WISC.EDU> Date: Sat, 29-Nov-86 20:37:04 EST Article-I.D.: rsch.3007 Posted: Sat Nov 29 20:37:04 1986 Date-Received: Sat, 29-Nov-86 21:46:52 EST Distribution: comp Organization: U of Wisconsin CS Dept Lines: 19 Keywords: vi flip I know this sort of question has been asked before, but try it again... I understand that you can stuff chars back into the input stream of a particular terminal, right? At least on some BSD systems? Well, how about a hack to vi that lets you do this from the editor? Suppose you made a macro like this (assuming that ":stuff" stuffs chars): map ^X :stuff :suspend^M%-^M The idea being to stuff the sequence of chars that would suspend the vi job and restart the last previous suspended job. Useful for flipping between vi's (no flames from /dev/windows or /users/emacs, please) Can this be done? -- Larry McVoy mcvoy@rsch.wisc.edu, {seismo, topaz, harvard, ihnp4, etc}!uwvax!mcvoy "They're coming soon! Quad-stated guru-gates!"