LinuxQuestions.org
Register a domain and help support LQ
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 05-01-2005, 02:51 PM   #1
ironz
Member
 
Registered: Jun 2003
Location: Montréal, Québec
Distribution: red hat 9
Posts: 84

Rep: Reputation: 15
ASCII Code


Hi,
Is it possible to use the ascii code linux ? I'm new to linux and i tryed the ALT+(ASCII CODE) and that doesnt work , both in OpenOffice and Konsole. I write alot of text in french but i use the United States - International keyboard settings because i like it. If there any method to insert special caracters instead of going into the Special Caracter menu in OpenOffice ?


im using KDE 3.2 with mandrake 10.1 official powerpack.

Thanks !
 
Old 05-01-2005, 03:29 PM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
I have compose key enabled (using right windows key) then compose,a," = ä etc. Use "setxkbmap -option compose:rwin" to enable it (will need to be added to X startup script somewhere). I have a hunch that it can be added to the X.Org config as well:

Option "XkbOptions" "compose:rwin"

or something like that.
 
Old 05-01-2005, 07:06 PM   #3
ironz
Member
 
Registered: Jun 2003
Location: Montréal, Québec
Distribution: red hat 9
Posts: 84

Original Poster
Rep: Reputation: 15
nope composite key only work with a ---> å

let me ask the question in a different way : If you were in linux console with no gui loaded ( kde , gnone ,icewm...) how could you insert special caracters ? like «½©®, etc. each special caracter have an ASCII Code ,, linux dont support ASCII code? linux dont have a special key to insert it ? How could you edit a text in VI text editor and you want to put a special caracter ? Does DOS (win) only support ALTcar key ?
 
Old 05-01-2005, 07:35 PM   #4
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
I've done a bit of experimenting and it seems that the menu key behaves as a compose key in a terminal (no X) and works after the same fashion as X (although you need to supply the modifier (`,',~,",etc.) first. Also in vi pressing Ctrl-V followed by an ascii code (in decimal,octal (prefix o) or hex (prefix x)) works. Consequently I would suggest using compose:menu instead of compose:rwin so that X and non-X work similarly.

Last edited by nhs; 05-01-2005 at 07:38 PM.
 
Old 05-01-2005, 08:32 PM   #5
ironz
Member
 
Registered: Jun 2003
Location: Montréal, Québec
Distribution: red hat 9
Posts: 84

Original Poster
Rep: Reputation: 15
thanks work fine , i misread your reply !!!!
 
Old 05-01-2005, 08:37 PM   #6
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
"dumpkeys --compose-only" will tell you what combinations are loaded and I believe loadkeys can be used to modify them. You'll need to read the manpages to get the nitty gritty details.
 
  


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
How to insert characters by ascii code? J_Szucs Linux - General 11 09-14-2013 12:10 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
[C] char <=> ASCII-Code Cornholio Programming 7 03-06-2005 03:40 PM
how to into a non-ascii-code directory ? jiawj Slackware 3 01-24-2005 11:47 AM
write a caracter from it's ASCII code xStef Linux - General 2 08-18-2003 10:27 AM


All times are GMT -5. The time now is 08:54 PM.

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