LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-12-2010, 07:41 AM   #1
Beekman
Member
 
Registered: Mar 2010
Location: Kampen, The Netherlands
Distribution: Ubuntu 14.04
Posts: 33

Rep: Reputation: 0
Is there no way to type decimal ASCII codes?


I have searched how to use the special characters on Linux (Ubuntu in my case)...
Are the only options to use a 'dead keys' keyboard setting or the ctrl shift unicodes?

I really can't work with the dead keys and I know all ASCII codes by heart, I'm not too happy that I have to learn all the hex unicodes now...

Isn't there any program or utility that enables me to keep using the ASCII codes as in DOS or Windows (ALT+xxx)?
 
Old 06-12-2010, 07:57 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Depending on the context, you can often enter the hex code directly---e.g. in SED:

sed 's/\x65/XX/' filename

replaces the first "e" on each line with "XX"

<<Edit: It works the other way too>>

Last edited by pixellany; 06-12-2010 at 07:59 AM.
 
Old 06-12-2010, 10:58 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
What is your actual problem? Are you using a Dutch keyboard, or something else? Which characters do you want that it lacks?

There is a section on typing special characters in the Wiki at this site. The Compose key is usually the best bet for diacritics you don't need ever day, as in the case of "Compose = o" if you suddenly need a Hungarian name with an "ő" in it.

The old DOS method will strike you as a relic from the past once you get used to the Linux ways.
 
Old 06-12-2010, 11:34 AM   #4
Beekman
Member
 
Registered: Mar 2010
Location: Kampen, The Netherlands
Distribution: Ubuntu 14.04
Posts: 33

Original Poster
Rep: Reputation: 0
I have a Windows US-keyboard, so no compose-key...
The characters I want are é, è, ë, á, ï, etc...

I was hoping it was possible to use the ALT-keys, because at work I still have to work with Windows (and MacOsX) and I didn want to learn new ways to do the same

I'll try to find the wiki-page...
 
Old 06-12-2010, 11:35 AM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
http://www.linuxquestions.org/questi...key-in-x-2885/
 
Old 06-13-2010, 05:13 PM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
If you've seen the Wiki, you'll see that you can have a compose key: enter the menu (probably) under System - Preferences - Hardware - Keyboard and click on Layouts, Layout options, Compose key.
 
  


Reply



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
How to get ascii value (decimal ) of chars in linux? dreams Linux - General 8 01-27-2006 07:43 AM
ascII and uf-8 codes incompatibility linuxamateur-two-too Linux - Networking 0 12-21-2005 08:05 PM
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
ASCII Codes in linux slackmagic Linux - Newbie 2 12-22-2003 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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