LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-14-2004, 03:52 PM   #1
juliancoccia
Member
 
Registered: Dec 2003
Posts: 51

Rep: Reputation: 15
How to type characters with ALT+ASCIICODE ?


This sounds like a newbie question, but I doubt it is.

I know there are character map applications and other ways to type extended characters but in my debian distribution, I can do ALT+ASCIICODE and I get the char, just like in Windows. This only works in a text VT. My questions are:

How do I replicate this with another (non-debian) distro ?
What causes this behaviour ?
How do I get this to work with KDE ?

Thanks!
Julian
 
Old 01-14-2004, 09:18 PM   #2
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

Rep: Reputation: 31
>"How do I replicate this with another (non-debian) distro ?"
Any distro set up similarly should do it. If anything, it's the xfree86/window manager combo that handles this.

>"What causes this behaviour ?"
The keyboard itself. When you hit alt+number on the separate number keys, you alter the signal that's sent to the keyboard controller on your motherboard. Because old PC's were intended as cheaper versions of IT mainframes, they included a number of functions that programmers happened to like. (Nobody, not even IBM, truely expected "lowly" secretaries would ever use a PC, despite the way it's portrayed these days.) With this feature, if you had a problem (in ancient, ancient programs), you could sometimes alter the way the program ran by entering a code this way. Later, it became a way to extend the limitations of the keyboard, and then it drifted out of use with the introduction of multitasking systems.

This is because there wasn't much need of it with a multitasking system. If your program does something unexpected, you simply open another window to alter it's function, or kill it. With older "real mode" programs, there was no way to signal the processor to alter it's function (aside from just killing it, which sometimes didn't work if the processor locked up), as the processor is only doing one thing, running your program. This was a way to bypass that, provided the programmer built the functionality into the program. This never really made it into the mainstream, even later on, because it added a lot of code to programs that were barely small enough to run in the first place. Well, that and it opened a big door to anyone that wanted to screw up your data.

Actually, I'd like to know if this is the same for USB keyboards as well, as they don't necessarily have to support "legacy" applications.

>"How do I get this to work with KDE ?"
Don't, know, I use GNOME. It should be relatively easy, however.
 
Old 01-15-2004, 06:09 PM   #3
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 540

Rep: Reputation: 32
I'm a little confused, but I try to give you a response (you might find it not useful)
I you need such characters when logged into graphical mode (wathever KDE Gnome etc)
~ alt gr +
{ alt gr + 7
} alt gr + 0
and so on
you will have different characters according to your keyboard layout (US Eng German ....)
as I'm using the italian keymap at the moment
Also remember this is valid for terminal emulators as well (ie Konsole etc)
Ciao
 
Old 11-10-2006, 11:55 AM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,165

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
Entering characters by code

I can do this with Fedora and Gnome by holding down CtrlShift and entering U followed by the decimal code. Thus Ctrl-Shift-U2202 gives a bullet. Give it a try.
 
Old 11-10-2006, 01:34 PM   #5
tim1348
Member
 
Registered: Oct 2006
Distribution: Slackware 11
Posts: 46

Rep: Reputation: 15
<---Ok, tried it, lol. Ctrl-Shift-U2202
 
  


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
Type Japanese Characters in OOo nenyo Linux - Software 1 08-08-2005 06:56 PM
How to type accented Greek characters? fishpi Linux - Software 1 08-04-2005 03:26 PM
How do I get Right-Alt key to be just Alt and not generate special characters? (KDE) KWTm Linux - General 2 06-25-2005 10:26 PM
Nee help to be able to type Japanese characters LinuxCrusader Linux - General 7 07-26-2004 06:25 AM
Need my keypad ALT-number characters / Redhat 9 quadmore Linux - Newbie 9 07-01-2004 02:38 AM


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