nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] -K/-m


From: David Lawrence Ramsey
Subject: Re: [Nano-devel] -K/-m
Date: Tue, 9 Apr 2002 06:29:04 -0700 (PDT)

--- Chris Allegretta <address@hidden> wrote:
>Hi folks,
>
>       Well I just got a first hand experience with FreeBSD & 1.1.8. I
>seem to recall a bug report about delete & backspace.  Well now I get
>it.  With FreeBSD, keypad() (which we now use by default) makes the
>backspace key send KEY_DC, which calls do_delete().  Fine, we remap it
>to do_backspace() right?  No, because in Linux the delete key send
>KEY_DC (which I think it how it should work).  Options:
>
>- FreeBSD users can use -K.  Pain to remember.
>- Get rid of -K and go back to not using keypad() by default.  A step 
>backwards?
>- Make a configure option to decide how to handle keypad()
>
>Thoughts?

I'd try #1, and, failing that, #3.

Note about #1:
Using -K may not be such a pain to remember if nano's
been compiled with nanorc support and "set keypad" is in
/etc/nanorc.  (I have that in mine since I often run nano in
an rxvt on my Linux box.)  Maybe there should be a list in
the FAQ of what terminal types need -K?

This next item may not be related to the keypad issue per se
(although it is related to FreeBSD), but I remember
something Rocco brought up months ago (just after
1.1.3/1.0.6 came out) about Bug #60:

WROM: UQZAAFXISHJ
DATE: 11/06/2001 19:36:42
SUBJECT:  [Nano-devel] null_at() damage
Now that the null_at() has been fixed, do you think that some of the
strange code introduced in Nano can be removed.  What I mean by that is
on line 155 of the file cut.c there are comments about OpenBSD having
problems and further below we see a call to null_at().  Can anyone
confirm this is no longer a problem?

Rocco

Was this ever looked into, and if not, could it be checked
whether or not the bug still occurs on FreeBSD with the
workaround code commented out (since the original bug was
occurring on a FreeBSD 4.2 box)?


_____________________________________________________________
Sluggy.Net: The Sluggy Freelance Community!

_____________________________________________________________
Run a small business? Then you need professional email like address@hidden from 
Everyone.net  http://www.everyone.net?tag



reply via email to

[Prev in Thread] Current Thread [Next in Thread]