From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,70950f2aa18189fd,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,70950f2aa18189fd,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-05-09 09:32:56 PST Xref: sparky comp.os.vms:9231 comp.sys.dec:2834 Newsgroups: comp.os.vms,comp.sys.dec Path: sparky!uunet!usc!sol.ctr.columbia.edu!ira.uka.de!sun1.ruf.uni-freiburg.de!news.belwue.de!news.uni-ulm.de!news From: ORAKEL@RZMAIN.RZ.UNI-ULM.DE (Framstag) Subject: EDT keypad emulation in vi? Message-ID: <1992May9.163256.11131@wega.rz.uni-ulm.de> Sender: news@wega.rz.uni-ulm.de (News Net) Organization: University of Ulm, Germany Date: Sat, 9 May 1992 16:32:56 GMT X-News-Reader: VMS NEWS 1.22 Hi there, I'm an infrequent UNIX user and I always (automaticly) try to use the EDT keypad in vi. Which doesn't lead to correct results :-) I customized an .exrc file with some map commands. Does someone have a more sophisticated .exrc for a poor and stupid VMS user like me? :-) I'm aware of EMACS EDT emulation, but on several machines I only have vi and no space to install EMACS. Please no flames on "why EDT? vi is the best editor of the world!" etc etc.. Here my .exrc so far: map ^[[2~ "aP map ^[[3~ "ad`a map ^[Ov "ad`a map ^[[4~ ma map ^[[5~ kkkkkkkkkkk map ^[[6~ jjjjjjjjjjj map ^[OP P map ^[OS "ld$ map ^[OS d$ map ^[Om "wdw map ^[Om dw map ^[Ol "cdl map ^[Ol x map ^[Op ^M map ^[Oq w map ^[Or $ map ^[On ma map ^? X map ^[[A k map ^[[B j map ^[[C l map ^[[D h map ^[[23~ ^[ map! ^[[23~ ^[ PS: I use a VT220 ------------------------------------------------------------------------------ Ulli Horlacher # Student consultant VAX/VMS and networks # University of Ulm orakel@dulruu51.bitnet # orakel@rz.uni-ulm.de # 50184::orakel "With mainframes you just can do nonsense, with PCs not even that." ------------------------------------------------------------------------------