Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* How to set Console Language
@ 1997-01-13  5:00 Ewan Brown
  1997-01-14  5:00 ` Markus Kilbinger
  1997-01-14  5:00 ` David Lindner
  0 siblings, 2 replies; 4+ messages in thread
From: Ewan Brown @ 1997-01-13  5:00 UTC (permalink / raw)



Excerpt from /usr/lib/X11/xdm/Xkeymaps:

#       The <number> field is a 2-byte hex value where the first byte
#       represents the keyboard type and the second byte is the value of the
#       console's language variable.

I'm having trouble with the default keyboard mappings on our alphas.  The 
above excerpt describes how xdm chooses which keymap file to use and I know
from "sizer -wk" that the keyboard type is being determined properly but for 
some reason the "console language variable" seems to be US (36) on most of our 
machines rather than UK (38).  Can anybody tell me how I go about setting this 
variable?  I've temporarily fixed the problem by hardwiring both US and UK 
values to use UK keymaps but I would prefer a more elegant solution.

Thanks,

Ewan



--Ewan Brown---Royal Observatory, Edinburgh---emb@roe.ac.uk---(0131)6688415--




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

* Re: How to set Console Language
  1997-01-13  5:00 How to set Console Language Ewan Brown
@ 1997-01-14  5:00 ` Markus Kilbinger
  1997-01-16  5:00   ` Ewan Brown
  1997-01-14  5:00 ` David Lindner
  1 sibling, 1 reply; 4+ messages in thread
From: Markus Kilbinger @ 1997-01-14  5:00 UTC (permalink / raw)



emb@roe.ac.uk (Ewan Brown) writes: Excerpt from
> /usr/lib/X11/xdm/Xkeymaps: # The <number> field is a 2-byte hex
> value where the first byte # represents the keyboard type and the
> second byte is the value of the # console's language variable.  I'm
> having trouble with the default keyboard mappings on our alphas.
> The above excerpt describes how xdm chooses which keymap file to use
> and I know from "sizer -wk" that the keyboard type is being
> determined properly but for some reason the "console language
> variable" seems to be US (36) on most of our machines rather than UK
> (38).  Can anybody tell me how I go about setting this variable?
> I've temporarily fixed the problem by hardwiring both US and UK
> values to use UK keymaps but I would prefer a more elegant solution.

The best way I figured out was setting it in the boot prompt area
where you define your boot device etc. This value seems to be
inherited into X11, too.

Markus.



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

* Re: How to set Console Language
  1997-01-13  5:00 How to set Console Language Ewan Brown
  1997-01-14  5:00 ` Markus Kilbinger
@ 1997-01-14  5:00 ` David Lindner
  1 sibling, 0 replies; 4+ messages in thread
From: David Lindner @ 1997-01-14  5:00 UTC (permalink / raw)



emb@roe.ac.uk (Ewan Brown) writes:

>I'm having trouble with the default keyboard mappings on our alphas.  The 
>above excerpt describes how xdm chooses which keymap file to use and I know
>from "sizer -wk" that the keyboard type is being determined properly but for 
>some reason the "console language variable" seems to be US (36) on most of our 
>machines rather than UK (38).  Can anybody tell me how I go about setting this 
>variable?

Sure, it depends on the hardware platform, so you'll want to find the
hardware manual, and look up language settings. For example on my
AS200 4/233 you go to console mode:

>>> set language

This clears the language environment variable.

>>> init

With the language environment variable cleared, when you do the init
it brings up the language selection menu, and you can choose UK
or whatever you like. On the sandpipers I think the manual lists the
values of the language variable, and you just set them. Anyway you
get the idea.

--
David Lindner
Digital Equipment Corporation		- spam avoider in mail reply -



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

* Re: How to set Console Language
  1997-01-14  5:00 ` Markus Kilbinger
@ 1997-01-16  5:00   ` Ewan Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Ewan Brown @ 1997-01-16  5:00 UTC (permalink / raw)



In article <u9iv50493d.fsf@pcwork2.radiologie>, Markus Kilbinger <kilbi@rad.rwth-aachen.de> wrote:
>emb@roe.ac.uk (Ewan Brown) writes: Excerpt from

>> determined properly but for some reason the "console language
>> variable" seems to be US (36) on most of our machines rather than UK
>> (38).  Can anybody tell me how I go about setting this variable?
>
>The best way I figured out was setting it in the boot prompt area
>where you define your boot device etc. This value seems to be
>inherited into X11, too.

I had a look there and in the hardware manual but I couldn't find any 
reference to what boot prompt variable to set.  Perhaps you could enlighten 
me.

Thanks for the help,

Ewan

--Ewan Brown---Royal Observatory, Edinburgh---emb@roe.ac.uk---(0131)6688415--




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

end of thread, other threads:[~1997-01-16  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-13  5:00 How to set Console Language Ewan Brown
1997-01-14  5:00 ` Markus Kilbinger
1997-01-16  5:00   ` Ewan Brown
1997-01-14  5:00 ` David Lindner

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