From owner-freebsd-questions Fri Sep 13 14:16:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90DA537B400 for ; Fri, 13 Sep 2002 14:16:28 -0700 (PDT) Received: from froody.rupture.net (froody.rupture.net [63.236.108.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE9B443E3B for ; Fri, 13 Sep 2002 14:16:27 -0700 (PDT) (envelope-from jon@rupture.net) Received: from froody.rupture.net (localhost [127.0.0.1]) by froody.rupture.net (8.12.5/8.12.5) with ESMTP id g8DLGSeW008570 for ; Fri, 13 Sep 2002 17:16:28 -0400 (EDT) (envelope-from jon@rupture.net) Date: Fri, 13 Sep 2002 17:16:26 -0400 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i From: Jon Nathan X-Delivery-Agent: TMDA/0.61 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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