LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Strange characters in command line in X (https://www.linuxquestions.org/questions/linux-from-scratch-13/strange-characters-in-command-line-in-x-503855/)

Vitalie Ciubotaru 11-22-2006 04:36 AM

Strange characters in command line in X
 
Hi everybody,

Thanking to yourselves I am making my way in LFS. I recently solved the following issues:
1. install nVidia drivers for my old TNT2 Vanta (installer complained about not finding Linux headers).
2. see graphic files in Gnome (I blindly followed GTK+2 build instructions and compiled it "--without-libjpeg --without-libtiff").
3. see USB memory stick (I didn't enable "SCSI drive support" in the kernel)
4. have ALSA save and restore volumes after reboot (had to reconfigure kernel to have all sound-related things compiled as modules, and install "dialog")
Now there's one single thing not solved - X terminal displays some strange characters, e.g. when pressing "Backspace" or bringing up the previous typed command with "Arrow up". I posted it before, but none of the advice helped.
I would be greatful if anyone's got a clue

Vitalie CIUBOTARU

KenJackson 11-22-2006 10:08 PM

Try these commands:
Code:

echo $LANG
echo $LANGUAGE
set | grep LC_

Do you see UTF-8 anywhere? Try changing "en_US.UTF-8" to "en_US" or just "en". I'm not sure where they are set, but you can set (and export) them in ~/.bashrc or ~/.profile, etc.

Harmaa Kettu 11-22-2006 11:38 PM

Does "export TERM=xterm" help?

Vitalie Ciubotaru 11-25-2006 03:00 AM

Neither "echo $LANG", nor "echo $LANGUAGE" produce any output. "printenv" doesn't contain such environment variables.
"echo $TERM" yields "xterm-color", changing it to "xterm" does not seem to make a difference.
It looks like xterm interprets them correctly, but it just doesn't refresh the screen.

Vitalie CIUBOTARU

P.S.: Can it be a particular dependency of Xorg that I didn't build properly?

KenJackson 11-25-2006 11:00 AM

Have you tried the stty command? This command will show you all of it's current settings:
Code:

stty -a
Mine contains erase = ^? and -utf8. Try this command:
Code:

stty ek
and, of course, this one: man stty.

Also man loadkeys.

Vitalie Ciubotaru 11-30-2006 06:53 PM

The funny thing is that when I run "xterm" in Gnome environment [instead of default "gnome-terminal"] it works ok. This means it's a font problem, right? I tried them all, one by one, in "gnome-terminal" - none works.
1. Can it be a font problem, indeed?
2. What font do I need?
3. Where can I get it?


All times are GMT -5. The time now is 12:29 PM.