#23574 joe sometimes mucks up the terminal when scrolling [rare, has workarounds]

Package:
joe
Source:
joe
Description:
user friendly full screen text editor
Submitter:
Dan Jacobowitz
Date:
2005-07-18 03:52:27 UTC
Severity:
normal
#23574#5
Date:
1998-06-16 04:06:35 UTC
From:
To:
Various screen-related keystrokes, particularly scrolling related ones, do odd
things to the curso position and screen content.  The most reproducible (using
a macintosh with bettertelnet and vt100 emulation, or using a local xterm at
console) is this:

jpico <a more than one page file>
scroll down
hit ctrl-y to scroll up

In the xterm, this only caused problems with help showing.  In telnet, it happened
regardless.  The top half of the screen would not be cleared, but the new text
would be written over it, leaving an ugly and confusing mess.  The bottom half
of the screen remained unchanged (no scroll).  Ctrl-L revealed that the scroll
had indeed happened normally, just not updated.  I have a report that CRT also
triggers a similar problem.

#23574#10
Date:
2000-01-22 03:11:22 UTC
From:
To:
(Here's hoping to resolve these two bug reports:)


This is very similar to many problems I've had with joe under
non-console situations (e.g. xterm or telnet).  The following snippet
from /usr/doc/joe/README could be useful:

| Unix consoles usually do not have scrolling regions, but instead have
| insert and delete line commands.  The 'fansi' entry and ones derived
| from it will work correctly.  These termcap entries are provided in
| the termcap file which came with joe.

[...]

| If you use sh, ksh or bash, place this in your .profile file:
|
|         JOETERM=fansi; export JOETERM


I've set JOETERM to fansi, and it solved all my problems under xterm
(e.g. arrow keys not working) and DOS/Windows telnet (e.g. screen being
garbled).  If it works as well for all of you, I'd like to propose for
that setting to become permanent (either at compile-time, in
/etc/profile, or in a wrapper), or at least be suggested at install
time.