LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 01:35 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
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, 01:53 PM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,183

Rep: Reputation: 237Reputation: 237Reputation: 237
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, 02:54 PM   #3
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
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 02:57 PM.
 
Old 10-23-2012, 03:22 PM   #4
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
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 03:24 PM.
 
  


Reply



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 / openSUSE 0 09-10-2012 10:18 AM
unable to setup Remote DISPLAY using ssh mmateen Linux - Newbie 2 08-09-2009 12:02 PM
Redhat9 ssh Remote X Display Can't Open under windows xp dreamcarrior Linux - Networking 1 10-05-2008 12:21 AM
Remote login with SSH, but display on remote computer. brodin Linux - Software 3 09-09-2007 03:01 AM
matlab on remote linux server... using ssh .. x display shyamsg Linux - Networking 1 05-01-2004 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:39 AM.

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
Open Source Consulting | Domain Registration