Re: special characters, ie spanish accents

From: Kent Stewart (kstewart_at_owt.com)
Date: 03/21/04

  • Next message: Charles Swiger: "Re: [Q] Best location of ntpd driftfile ?"
    To: gerard-seibert@rcn.com
    Date: Sun, 21 Mar 2004 10:02:09 -0800
    
    

    On Sunday 21 March 2004 03:49 am, Gerard Seibert wrote:
    > On Saturday, March 20, 2004 7:39:14 PM Kent Stewart <kstewart@owt.com>
    wrote:
    > |>Message: 38
    > |>Date: Sat, 20 Mar 2004 16:37:50 -0800
    > |>From: Kent Stewart <kstewart@owt.com>
    > |>Subject: Re: special characters, ie spanish accents
    > |>To: freebsd-questions@freebsd.org
    > |>Cc: chip <chip@wiegand.org>
    > |>Message-ID: <200403201637.50289.kstewart@owt.com>
    > |>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 <alt><shift> 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¢ {<alt><155>} worth.
    >

    It isn't something to argue about. What you are the most comfortable
    with is always the best way. I used the <alt><keypad> sequence for a
    number of years. I didn't make a real effort to switch to something
    else until I found that the <alt><keypad> 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 <alt><keypad> 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
    <alt><keypad> 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 <alt><keypad>
    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 <alt>e 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 <alt><keypad> 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, WA
    http://users.owt.com/kstewart/index.html
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Charles Swiger: "Re: [Q] Best location of ntpd driftfile ?"

    Relevant Pages

    • Re: suggestions for new module name
      ... Several metrics of effort are used. ... > This module is useful for determining which keyboard layout is more ... That means that accented characters, unicode, etc. are not ...
      (comp.lang.perl.modules)
    • Re: Programmatically language switch
      ... > So, the characters being *displayed* are Latin, not Cryllic, or the keyboard ... and you're displaying * or something ... > instead of the real characters, then, yes, changing the keyboard layout ...
      (microsoft.public.windowsce.embedded.vc)
    • Re: How to type letter "é"?
      ... No, not the physical keyboard layout, but the current "active" logical keyboard layout that happens to be in effect in your operating system with your current regional settings. ... If you're using the US layout, "Alt Gr" will work just like the left "Alt" key, regardless of what it says on the keycap. ... The symbol marked up in the lower-right corner can be produced by holding down the "Alt Gr" key while pressing the other key - exactly the same way you produce alternative characters from the numeric row when using the "Shift" key. ...
      (alt.usage.english)
    • [kde-linux] US Keyboard with Deadkeys
      ... After a distribution upgrade to KDE 3.5 I no longer have a "US keyboard ... with dead keys" available (so I can't enter umlauts and accented ... what do I have to do to be able to switch and type accented characters? ...
      (KDE)
    • Re: Witch KeyEvent.VK_ for =?ISO-8859-1?Q?=27=B0=27_=28degree=29?= =?ISO-8859-1?Q?=3
      ... Marco wrote: ... The U.S. layout doesn't, but I don't know about Italian layouts. ... My point is to emphasize that virtual key codes are about describing specific keys on the system keyboard; they only indirectly have anything to do with characters. ...
      (comp.lang.java.programmer)