LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-04-2006, 10:24 AM   #1
ronald-be
Member
 
Registered: Aug 2004
Location: Belgium
Distribution: debian 5.02
Posts: 73

Rep: Reputation: 15
Unhappy Alternate character set on console


Hello,

I got a console program which works, except... it doesn't switch to the alternate character set. The G0 and G1 stuff doesn't work and <ESC> ( and similars neither. Ncurses is able to do but I can't find out how in the source code. Using ncurses is bad : too many crashes. Could it be possible to blame the graphical card? Could it be the kernel (=2.6.13-15.12)? Could it be the hardware? Any idea how to make the switch?

Thanks all

Ronald
 
Old 11-06-2006, 03:30 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
Quote:
I got a console program which works, except...
What is the program?
Quote:
The G0 and G1 stuff doesn't work and <ESC> ( and similars neither.
What does G0 and G1 stuff mean?

Try to remove and reinstall ncurses. If that doesn't help try to upgrade.
 
Old 11-07-2006, 11:35 AM   #3
ronald-be
Member
 
Registered: Aug 2004
Location: Belgium
Distribution: debian 5.02
Posts: 73

Original Poster
Rep: Reputation: 15
Alternate char set.

hello,

Well, it was some self-written stuff to draw lines on a screen using the line-piece chars which are in the alternate charset. Switching of the charset is done with ^n and ^o or with <ESC> ( and similars. I tried to put them in printf() (not guaranteed to work) or in putchar(). What do you think about? Is there a better method? By the way, chars above 0x80h don't print either (even above 0xa0h). Did I forget something? What about the nVidia driver (mandatory/indifferent/forbidden)?

Thanks in advance,

Greetings,

Ronald
 
  


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
Korean Character Set bootneck Linux - Newbie 2 06-29-2006 05:41 AM
How do you change how many spaces contains a TAB character in the console (tty) ? zahadumy Linux - Software 2 05-18-2006 02:09 AM
changing character sets on my console?(SuSe 7.3) Fin7PL Suse/Novell 1 02-27-2006 08:36 AM
Character Set issues waynediamond Linux - Software 1 07-05-2004 06:26 PM
Set text (runlevel 3) console character width davee Linux - Newbie 2 11-16-2003 03:33 PM


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

Main Menu
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