Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-22-2003, 05:18 AM   #1
Registered: Aug 2003
Distribution: Slackware
Posts: 253

Rep: Reputation: 32
ASCII Codes in linux

hi there,

In Windows/DOS you were able to bring up ASCII Codes through the key combination of


How do you do that in Linux? :P

Main reason I'm asking is because I'm playing NeverWinter Nights and ASCII codes bring up different font colors which I'd like to have under and through Linux as well.

Don't get this wrong - I would never install Windows again JUST to get those color fonts in that specific game (LOL), however I'd like to know if there is a way to get ASCII Codes "displayed" through some kind of key combination like in Windows/DOS products.

Any hints? Thanks again for any help with this!
Old 12-22-2003, 06:49 AM   #2
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
cant you get an ascii table off the internet ???

or make a program to do it ?

int main ()

int charC=-128
for (charC = -128; charC <=127; charC++) {
cout << "ASCII: " << charC << " = Character: " << char(charC) << endl;
return 0;

and compile with g++.
Old 12-22-2003, 10:25 AM   #3
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,227

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
eureka, i found your answer..., type 'man ascii' , then at the prompt, hold down alt and enter the hex value while hoding down alt


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
extended ascii codes in c++ crAckZ Programming 1 09-12-2005 05:04 PM
How can I type ASCII codes in a similar way like the old ALT+<code> way? pujolasdf Linux - Software 0 07-17-2005 04:22 PM
RH9 - ASCII codes using alt-gr ? manub Red Hat 0 03-14-2004 05:24 AM
alt-gr ASCII codes don't work ? manub Linux - Newbie 0 03-13-2004 07:05 PM
Sending ascii codes with minicom ganninu Linux - Software 0 08-27-2003 09:01 AM > Forums > Linux Forums > Linux - Newbie

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

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