lkml.org 
[lkml]   [1998]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: ESC [12m
From
Date
Riley Williams <rhw@bigfoot.com> writes:

> I've been playing with the ANSI code sequences recently, and
> discovered that the above sequence causes the displayed character
> set to go wierd every time, with only logging out and back in
> curing it.
>
> Can somebody please tell me what the above sequence is supposed to
> do, and what I ought to be doing to clear it - I'm not fond of
> logging out unnecessarily...

10 reset selected mapping, display control flag,
and toggle meta flag.
11 select null mapping, set display control flag,
reset toggle meta flag.
12 select null mapping, set display control flag,
set toggle meta flag. (The toggle meta flag
causes the high bit of a byte to be toggled

Linux October 31, 1996 4

CONSOLE_CODES(4) Linux Programmer's Manual CONSOLE_CODES(4)

before the mapping table translation is done.)

so CSI 10m should undo it. You should also be able to clear it with
"reset", which should reset everything, or "tput sgr0" if that fails.

--
Aaron M. Ucko <amu@mit.edu> (finger amu@monk.mit.edu) [Stark raving sane]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.075 / U:0.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site