public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Problem with alt-key on Apple iBook
@ 2006-02-04 12:18 Simon Ruderich
  2006-02-04 14:44 ` Neil Bothwick
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Ruderich @ 2006-02-04 12:18 UTC (permalink / raw
  To: gentoo-user

Hi,

I'm trying to install gentoo on my Apple iBook G4. I loaded the  
correct keymap for my keyboard with "loadkeys de-latin1". Most of the  
keys are working correctly.
My problem is now that some characters (like the curly brace) can  
only be typed by using the alt-key. But if I press the alt-key and 8  
for example then the console changes from this:
livecd root #
To this:
(arg: 8)
And I don't know what this means.
Is there anything I can do to get the alt-key working?

Thanks in advance.
Simon
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Problem with alt-key on Apple iBook
  2006-02-04 12:18 [gentoo-user] Problem with alt-key on Apple iBook Simon Ruderich
@ 2006-02-04 14:44 ` Neil Bothwick
  2006-02-05  1:35   ` Richard Fish
  2006-02-05  1:45   ` Willie Wong
  0 siblings, 2 replies; 5+ messages in thread
From: Neil Bothwick @ 2006-02-04 14:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 676 bytes --]

On Sat, 4 Feb 2006 13:18:56 +0100, Simon Ruderich wrote:

> My problem is now that some characters (like the curly brace) can  
> only be typed by using the alt-key. But if I press the alt-key and 8  
> for example then the console changes from this:
> livecd root #
> To this:
> (arg: 8)
> And I don't know what this means.
> Is there anything I can do to get the alt-key working?

This is nothing to do with the iBook hardware, my AMD64 box does it too.
The Alt key works but Alt-n giving (arg: n) appears to be a feature of
bash, although there's no reference to the Alt key in the bash manpage.


-- 
Neil Bothwick

In the begining, there was nothing.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Problem with alt-key on Apple iBook
  2006-02-04 14:44 ` Neil Bothwick
@ 2006-02-05  1:35   ` Richard Fish
  2006-02-05 10:24     ` Neil Bothwick
  2006-02-05  1:45   ` Willie Wong
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Fish @ 2006-02-05  1:35 UTC (permalink / raw
  To: gentoo-user

On 2/4/06, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Sat, 4 Feb 2006 13:18:56 +0100, Simon Ruderich wrote:
>
> > My problem is now that some characters (like the curly brace) can
> > only be typed by using the alt-key. But if I press the alt-key and 8
> > for example then the console changes from this:
> > livecd root #
> > To this:
> > (arg: 8)
> > And I don't know what this means.
> > Is there anything I can do to get the alt-key working?
>
> This is nothing to do with the iBook hardware, my AMD64 box does it too.
> The Alt key works but Alt-n giving (arg: n) appears to be a feature of
> bash, although there's no reference to the Alt key in the bash manpage.

It is a readline function (see man readline).

Try adding to ~/.inputrc:

Meta-0:
Meta-1:
...
Meta-9:

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Problem with alt-key on Apple iBook
  2006-02-04 14:44 ` Neil Bothwick
  2006-02-05  1:35   ` Richard Fish
@ 2006-02-05  1:45   ` Willie Wong
  1 sibling, 0 replies; 5+ messages in thread
From: Willie Wong @ 2006-02-05  1:45 UTC (permalink / raw
  To: gentoo-user

On Sat, Feb 04, 2006 at 02:44:54PM +0000, Penguin Lover Neil Bothwick squawked:
> This is nothing to do with the iBook hardware, my AMD64 box does it too.
> The Alt key works but Alt-n giving (arg: n) appears to be a feature of
> bash, although there's no reference to the Alt key in the bash manpage.
> 

Actually, it is gnu readline (I think). And there are indeed
references to that in 'man bash', just that you need to search for the
Meta key instead of alt. Meta/alt + number gives a numeric argument,
whose purpose I am not quite sure about. But in bash, a numeric
argument not associate to any readline commands would repeat the next
character n times, where n is the number after Meta. For example,
holding down the alt key and typing 100, then release the alt key and
hit a, would, get you on the command line, 100 'a's. 

HTH, 

W
-- 
"`This must be Thursday,' said Arthur to himself, sinking 
low over his beer, `I never could get the hang of 
Thursdays.'" 

- Arthur, on what was to be his last Thursday on Earth. 
Sortir en Pantoufles: up 84 days, 18:05
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Problem with alt-key on Apple iBook
  2006-02-05  1:35   ` Richard Fish
@ 2006-02-05 10:24     ` Neil Bothwick
  0 siblings, 0 replies; 5+ messages in thread
From: Neil Bothwick @ 2006-02-05 10:24 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

On Sat, 4 Feb 2006 18:35:29 -0700, Richard Fish wrote:

> > The Alt key works but Alt-n giving (arg: n) appears to be a feature of
> > bash, although there's no reference to the Alt key in the bash
> > manpage.
> 
> It is a readline function (see man readline).

OK, thanks.


-- 
Neil Bothwick

What's another word for `Thesaurus'?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-02-05 10:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-04 12:18 [gentoo-user] Problem with alt-key on Apple iBook Simon Ruderich
2006-02-04 14:44 ` Neil Bothwick
2006-02-05  1:35   ` Richard Fish
2006-02-05 10:24     ` Neil Bothwick
2006-02-05  1:45   ` Willie Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox