LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-22-2003, 04:18 AM   #1
slackmagic
Member
 
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

ALT + 0XXX



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, 05:49 AM   #2
qwijibow
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, 09:25 AM   #3
frieza
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,216

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


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
extended ascii codes in c++ crAckZ Programming 1 09-12-2005 04: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 03:22 PM
RH9 - ASCII codes using alt-gr ? manub Red Hat 0 03-14-2004 04:24 AM
alt-gr ASCII codes don't work ? manub Linux - Newbie 0 03-13-2004 06:05 PM
Sending ascii codes with minicom ganninu Linux - Software 0 08-27-2003 08:01 AM


All times are GMT -5. The time now is 12:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration