*BSD News Article 90550


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!news.sgi.com!news1.best.com!nntp1.ba.best.com!nntp2.ba.best.com!not-for-mail
From: Marco S Hyman <marc@dumbcat.codewright.com>
Newsgroups: comp.os.linux.misc,comp.unix.bsd.misc,comp.os.ms-windows.nt.advocacy,comp.os.os2.advocacy
Subject: Re: Betting on Unix
Date: 05 Mar 1997 22:06:14 -0800
Organization: codewright
Lines: 22
Message-ID: <x7rahtwo4p.fsf@dumbcat.codewright.com>
References: <5d3sr2$44n@nntp1.best.com> <5ddcvf$4dh@sun20.ccd.bnl.gov>
	<330a1d23.2419719@172.15.0.208> <5ef5c8$rgs@arktur.rz.uni-ulm.de>
	<330B2333.38B6@to.me.please>
	<5ehglc$lef@innocence.interface-business.de>
	<330EF0FF.55CE@to.me.please>
	<5esial$eit@innocence.interface-business.de>
	<331480A2.57ED@to.me.please> <x7bu97544o.fsf@dumbcat.codewright.com>
	<5fh1n9$q6a@innocence.interface-business.de>
NNTP-Posting-Host: dumbcat.codewright.com
X-Newsreader: Gnus v5.3/Emacs 19.34
Xref: euryale.cc.adfa.oz.au comp.os.linux.misc:163195 comp.unix.bsd.misc:2743 comp.os.ms-windows.nt.advocacy:56004 comp.os.os2.advocacy:272474

j@ida.interface-business.de (J Wunsch) writes:

> > 	" map vt100 arrow keys in insert mode
> > 	map! ^[OA ^[ka
> > 	map! ^[OB ^[ja
> > 	map! ^[OD ^[ha
> > 	map! ^[OC ^[la

> But that's a crock, and totally contradictionary to the remaining
> philosophy behind Unix ``Everything is expressed by your $TERM
> variable.''  You simply can't compare this crock with a correct
> implementation of the problem.

In 1987, without source code, using an old vi, the above worked
just fine.  $TERM was correct -- it just wasn't used by the
vendor supplied vi *in insert mode*.

I suppose the UNIX thing to do would have been to reverse engineer
and re-implent a vi that understood cursor movement keys.  Unfortunately
that was not what I was paid to do.

// marc