bug-ncurses
[Top][All Lists]
Advanced

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

Re: Additional fields for terminal types


From: Thomas Dickey
Subject: Re: Additional fields for terminal types
Date: Wed, 7 Jul 2004 05:35:45 -0400 (EDT)

On Tue, 6 Jul 2004, Trevor van Bremen wrote:

> Hiyaz,
>
> Due to 'problems' experienced with the latest version of 'top(1)' on 
> Slackware 10.0 when run on remote terminals, I've found that
> the terminfo files are incomplete.
> Namely the linux and ansi series of terminfo files are missing the settings 
> for RMAM (Reset Mode - Automatic Margins) and SMAM (Set
> Mode - Automatic Margins).
> These are part of the 'standard' ANSI set and thus they 'should' be defined 
> in the terminfo file...

Do you have a reference for that?
Private mode sequences such as this aren't in ISO-6429.
ANSI X3.64 was withdrawn several years ago.

I can see that linux (tested on a 2.4 kernel) implements this;
but don't recall if the feature was overlooked or not present
in older kernels (can test on a 2.0 kernel later).

> Additionally, I have checked drivers/char/console.c in the linux kernel 
> source tree and proven that the linux console ALSO supports
> these escape sequences.  (The only reason top(1) appears to work ok on the 
> linux console is that the linux console _ALSO_ has the
> xenl [Eat_Newline_Glitch] that suppresses the following newline if it occurs 
> immediately AFTER and automatic margin [AM])
> The maintainer of top(1) in the procps package (Albert Cahalan) has performed 
> the needed changes to support those few terminals that
> have an ANSI-like set of escape sequences but do _NOT_ have the rmam / smam 
> capabilities.
> Nevertheless, I firmly believe that the ansi* and linux* terminfo files 
> _should_ have the correct sequences for rmam and smam
> included.
> The values for these two capabilities should be:
>
> rmam = \E[?7l
> smam = \E[?7h
>
> Thanx
>
> Trev
>
>
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-ncurses
>

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]