LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   strange characters while loggin in through ssh (https://www.linuxquestions.org/questions/linux-networking-3/strange-characters-while-loggin-in-through-ssh-217003/)

legolin 08-13-2004 01:14 AM

strange characters while loggin in through ssh
 
Hi people!

i guess this is the rigt forum to post my question, if no, i'm sorry, and i'll apreciate if somebody tells me a better one.

anyway, im using FC2 on my laptop and debian testing on my server. if i log in thour ssh to my debian box and i run linuxconf, i get some strange output:

��������������
�����Config������[0;10;1;11m
Networking
Users s
File systems
Miscellaneous
Peripherals
Boot
cluster administration
�����Control�����[12@�[0;10;1;11m
Control panel 0
Linuxconf management
Date & time ��
�����Status������[0;10;1;11m m
Logs
System status
������[0;10mTasks������[0;10;1;11m
Friendly helpers (Gurus)
�[37m��������������
���[30m ���[30m
Quit Help
�[30m���[0;10m �[30m���[0;10m
�[30m��������������������������[10m


it is realy difucult to manage it, because the lines move acros the screen and you don't know if some characters are part of a line of if they are just unrefreshed or something like that.

:Pengy:

my /etc/sysconfig/i18n in my fedora box looks like this:

LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en:de_DE.UTF-8:de_DE:de"
SYSFONT="latarcyrheb-sun16"


but i cand find this file on my debian box. where is the problem? on my debian box or in fedora? how can i fix it? maybe this is only a problem from linuxconf itself...:confused:

thankx in advance

leg

here another output from linuxconf:

���������[0;10;1m Edit firewalling rules �������[5@��
You are allowed to edit/add/delete rules lt
Select [Add] to define a new rule
)
��������������������������� er lt
EnEnabled Proto Iface From <-> Iface To Weight Comment
�[37m�������������������������[5@���[10m
���� �� ���[30m
DiDismiss Add Add Help Help ring)
�[30m���� �[30m�� �[30m���[0;10m
�[30m���������������������������[5@���[10m t

david_ross 08-13-2004 02:23 PM

Try checking your terminal type:
echo $TERM

What is it set to on both machines?

amfoster 08-13-2004 02:57 PM

The same wierdness probably occurs when yopu view a man page on the remote server.

On the remote server I usually issue
export LANG=C

That always seems to work.

legolin 08-14-2004 02:39 AM

hi david_ross,

on both shells, the output from echo $TERM is "linux"... so they are the same.

what does it means?.

i tried to do
export LANG=C on the debian box (remote server) and it works, not as good as local, but now i can at least read in peace without changing lines when i scroll. i'll like to find out how can i get a perfect output of linuxconf.

amfoster: thanks for the idea! (my man pages are allways ok, but it was good for linuxconf.)


thanks,

leg


All times are GMT -5. The time now is 05:36 PM.