Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15312 - gnome-terminal does not work in 8 bits clean mode
Summary: gnome-terminal does not work in 8 bits clean mode
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-08 05:55 UTC by Sébastien Koechlin
Modified: 2003-05-13 19:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Koechlin 2003-02-08 05:55:04 UTC
I'm unable to use extended (french) characters (in the range 128-255, used in
most non-english countries) in gnome-terminal, it's working with gnome-terminal
under RedHat, and with xterm under gentoo.

When I try to type a '
Comment 1 Sébastien Koechlin 2003-02-08 05:55:04 UTC
I'm unable to use extended (french) characters (in the range 128-255, used in
most non-english countries) in gnome-terminal, it's working with gnome-terminal
under RedHat, and with xterm under gentoo.

When I try to type a 'é', it is not send to the running program or shell
When I 'cat' a file with thoses characters, they are not displayed.

I can't find any option in preferences about that


Reproducible: Always
Steps to Reproduce:




stty -a:
speed 38400 baud; rows 42; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;
flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc ixany imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke

emerge info:
Portage 2.0.46-r12 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r7)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm avi crypt cups encode jpeg libg++ libwww mikmod mmx mpeg
ncurses pdflib qtmt quicktime spell truetype xml2 xmms xv arts berkdb gdbm gif
gnome-libs gpm gtk guile imlib java kde ldap motif nls oggvorbis opengl pam png
python qt readline sdl slang ssl tcpd X -3dnow aalib acpi alsa bonobo dga dvd
esd evo gb gd ggz gnome gphoto2 gps gtk2 gtkhtml innodb ipv6 jikes junit lcms
libgda mbox mozilla mysql nas nocardbus oav pda perl pic plotutils postgres
samba scanner slp snmp sse -svga tcltk tiff wmf xface xml zlib"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 2 foser (RETIRED) gentoo-dev 2003-02-08 08:09:29 UTC
what gnome-terminal are we talking about exactly ?
Comment 3 Sébastien Koechlin 2003-02-12 17:03:53 UTC
$ /usr/bin/gnome-terminal --version
Gnome gnome-terminal 2.2.1

In gnome-terminal:
$ echo -e \\351 \\352
? ?

In xterm:
$ echo -e \\351 \\352
Comment 4 Sébastien Koechlin 2003-02-12 17:03:53 UTC
$ /usr/bin/gnome-terminal --version
Gnome gnome-terminal 2.2.1

In gnome-terminal:
$ echo -e \\351 \\352
? ?

In xterm:
$ echo -e \\351 \\352
é ê
Comment 5 Spider (RETIRED) gentoo-dev 2003-02-12 19:33:34 UTC
This works for me, what are your font settings? 
and the output of "locale" would be nice

same version, font: Luxi Mono 8, and works perfectly (once I've started bash which has a echo -e command ;)

Comment 6 Sébastien Koechlin 2003-03-24 16:40:04 UTC
bash-2.05b$ locale
LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Where can I change this for users, in /etc/profile ?
(font is the default for Gnome: Sans Regular 11)

Another bug??: When switching Terminal/Character Coding/Unicode (UTF-8)
I can put extended characters as expected, but to delete on, I have to use backspace two times, (thoses characters are coded on 2 bytes), cursor is then going back two times, and visually, two characters are delete, in buffer, only one (extended) is.

Comment 7 foser (RETIRED) gentoo-dev 2003-03-31 06:33:34 UTC
spider or ska-fan localization guys, please have another look here and close if appropriate.
Comment 8 Markus Bertheau (RETIRED) gentoo-dev 2003-04-03 15:50:19 UTC
S
Comment 9 Markus Bertheau (RETIRED) gentoo-dev 2003-04-03 15:50:19 UTC
Sébastien: Please try to run LANG=fr_FR gnome-terminal and see if your accents work there.
Comment 10 Sébastien Koechlin 2003-04-04 15:53:20 UTC
In gnome-terminal: LANG=fr_FR
=> Does not work

In gnome-terminal: LC_ALL=fr_FR
=> Does not work

In a shell: export LANG=fr_FR; gnome-terminal
=> Does not work in new gnome-terminal window

In a shell: export LC_ALL=fr_FR; gnome-terminal
=> Does not work in new gnome-terminal window
Comment 11 foser (RETIRED) gentoo-dev 2003-05-08 10:10:13 UTC
ok, you shouldnt start trying that from a gnome-terminal. You should run an xterm, make sure there are no gnome-terminals running and then try to run gnome-terminal with said settings. Only then it will use those settings. With the settings mentioned above i could echo the above mentioned chars just fine.
Comment 12 foser (RETIRED) gentoo-dev 2003-05-13 19:35:13 UTC
probably works right, usd wrong settings