Article View: comp.mail.mush
Article #920Re: curses bind question
From: Israel Pinkas ~
Date: Thu, 25 May 1989 08:22
Date: Thu, 25 May 1989 08:22
30 lines
1919 bytes
1919 bytes
In article <21011@iuvax.cs.indiana.edu> edrbtsn@iuvax.cs.indiana.edu (Ed Robertson) writes:
> In my .mushrc file I put the line
> bind \CV next msg
> in order to get proper motion corresponding to cursor keys.
> (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 doubt very much if it's the terminal or system, since it works
> as expected in vi or (rebound) emacs. Also, the other keys work
> as expected (control-J moves the cursor down).
I suspect that your terminal driver is doing this. At the shell, type ^V.
Do you get a ^V, or does the system print a ^ and then move the cursor back
on top of it? If the latter, your terminal driver (in cooked and cbreak
modes) is using ^V as "quote the next character". This allows you to put
control characters in the command line.
Alternatively, try 'stty all'. (I don't know if that is the correct
feature on SysV.) My system (Ultrix 3.1) lists ^V as the lnext feature.
-Israel Pinkas
--
--------------------------------------
Disclaimer: The above are my personal opinions, and in no way represent
the opinions of Intel Corporation. In no way should the above be taken
to be a statement of Intel.
UUCP: {amdcad,decwrl,hplabs,oliveb,pur-ee,qantel}!intelca!mipos3!cadev4!pinkas
ARPA: pinkas%cadev4.intel.com@relay.cs.net
CSNET: pinkas@cadev4.intel.com
Technical Details
Message-ID:
<PINKAS.89May25012239@hobbit.intel.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!apple!oliveb!mipos3!pinkasReferences:
<21011@iuvax.cs.indiana.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!apple!oliveb!mipos3!pinkas From: pinkas@hobbit.intel.com (Israel Pinkas ~) Newsgroups: comp.mail.mush Subject: Re: curses bind question Message-ID: <PINKAS.89May25012239@hobbit.intel.com> Date: 25 May 89 08:22:40 GMT References: <21011@iuvax.cs.indiana.edu> Sender: news@mipos3.intel.com Organization: Corporate CAD, INTeL Corporation, Santa Clara, CA Lines: 30 In-reply-to: edrbtsn@iuvax.cs.indiana.edu's message of 22 May 89 15:06:42 GMT