🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #914

Re: curses bind question

#914
From: John Owens
Date: Tue, 23 May 1989 18:07
21 lines
1371 bytes
In article <21011@iuvax.cs.indiana.edu>, edrbtsn@iuvax.cs.indiana.edu (Ed Robertson) writes:
> (My terminal sends control-V for down-arrow.)  However, I must
> strike the key TWICE in order for the mush cursor to move down.

I don't have a system with BSD tty drivers, but I'd guess that mush is
in cbreak (not raw) mode, and control-V is your lnext character,
which, when hit, causes the next character pressed not to be
interpreted as a special function by the device driver.  (In other
words, if your interrupt character were ^C, you could send a literal
^C as input to a program by typing ^V^C.)  You could always try

sh stty lnext u

(I think that syntax is right) in your .mushrc to undefine the lnext
character, then alias (map or cmd) your exit character to
[line-mode]sh stty lnext '^v'\n (or whatever) to set it back.

Good luck!
-- 
John Owens		john@jetson.UPMA.MD.US		uunet!jetson!john
+1 301 249 6000		john%jetson.uucp@uunet.uu.net
Technical Details
Message-ID: <235@jetson.UPMA.MD.US>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!jetson!john
References: <21011@iuvax.cs.indiana.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!jetson!john
From: john@jetson.UPMA.MD.US (John Owens)
Newsgroups: comp.mail.mush
Subject: Re: curses bind question
Summary: lnext
Message-ID: <235@jetson.UPMA.MD.US>
Date: 23 May 89 18:07:44 GMT
References: <21011@iuvax.cs.indiana.edu>
Organization: SMART HOUSE Limited Partnership
Lines: 21