Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Dec 2005 15:27:56 +0000
From:      "Constantine A. Murenin" <mureninc@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   ee(1): why Backspace doesn't work as expected if $TERM=xterm?
Message-ID:  <f34ca13c0512060727y4d571d5ap@mail.gmail.com>

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

When I ssh my FreeBSD 4.8 machine and try to use ee(1), I always
notice that Backspace erases the following character, not the previous
one. On the contrary, I've noticed that it does not do that when I
login via console.

So I decided to play with the value of $TERM.

By default, when I ssh FreeBSD via PuTTY or Apple Terminal, I have the
TERM variable set to "xterm" or "xterm-color". When I tried to
manually change $TERM on FreeBSD and run ee, using "setenv TERM vt102
&& ee test.txt", then Backspace key in ee(1) did behave as expected.

Please, notice that Backspace does behave as expected in tcsh, it's
only ee(1) that shows this problem.

How do I fix it without changing $TERM?

Thanks,
Constantine.



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