[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Hacked to work, but would like input
From: |
lnelson |
Subject: |
Re: [Nano-devel] Hacked to work, but would like input |
Date: |
Fri, 13 Jun 2003 21:15:35 -0400 |
OK, here's how to make the new Nano 1.2.1 work on FreeBSD
with TERM=xterm-color when SSH'ing in from GLTerm on
Mac OS-X.
This is really nasty, so I hope someone will come
forward with a more elegant solution.
nano.c
Insert after line 3459:
if (kbinput == KEY_DC) { kbinput = KEY_BACKSPACE; }
winio.c
Insert after line 243:
if (kbinput == KEY_DC) { kbinput = KEY_BACKSPACE; }
OK, thanks in advance for your insight.
-Lee
On Fri, 13 Jun 2003 19:34:53 -0400, Lee Nelson wrote
> Hi!
>
> When I upgraded to Nano 1.2.1, from 1.0.9, I noticed
> that my Backspace key had turned into a delete key!
>
> Looking at the source, I thought found the problem
> (WinIO.c) KEY_DC was changed to call do_delete rather
> than just do the same thing the ctrl-H key does.
>
> However, that only fixed it for typing in the
> "search" prompt, not in the actual editor.
>
> Since I'm stumped now, I was hoping someone
> could enlighten me about:
>
> 1. where I should look for this.
>
> 2. What was the rationale for the change (just curious).
>
> For reference, my config is:
>
> Max OS X on the desktop
> GLTerm terminal window
> ssh to FreeBSD 4.8
> Bash 2.05a
> TERM=xterm-color
>
> Note I tried switching to TERM=vt100, as suggested
> in the FAQ, but that broke some other things.
>
> Best Regards,
>
> Lee Nelson
>
> --
> Naxos Technology
>
> _______________________________________________
> Nano-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/nano-devel
--
Naxos Technology