LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-09-2012, 02:35 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 374

Rep: Reputation: 36
Linedraw font display when ssh into remote


I use ssh to connect to a remote host. Once I get there I run the midnight commander. When it runs, each of the linedraw charactors appear as little squares with what appears to be the hex code of the characters. When I ssh into other hosts I don't have this problem, so I'm guessing it's this particular host. But what controls this? When I ssh into a host, what controls the font that I see?
 
Old 10-09-2012, 02:53 PM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 147Reputation: 147
The "TERM" environment variable and your terminal emulator has control over what you see.
If you cannot figure out the correct combination, then use "mc -a".
 
Old 10-09-2012, 03:54 PM   #3
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 374

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by guanx View Post
The "TERM" environment variable and your terminal emulator has control over what you see.
If you cannot figure out the correct combination, then use "mc -a".
$TERM is set to xterm on the host, but on my local machine it is set that way also, as it is on other hosts, and on other hosts with TERM set to xterm, it works fine. If I use terminal or xterm it does the same thing. I use putty to connect it doesn't display the lines correctly unless I change the remote character set to UTF-8. I seem to be missing something here...

Edit: In rxvt it does the same thing. And it is only this one remote - all the other boxes I ssh into will display mc lines just fine.

Last edited by Ook; 10-09-2012 at 03:57 PM.
 
Old 10-23-2012, 04:22 PM   #4
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 374

Original Poster
Rep: Reputation: 36
Continuing this topic - on the box that does not work, $LANG is set to en_US.UTF-8. If I change it to en_US, then linedraw works as expected.

Last edited by Ook; 10-23-2012 at 04:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Default font does not display in applications, e.g. vlc. Shell, e.g. bash shows font jkharris Suse/Novell 0 09-10-2012 11:18 AM
unable to setup Remote DISPLAY using ssh mmateen Linux - Newbie 2 08-09-2009 01:02 PM
Redhat9 ssh Remote X Display Can't Open under windows xp dreamcarrior Linux - Networking 1 10-05-2008 01:21 AM
Remote login with SSH, but display on remote computer. brodin Linux - Software 3 09-09-2007 04:01 AM
matlab on remote linux server... using ssh .. x display shyamsg Linux - Networking 1 05-01-2004 05:01 PM


All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration