From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6d8a1cb617ab07f8,start X-Google-Attributes: gid1164f8,public X-Google-Thread: f678f,6d8a1cb617ab07f8,start X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,6d8a1cb617ab07f8,start X-Google-Attributes: gidfee84,public From: kpwong@psy.cuhk.hk (Kit-pui Wong) Subject: Re: Can't use vi under "console" mode. Date: 1995/10/31 Message-ID: <47477j$2ec@hpg30a.csc.cuhk.hk>#1/1 X-Deja-AN: 118386081 references: <46np7h$m1u@hpg30a.csc.cuhk.hk> <46oeug$pje@aurora.cs.athabascau.ca> followup-to: comp.unix.osf.misc,comp.unix.osf.osf1,comp.sys.dec organization: The Chinese University of Hong Kong newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1,comp.sys.dec R. K. van Houten (rudi@cc.ruu.nl) wrote: > In <46oeug$pje@aurora.cs.athabascau.ca> rwa@cs.athabascau.ca (Ross Alexander) writes: > >You *must* learn to use ex or ed. You can't use an editor that > >depends on an addressable display in the absence of an addressable > >display. The contents of the environment are irrelevant to this > >fundamental issue. > Not entirely true. You can use the console in vt100 mode > (not quite, but nearly) and you must make sure that the > parititions with the vi binary en the tmp-directory are > available. Then you can declare (Bourne shell): > TERM=vt100 > export TERM > and you can use vi, with some quirks. > Better indeed to know ed, but even then it can be handy to use this > escape to vi. Are you sure ? Does anybody here has the same experience ? I had checked the env (before I posted the first "ask-for-help" here) and the "TERM" was already VT-100. Thanks for information. KiT