Xref: utzoo comp.unix.questions:29316 comp.terminals:2672 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!uw-beaver!milton!ogicse!intelhf!ichips!inews!pima!bhoughto From: bhoughto@pima.intel.com (Blair P. Houghton) Newsgroups: comp.unix.questions,comp.terminals Subject: Re: Using a vt220 clone with unix vi? Message-ID: <2935@inews.intel.com> Date: 9 Mar 91 21:55:28 GMT References: <1991Mar7.012051.27038@csn.org> <1991Mar8.171343.825@vixvax.mgi.com> Sender: news@inews.intel.com Organization: Intel Corp, Chandler, AZ Lines: 19 In article <1991Mar8.171343.825@vixvax.mgi.com> cepek@vixvax.mgi.com writes: >Taking this one step further, why not choose as your "unique sequence" the >characters that the "VT220" puts out when you press the ESC key? It likely >puts out [ 2 3 ~ (five characters) instead of the character >you want. I know nothing about vi, but wouldn't that do the trick? Which brings up that on the VT220 the ESC key can send just the ^[, but only when you set it up in VT100 mode. I do map [23~ mz in my .exrc. This means that the ^[ gets taken as the escape, then vi marks my current position as point z. I never actually do 'z or `z, but it's a convenient NOP. --Blair "ZZ"