LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-02-2011, 10:09 PM   #1
BoraxMan
Member
 
Registered: Apr 2010
Posts: 103

Rep: Reputation: 11
Extended ASCII characters on Framebuffer Console


I've got a fairly simple question, that after some web searching, I can not find an answer for, or if it can be done.

I use syncterm or telnet to log into bulletin boards. These display ANSI graphics using the extended ASCII character set (I believe Code Page 437?).

I can get these in an XTERM using the vga font specially made, but I want to do this using the framebuffer console (the one you get pressing CTRL-ALT-F2).

I can change fonts using the setfont command and the fonts under /lib/kbd/consolefonts, but none of them display ANSI screens accurately. Some better than others, but none are right.

Is there a way to do it?
 
Old 12-04-2011, 08:39 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,139

Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307
It would help if you explained what you are rtrying to see a bit more clearly. Are these ascii graphic symbols in little 8x8 boxes as was done with the aid of ansi.sys under Dos?

I would approach the locale. CP 437 is US, bog standard. 850 is international, and many others exist. Maybe you can find yourself an /etc/environment file (google for one) which can configure these things more accurately. You could specify one set of settings, with another currency, and a third character set, for example.
 
Old 12-12-2011, 03:04 AM   #3
BoraxMan
Member
 
Registered: Apr 2010
Posts: 103

Original Poster
Rep: Reputation: 11
I've discovered I can get the desired effect by issuing the following commands

unicode_stop
setfont -m cp437 default8x16.psfu.gz

After these two, high ASCII/ANSI graphics display properly.

Now just have to figure out how to make this the default.
 
Old 12-12-2011, 11:10 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,139

Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307
That switches off Unicode for you and picks a particular font.

Create a ~/.bash_profile and put them in, or add to the one that already exists. Then log out & log in and try your luck.
 
  


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
using extended ascii characters sasser Linux - Newbie 2 04-06-2010 08:50 AM
extended ascii in kde bwysocki Programming 3 05-18-2005 12:19 PM
bash printing extended ASCII characters nutthick Programming 6 02-04-2005 02:15 PM
using extended ASCII at the console <keyboard> buhbuh Linux - Newbie 0 06-29-2004 06:09 PM
Extended ASCII characters in UNIX MatSzor Programming 5 05-15-2004 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:26 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