<no subject>

Curt Hibbs wrote:

http://whytheluckystiff.net/ruby/dist/readline.so-for-1.8.zip

Two files inside. Place readline.dll in $RUBY/bin. The readline.so
goes in $RUBY/lib/ruby/1.8/i386-mswin32. Then, to get Irb working with
Readline:

irb --readline -r irb/completion

Or the ~/.irbrc that Raph offered will work as well.

Great... this worked!

But can you type [,],{ and }?
I don't know if this is only a problem related to windows. The brackets can only typed when irb is used without readline.

Hope someone can help.

Thanks,
roland

···

____________________________________________________
Aufnehmen, abschicken, nah sein - So einfach ist
WEB.DE Video-Mail: E-Mail-Adresse erstellen kostenlos | FreeMail

I'd expect that anybody with UK or US keyboard mappings can, while those with a German one (and probably some others) can't.

(For those who don't know the German keyboard mapping: You enter '{}' by pressing Ctrl+Alt + '7890', with the right Alt key being equivalent to Ctrl+Alt.)

So it seems that readlines can't cope with Ctrl+Alt.

···

On Thu, 29 Jul 2004 00:30:09 +0900, Roland Schmitt <Roland.Schmitt@web.de> wrote:

Curt Hibbs wrote:

http://whytheluckystiff.net/ruby/dist/readline.so-for-1.8.zip

Two files inside. Place readline.dll in $RUBY/bin. The readline.so
goes in $RUBY/lib/ruby/1.8/i386-mswin32. Then, to get Irb working with
Readline:

irb --readline -r irb/completion

Or the ~/.irbrc that Raph offered will work as well.

Great... this worked!

But can you type [,],{ and }?
I don't know if this is only a problem related to windows. The brackets can only typed when irb is used without readline.

--
exoticorn/farbrausch

Roland Schmitt wrote:

But can you type [,],{ and }?

I don't know if this is only a problem related to windows. The brackets can only typed when irb is used without readline.

From a readline README:

    For a standard US keyboard the built in key handling should cover
    Windows arrows, begin, end and shift-insert keys. In
    examples/Inputrc.kbger I provide a few extras for the German
    keyboard layout.

    Readline-4.0 will look for an INPUTRC environment variable. If not
    found it will use .inputrc as the basename of its initialization
    file. Readline will look for this file in the directory specified by
    the environment variable HOME or if not set in the current
    directory. If it cannot find the init file and if
    registry access is enabled it will ask for the <inputrc-file> value
    of the <HKEY_CURRENT_USER\Software\Free Software
    Foundation\libreadline> key. For history readline will access the
    <history-file> value of above registry key if the environment
    variable HOME is not set. On failure it will resort to the current
    directory.

I can't seem to find Inputrb.kbger, but here's a few starting places for your German inputrc.

http://www.robertkehl.de/?page=/linux/inputrc.php
http://216.239.57.104/search?q=cache:CZCsMNvmgQAJ:www.mova.org/~lowry/dotinputrc.html+readline+german+inputrc&hl=en

_why