Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2002 17:16:26 -0400
From:      Jon Nathan <jon+dated+1032556588.430003@rupture.net>
To:        freebsd-questions@freebsd.org
Cc:        gnu-screen@yahoogroups.com
Subject:   screen backspace moves cursor but does not delete characters
Message-ID:  <20020913211626.GA8303@froody.rupture.net>

next in thread | raw e-mail | index | archive | help
Hi,

I'm having a strange problem with screen.  In certain places, when I
use the backspace key, it moves the cursor to the left but does not
delete the character that it was on.  This happens in line-entry
places.  Like the To: line in mutt, or the text-input buffer in tf
(tiny fugue), or the text-input buffer in naim (terminal aol im
client).  To explain more fully, consider the following:

In mutt, I hit 'm' to compose a new mail.  It prompts me:

To: robx

The x was wrong, I hit backspace, the cursor sits on the x, then I
finish it out with 'ert' to make robert.

To: robertx  

But the 'x' is just pushed along as I type.  vi works fine - as I
backspace to correct errors as I type this, it works as expected.
pico works too, for what it's worth.  It seems that some programs are
using a library to do readline operations (gettext?).  

This is only a problem under screen.  When I run these programs from a
normal terminal, they backspace as expected.  Here is some more info;
please let me know if you have any ideas about this.

Everything is installed via ports.  I've reinstalled screen.  Gettext
seems to go through new revisions very often, and though I don't know
its exact functionality, it seems like it might be the culprit.

From pkg_info:

gettext-0.11.5      GNU gettext package
libiconv-1.8_1      A character set conversion library
mutt-1.4            The Mongrel of Mail User Agents (part Elm, Pine, Mush, mh,
naim-0.11.3         Curses based AOL Instant Messager implementation
screen-3.9.13       A multi-screen window manager
tf-4.0s1            A popular programmable MUD client, with macro support and m

jon@froody:~> uname -a
FreeBSD froody.rupture.net 4.6-STABLE FreeBSD 4.6-STABLE #5: Thu Aug
1 12:28:45 EDT 2002     jon@n3.chaffee.com:/usr/obj/usr/src/sys/FROODY
i386
jon@froody:~>

Thanks,
-Jon

-- 
Jon Nathan
jon@rupture.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020913211626.GA8303>