From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from janus.ocegr.fr ([194.3.183.34]) by hawkwind.utcs.toronto.edu with SMTP id <24747>; Fri, 28 Apr 2000 16:32:54 -0400 Received: (qmail 723 invoked from network); 28 Apr 2000 07:22:32 -0000 Received: from hydra.ocegr.fr (HELO ocegr.fr) (134.188.135.3) by janus.ocegr.fr with SMTP; 28 Apr 2000 07:22:32 -0000 Received: from alcina.ocegr.fr (alcina.ocegr.fr [134.188.136.183]) by ocegr.fr (8.8.8+Sun/8.8.8) with ESMTP id JAA13012; Fri, 28 Apr 2000 09:29:36 +0200 (MET DST) Message-Id: <4.3.1.2.20000428085436.00b3c4e0@mailhost.ocegr.fr> X-Sender: vons@mailhost.ocegr.fr X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Fri, 28 Apr 2000 03:28:36 -0400 To: "rc" , "Sam Roberts" From: Gert-Jan Vons Subject: Re: vrl (was: Re: building rc on QNX4) In-Reply-To: <002701bfb089$027826a0$1403a8c0@cogent.ca> References: <20000427165605.22504.qmail@g.bio.cse.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sam Roberts wrote: >Speaking of which, is this an appropriate place to talk about >vrl? I posted some diffs to the author, no response yet (only >been a day or so -- I'm just mentioning, not griping). That would be me, since I'm the author :-) I assume you sent it to my (old) usa.net address, I'll check my inbox there. >I had some trubles with it's termcap usage. It seems to >think that @7 is the keypad END key/capability. This wasn't >defined on my system, and while I found it defined in a bunch >of Linux termcap entries (mostly in what looked like old PC >consoles), it wasn't in the ansi entries. > >Poking around it seemed the right thing was to use kh for HOME >and kH for END (vrl was using kh for HOME and @7 for END). kH is the "last-line" key according to FreeBSD's termcap(5). What is the OS you are using, what is the tty type, and on what hardware? (please mail me the termcap entry for your tty) "last-line" for going to the end of a line seems a bit strange, but if that is what your tty sends when you hit the End key... I could fall back to kH if there is no @7 defined. >-- >Also, I can't call 'login' from an rc shell, strangely, it >complains about not being session leader. I'm quite baffled. What kind of OS are you using? I can use "login" under solaris and freebsd without any problems. >Also, I just noticed ^L doesn't clear the screen. I'll look >into that sometime. Nope. When you use vrl, ^L redisplays the line, useful in case it got garbled by the output of some background process. Note also that vrl is about lines, it doesn't (want/need to) know about the screen. The unix 'clear' command handles that very well. Gert-Jan ----- "If you are good, you will be assigned all the work. If you are really good, you will get out of it." - Dilbert