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

Bug#439540: xterm locks up when I run who -a



On Sat, Aug 25, 2007 at 10:15:05AM -0400, Justin Piszcz wrote:
>
>
> On Sat, 25 Aug 2007, Justin Piszcz wrote:
>
>> Package: xterm
>> Version: 229-1
>>
>> Running: Debian Testing
>> Kernel: 2.6.22
>>
>> Running who -a freezes the terminal window, see below:
...
> With rxvt, I cannot copy and paste the characters but they show up as two 
> upright boxes [][] with dots drawn in the lines.
...
Going back to the first screen, I see part of the problem, from the example for
rxvt.  The 0x9d is the beginning of one of the control sequences that xterm
recognizes (translating the codes to ASCII):

     id=:\xC3\x94\xC2\x80\xC2\x9D

(looking at ctlseqs.txt):

ESC ]
     Operating System Command (OSC  is 0x9d)
     ...

Operating System Controls
OSC Ps ; Pt ST
OSC Ps ; Pt BEL  
     ...

That's one of the vt220 sequences - but is also for instance used to set the
title.  rxvt handles some of those, and is probably giving up on the newline
(which is technically incorrect:  the ANSI/ISO standards say that you can
sprinkle control characters on a control sequence and they'll be processed
without interrupting the control sequence).  But that would explain the
difference.

The question is really, where does the sequence come from.  It looks as if it
is supposed to be UTF-8.  If xterm is running in UTF-8 mode, it will display
that as something printable (a big "O" with a "^" hat, followed by "~@~").

You can unfreeze xterm by pressing control/G and a newline.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


Reply to: