After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 73964 - displaying mess when running "ls -l"
displaying mess when running "ls -l"
Status: RESOLVED NOTABUG
Product: libzvt
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: jacob berkman
Luis Villa
Depends on:
Blocks: 78007
 
 
Reported: 2002-03-08 11:42 UTC by He Qiangqiang
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
screenshot describing the gnome-terminal 'ls -l' bug (46.85 KB, image/jpeg)
2002-04-02 05:46 UTC, He Qiangqiang
Details

Description He Qiangqiang 2002-03-08 11:42:04 UTC
built using vicious-build-scripts on 3/8/2002
Comment 1 Havoc Pennington 2002-03-09 15:32:39 UTC
libzvt issue.

Can you be more specific - is it just blank areas that do not redraw?
Comment 2 He Qiangqiang 2002-03-11 04:58:17 UTC
while simple 'ls' is ok, 'ls -l' sometimes displays onto the current
screen and does not scroll down, sometimes it dispays like this:

[root@carton head]# ls
build.log  cvs  INSTALL  my.txt
[root@carton head]# ls -l
total 52

                                                cvs
                                                INSTALL


i typed out the 'ls -l' result. i can't select the 'ls -l' result from
gnome-terminal and post it to the mozilla text box, while i can with 'ls'.
Comment 3 arunapr 2002-03-27 14:00:17 UTC
Could you explain what do you mean by "select the 'ls -l' result from
gnome-terminal and post it to the mozilla text box".
for me 'ls -l' is working fine on gnome-terminal.
(tested on latest cvs source)
Comment 4 Luis Villa 2002-03-31 19:37:37 UTC
It would also be useful if you mentioned what locale you are using and
things like that.
Comment 5 He Qiangqiang 2002-04-01 11:44:56 UTC
My locale is "zh_CN.GB2312", I'll check whether it's ok if I change 
my locale to "en_US".
Comment 6 Luis Villa 2002-04-01 23:35:16 UTC
What about a screenshot?
Comment 7 He Qiangqiang 2002-04-02 05:46:16 UTC
Created attachment 7510 [details]
screenshot describing the gnome-terminal 'ls -l' bug
Comment 8 He Qiangqiang 2002-04-02 05:51:35 UTC
I've updated libzvt and profterm, and got these results:

this bug only occur only when I've set my locale to "zh_CN",
"zh_CN.GB2312", "zh_TW", these seem to be my supported locale on my
red hat 7.1 linux box.

1. I run this on a trusted terminal with locale "en_US":

[root@carton cvs]# gnome-terminal

and got a gnome-terminal that do not has this bug. (but strangely, the
 local on this terminal is automatically set to "zh_CN.GB2312")

2. I run this on a trusted terminal with locale "ja":

[root@carton cvs]# gnome-terminal

(process:15201): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

and got a gnome-terminal that do not has this bug.

3. I run this on a trusted terminal with locale "zh_CN.GB2312":

[root@carton cvs]# gnome-terminal

gnome-terminal (pid:15173): Gdk-WARNING **: Missing charsets in
FontSet creation

gnome-terminal (pid:15173): Gdk-WARNING **:     GB2312.1980-0

and in the opened gnome-terminal, this bugs occured.

the screenshot is attached.

4. I tried the zterm in the libzvt dir. and got this:

run zterm under a trusted terminal with locale "zh_CN.GB2312":

[root@carton libzvt]# ./zterm

this bug did not occur on the opened zterm.

5. and in gnome-terminal which has this bug. when I change the locale
to "en_US" or other locales, this bug disappears.
Comment 9 bill.haneman 2002-09-03 18:03:48 UTC
I am seeing very bad term emulation, including failure to clear screen
on 'ls -l', in C locale, on both Solaris and Linux using builds from
gnome CVS Sept. 3.  Not sure this is the same bug but terminal
emulation does seem very broken at least in my config.

Comment 10 Luis Villa 2002-09-03 19:36:42 UTC
Adding toshi to the cc then.
Comment 11 Hidetoshi Tajima 2002-09-03 20:24:44 UTC
Bill: your problem's perhaps different from this,
but should be related to the font you're selecting.

Carton:changing LC_ALL or LANG on running gnome-terminal does not
affect the fonts which
are already loaded, but only affect the commands
like 'ls -l' and the text output those commands
return. If you want to run a gnome-terminal for
a locale different from your login locale, you
need to run a new process of gnome-terminal:

% setenv LC_ALL zh_CN.GB18030
% gnome-terminal --disable-factory &

If you still don't get a desired result, you perhaps need to add x
font paths for the fonts
you need for zh_CN.GB18030 locale before
"gnome-terminal --diable-factory"
 
Comment 12 bill.haneman 2002-09-06 10:50:16 UTC
Toshi: no, I am running in the same locale that gnome-terminal is
started in.  I think my current problem may in fact be bug 90816, but
the build from Sept. 3 still shows the problem... I will try again
with Sept. 6 build.
Comment 13 bill.haneman 2002-09-06 12:04:39 UTC
my problem is related to the zvt accessibility support, it is visible
if /desktop/gnome/interface/accessibility = true.

I was going to blame Toshi but it's not his fault this time ;-)
Comment 14 Hidetoshi Tajima 2002-09-07 01:58:37 UTC
Can I close this "Not a bug" then?
Comment 15 Hidetoshi Tajima 2002-09-10 18:32:25 UTC
Closing.