Special characters?
Hi, How can I create the following characters: ïäéèçë (and others) in an X-session without copy pasting them from Gnome Character map? Thus I want to use the keyboard to use these characters in an easy way. Also, I'd like to bind keys to them myself. I have seen the deathkeys option in the gnome keyboard configuration, but that basically binds e to ë, but I don't seem to be able to configure it myself. I have seen Xmodmap, but configuring that also takes a lot of time. Any other options? Regards, Ron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Special characters?
El día Monday, November 14, 2005 a las 06:05:52PM +0100, Ron escribió: Hi, How can I create the following characters: ïäéèçë (and others) in an X-session without copy pasting them from Gnome Character map? Thus I want to use the keyboard to use these characters in an easy way. Also, I'd like to bind keys to them myself. I have seen the deathkeys option in the gnome keyboard configuration, but that basically binds e to ë, but I don't seem to be able to configure it myself. I have seen Xmodmap, but configuring that also takes a lot of time. Any other options? I use a small script: $ cat xmod.sh # # para español: # xmodmap -e keycode 0x73 = Mode_switch xmodmap -e keycode 0x39 = n N ntilde Ntilde xmodmap -e keycode 0x1a = e E eacute Eacute xmodmap -e keycode 0x26 = a A aacute Aacute xmodmap -e keycode 0x1f = i I iacute Iacute xmodmap -e keycode 0x1e = u U uacute Uacute xmodmap -e keycode 0x20 = o O oacute Oacute xmodmap -e keycode 0x14 = questiondown question backslash ssharp xmodmap -e keycode 0x0a = 1 exclam exclamdown onesuperior xmodmap -e keycode 94 = less greater guillemotleft guillemotright bar brokenbar and this gives me the spanish chars by pressing, for example, the WindowsKey + n --- ñ (n with tilde); matthias -- Matthias Apitz / Sisis Informationssysteme GmbH Gruenwalder Weg 28g / D-82041 Oberhaching Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211 http://www.sisis.de/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Special characters?
On Mon, 14 Nov 2005, Ron wrote: Hi, How can I create the following characters: ïäéèçë (and others) in an X-session without copy pasting them from Gnome Character map? Thus I want to use the keyboard to use these characters in an easy way. Also, I'd like to bind keys to them myself. I have seen the deathkeys option in the gnome keyboard configuration, but that basically binds e to ë, but I don't seem to be able to configure it myself. I have seen Xmodmap, but configuring that also takes a lot of time. Any other options? There is a collection of ready-made national xmodmaps /usr/X11R6/share/gnome/xmodmap perhaps you can enhance one of them to your needs? Regards, Uli. Regards, Ron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] * * Peter Ulrich Kruppa - Wuppertal - Germany * *___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: special characters and how they are represented
hi folks. this may seem uber-simple to some of you, but i'm ignorant (B regarding this. your help is appreciated. (B (BJust so you know, this is not a particularly trivial issue. (But things (Bare improving.) (B (B so, i have this album from Mvtley Cr|e (that looks right in vim, my (B editor for mutt), and i have ripped it to FLAC and put it on my file (B server. on the server, however, the directory name doesn't look like (B that. well, it does if i pipe ls through more (ls | more). here are (B the scenarios: (B (B 1) ls -- this shows "M?tley_Cr?e" as directory name (B 2) ls | more -- this looks right, with umlaut over o and u (B 3) ls MTAB -- this shows "M\366tley_Cr\374e" (backslash366 (Bbackslash374, respectively), using csh as my shell w/set complete and (Bset autolist (B (B my question is... why the differences? (B (BWell, I could guess that the CD file system uses one encoding and your (BOS uses another and each application makes different assumptions? (B (BAlso, some text editors will recognize your non-Latin characters, find (Bthe font, and display them. Some deal well with code points they don't (Brecognize and show the numeric value of the code point (\nnn). Some (Bprint garbage. (B (BThere first thing to do is to figure out what the character encoding on (Bthe CD is. But that likely requires you to know what character (Bencoding(s) your tools are expecting, so the other first thing to do is (Bfigure out what encodings your tools and OS are expecting. (B (BI know Linux is moving away from euc to Unicode, and is still in process. (Blast I remember, but I am not up to date on what freebsd is doing in (Bthis respect. (Lazy of me, I know.) (B (B is there a way to force (B consistent behavior across all three scenarios? (B (BProbably take a little work in your LOCALEs, may not be completely (Bsuccessful. (B (B (B-- (BJoel Rees [EMAIL PROTECTED] (Bdigitcom, inc. $B3t<02q
Re: special characters and how they are represented
On 2005-04-22T18:16:24+0900, Joel wrote: 1) ls -- this shows M?tley_Cr?e as directory name 2) ls | more -- this looks right, with umlaut over o and u 3) ls MTAB -- this shows M\366tley_Cr\374e (backslash366 backslash374, respectively), using csh as my shell w/set complete and set autolist my question is... why the differences? Well, I could guess that the CD file system uses one encoding and your OS uses another and each application makes different assumptions? well, the CD just contains the music, not any textual information. i was using ripit.pl to do the ripping/encoding, so it created the dir automatically with information retrieved from CDDB. is there a way to force consistent behavior across all three scenarios? Probably take a little work in your LOCALEs, may not be completely successful. yes, you pointed me in the right direction. my earlier google searches were missing that word -- locale. with an improved search, i found the following handbook page: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html and it had all of the answers. in short, i changed my ~/.login_conf to read: me:\ :charset=iso-8859-1:\ :lang=en_US.ISO8859-1: and i now have consistent behavior and character representation. thanks much for the hint! -- Mike Oliver [see complete headers for contact information] pgpoIlPxrNYue.pgp Description: PGP signature
special characters and how they are represented
hi folks. this may seem uber-simple to some of you, but i'm ignorant regarding this. your help is appreciated. so, i have this album from Mötley Crüe (that looks right in vim, my editor for mutt), and i have ripped it to FLAC and put it on my file server. on the server, however, the directory name doesn't look like that. well, it does if i pipe ls through more (ls | more). here are the scenarios: 1) ls -- this shows M?tley_Cr?e as directory name 2) ls | more -- this looks right, with umlaut over o and u 3) ls MTAB -- this shows M\366tley_Cr\374e (backslash366 backslash374, respectively), using csh as my shell w/set complete and set autolist my question is... why the differences? is there a way to force consistent behavior across all three scenarios? thanks in advance. -- Mike Oliver [see complete headers for contact information] pgpoiogPJNOqu.pgp Description: PGP signature
Re: special characters, ie spanish accents
On Mon, Mar 22, 2004 at 10:57:57PM -0800, chip wrote: How do I get the special characters to work, which work in MS Windoze using the conbination of right-alt+4digit code? I need to be able to use certain accents and characters found in spanish writing. I am using FBSD-5.1 with XFCE window manager. This may be of limited use to you, but the vim editor has this ability built-in (if compiled that way). To see what's available, start a vim session and type ':help digraphs'. -- David Fleck [EMAIL PROTECTED] Thanks for the tip. I just gave that a try and it works fine, a little cumbersome though. But I'm sure I can get used to it. :) -- Chip There is more than one way to get diacritic marks working in X. For my part, since I generally only need a few marks (like you Spanish ones) I used xmodmap. I put a file in my home directory called .xmodmaprc and then in my .xinitrc (or .xsession if you use xdm and friends) I added the line: xmodmap ~/.xmodmaprc My .xmodmaprc file contains the following: clear mod4 keycode 115 = Mode_switch keycode 10 = 1 exclam exclamdown keycode 26 = e E eacute Eacute keycode 31 = i I iacute Iacute keycode 32 = o O oacute Oacute keycode 38 = a A aacute Aacute keycode 57 = n N ntilde Ntilde keycode 61 = slash question questiondown This allows me to make use of the otherwise useless windows keys on my keyboard. On my systems keycode 115 is the left windows key (referred to as keysym Super_L in X). So, if I press Super_L-e I get ``é'' and so on and so forth. Nathan -- gpg --keyserver pgp.mit.edu --recv-keys D8527E49 pgp0.pgp Description: PGP signature
Re: special characters, ie spanish accents
Nathan Kinkade wrote: On Mon, Mar 22, 2004 at 10:57:57PM -0800, chip wrote: How do I get the special characters to work, which work in MS Windoze using the conbination of right-alt+4digit code? I need to be able to use certain accents and characters found in spanish writing. I am using FBSD-5.1 with XFCE window manager. -- Chip There is more than one way to get diacritic marks working in X. For my part, since I generally only need a few marks (like you Spanish ones) I used xmodmap. I put a file in my home directory called .xmodmaprc and then in my .xinitrc (or .xsession if you use xdm and friends) I added the line: xmodmap ~/.xmodmaprc My .xmodmaprc file contains the following: clear mod4 keycode 115 = Mode_switch keycode 10 = 1 exclam exclamdown keycode 26 = e E eacute Eacute keycode 31 = i I iacute Iacute keycode 32 = o O oacute Oacute keycode 38 = a A aacute Aacute keycode 57 = n N ntilde Ntilde keycode 61 = slash question questiondown This allows me to make use of the otherwise useless windows keys on my keyboard. On my systems keycode 115 is the left windows key (referred to as keysym Super_L in X). So, if I press Super_L-e I get ``?'' and so on and so forth. Nathan Thanks Nathan, I have a brand new 104key keyboard, ran xkeycaps to verify the keycodes, and should be able to use your exact .xmodmaprc. The keycodes all match yours. I created the file and added the other line to .xinitrc (the end of the file, don't know if that matters), and restarted X, but I don't get any of the special keys. When I press the Super-L key I get the normal small case letter. I even tried an older 101key keyboard, same results. I also ran xmodmap and it shows mod 4 Super_L (Ox73), Super_R (Ox74) I am running XFree86-4.3.0. The XFree86 log shows the correct keyboard info, and the line Keyboard: CustomKeycode disabled Could that have something to do with this not working? Any ideas why this may not be working for me? Thanks, chip ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: special characters, ie spanish accents
Thanks for the tip. I just gave that a try and it works fine, a little cumbersome though. But I'm sure I can get used to it. :) -- Chip On Sun, 21 Mar 2004, david wrote: This may be of limited use to you, but the vim editor has this ability built-in (if compiled that way). To see what's available, start a vim session and type ':help digraphs'. -- David Fleck [EMAIL PROTECTED] On Sat, 20 Mar 2004, chip wrote: How do I get the special characters to work, which work in MS Windoze using the conbination of right-alt+4digit code? I need to be able to use certain accents and characters found in spanish writing. I am using FBSD-5.1 with XFCE window manager. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: special characters, ie spanish accents
On Saturday, March 20, 2004 7:39:14 PM Kent Stewart [EMAIL PROTECTED] wrote: |Message: 38 |Date: Sat, 20 Mar 2004 16:37:50 -0800 |From: Kent Stewart [EMAIL PROTECTED] |Subject: Re: special characters, ie spanish accents |To: [EMAIL PROTECTED] |Cc: chip [EMAIL PROTECTED] |Message-ID: [EMAIL PROTECTED] |Content-Type: text/plain; charset=iso-8859-1 | |On Saturday 20 March 2004 03:46 pm, chip wrote: | How do I get the special characters to work, which work in MS Windoze | using the conbination of right-alt+4digit code? I need to be able to | use certain accents and characters found in spanish writing. I am | using FBSD-5.1 with XFCE window manager. | Thanks, | Chip | | |I use kde-3.2.1, which allows you to set the |regional and accessability keyboard layouts. I use the es Spanish |option. You don't have to do the terrible alt+keypad sequence.. There |are a lot of people that have used xdb to do the same thing. Do an |archive search. | |BTW, you can do the same thing with W2K or XP. You choose the keyboard |layout and you hold the right altshift down to switch. If you do a |web search on keyboard layouts and go to the Microsoft site, you can |grab images of the keyboard. | |Kent | |--- |Kent Stewart |Richland, WA | |http://users.owt.com/kstewart/index.html ** Reply Separator ** Sunday, March 21, 2004 6:43:35 AM I have no intentions of starting an argument, however I do seriously disagree with your assessment that using the ALT+NUM-KEYBOARD sequence is terrible. I find it to be a very ingenious and quick way to insert characters without going through he hassle of changing keyboard assignments, etc. This becomes even more important when there is the possibility that others may be using the same computer and are not aware that changes have been made to the system. Well that is my 2¢ {alt155} worth. Gerard Seibert [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: special characters, ie spanish accents
On Sunday 21 March 2004 03:49 am, Gerard Seibert wrote: On Saturday, March 20, 2004 7:39:14 PM Kent Stewart [EMAIL PROTECTED] wrote: |Message: 38 |Date: Sat, 20 Mar 2004 16:37:50 -0800 |From: Kent Stewart [EMAIL PROTECTED] |Subject: Re: special characters, ie spanish accents |To: [EMAIL PROTECTED] |Cc: chip [EMAIL PROTECTED] |Message-ID: [EMAIL PROTECTED] |Content-Type: text/plain; charset=iso-8859-1 | |On Saturday 20 March 2004 03:46 pm, chip wrote: | How do I get the special characters to work, which work in MS | Windoze using the conbination of right-alt+4digit code? I need to | be able to use certain accents and characters found in spanish | writing. I am using FBSD-5.1 with XFCE window manager. | Thanks, | Chip | |I use kde-3.2.1, which allows you to set the |regional and accessability keyboard layouts. I use the es Spanish |option. You don't have to do the terrible alt+keypad sequence.. | There are a lot of people that have used xdb to do the same thing. | Do an archive search. | |BTW, you can do the same thing with W2K or XP. You choose the | keyboard layout and you hold the right altshift down to | switch. If you do a web search on keyboard layouts and go to the | Microsoft site, you can grab images of the keyboard. | |Kent | |--- |Kent Stewart |Richland, WA | |http://users.owt.com/kstewart/index.html ** Reply Separator ** Sunday, March 21, 2004 6:43:35 AM I have no intentions of starting an argument, however I do seriously disagree with your assessment that using the ALT+NUM-KEYBOARD sequence is terrible. I find it to be a very ingenious and quick way to insert characters without going through he hassle of changing keyboard assignments, etc. This becomes even more important when there is the possibility that others may be using the same computer and are not aware that changes have been made to the system. Well that is my 2¢ {alt155} worth. It isn't something to argue about. What you are the most comfortable with is always the best way. I used the altkeypad sequence for a number of years. I didn't make a real effort to switch to something else until I found that the altkeypad sequence was not being interpreted on all computers as the same character. I take a document sent from a Mac OS/X machine and convert it into html. The Mac bullets became a ¥ on my FreeBSD system. Finding a sequence to make sed batch convert them into html bullets was interesting :). If you are only going to add a few characters, your altkeypad may be the most efficient. I have to press 2 at the same time and then press 2 keys to get the special character. You are ahead at this point because I am going to have to press 2 more at the same time to switch back. If we are writing a paragraph or so, I will be ahead on keystrokes at the 2nd special character. Speed wise, I may be ahead regardless since everything keeps my hands in the home key position. If you are just starting out, it is a function of what makes you proficient with the least effort. Having to only memorize 10 altkeypad characters instead of 30 is a different matter. Have you ever used a keyboard layout with dead keys? For the Spanish acute's, you press the apostrophy and then the key you want to acute. You don't even have to take your hands away from the home positions to type them. The quote is also a dead key for characters such as Ü, another one for ñ, and etc. If you press a dead key and the space bar, you get the original character. There is also an English International layout that gives you many of the dead keys and you still see the original layout for English keyboards. I think the right alt adds a number of characters to your choices. You have to memorize where they are on the keyboard. I really hate to memorize something when I have an intuitive choice with the dead keys. If I was starting over, this would have probably been my first choice for an alternate keyboard layout. Getting me to switch to this, at this point, would be as difficult as getting you to drop the altkeypad sequences. It goes into my category of fixing something that isn't broken. When you use layouts, you haven't really modified your keyboard but have added an additional one to your choices. You have to do something physical to switch from one to the other. The xdb route gives you something like alte for é and etc. I think it is the best choice but have been too lazy to change my keyboard assignment. You have a number of intuitive choices and not as much to memorize as you do with the alt keypad sequences. If you use something like Adobe's GoLive to maintain html, it will switch your dead key typed é into acute; and leave your html as something other computers recognize as an acute. It doesn't do this with the altkeypad characters. BTW, your ¢ is a really good example because it is not available on either of the layouts that I use. Kent -- Kent Stewart Richland
Re: special characters, ie spanish accents
On Sat, 20 Mar 2004, chip wrote: How do I get the special characters to work, which work in MS Windoze using the conbination of right-alt+4digit code? I need to be able to use certain accents and characters found in spanish writing. I am using FBSD-5.1 with XFCE window manager. This may be of limited use to you, but the vim editor has this ability built-in (if compiled that way). To see what's available, start a vim session and type ':help digraphs'. -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
special characters, ie spanish accents
How do I get the special characters to work, which work in MS Windoze using the conbination of right-alt+4digit code? I need to be able to use certain accents and characters found in spanish writing. I am using FBSD-5.1 with XFCE window manager. Thanks, Chip ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: special characters, ie spanish accents
On Saturday 20 March 2004 03:46 pm, chip wrote: How do I get the special characters to work, which work in MS Windoze using the conbination of right-alt+4digit code? I need to be able to use certain accents and characters found in spanish writing. I am using FBSD-5.1 with XFCE window manager. Thanks, Chip I use kde-3.2.1, which allows you to set the regional and accessability keyboard layouts. I use the es Spanish option. You don't have to do the terrible alt+keypad sequence.. There are a lot of people that have used xdb to do the same thing. Do an archive search. BTW, you can do the same thing with W2K or XP. You choose the keyboard layout and you hold the right altshift down to switch. If you do a web search on keyboard layouts and go to the Microsoft site, you can grab images of the keyboard. Kent --- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]