[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Annoying behavior in X (broken curses?)



On Tue, 24 Feb 1998, Brian Mays wrote:

> I think that these are bugs in mutt and joe.  Let's examine joe.
> This is an annotated list of what joe sends to the rxvt/xterm window
> when it starts:
> 
> Processing '/etc/joe/joerc'...done  - it writes this to the screen
> ESC [ m		- set the character attributes to normal
> Ctrl-O		- switch to the standard character set
> ESC [ 1;24 r	- set the scrolling region to the first 24 lines
> ESC [ H		- set the cursor position to 1,1 (home the cursor)
> ESC [ 2 J	- clear the display
> ESC 7		- save the cursor
> ESC [ ? 47 h	- switch to the alternative buffer
> ESC [ 7 m	- inverse on
>    joe then prints the status line
> 
> I think that the problem is evident.  Joe is using the smcup (start CUP)
> capability, which switches to the alternative screen buffer, after it
> has used the clear screen capability, which clears the screen and homes
> the cursor.  The order of these two actions should be reversed.

Yes, I think this is a bug. Joe doesn't need to clear the "normal"
buffer, it only needs to clear the alternative buffer. Please file a bug
report if this hasn't already been reported as a bug.

Remco


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: