On Tue, 24 Apr 2001, Pavel Epifanov wrote:

> From: Pavel Epifanov <[EMAIL PROTECTED]>
> Subject: Re: русский в консоли
>
> Thank you for idea, Victor.
>
> The remote Debian installation has an almost default configuration so I might
> need to remove some packages like console-tools to have everything right.
Ах, да я еще часто прячу всякие подобные штуки
под

case $TERM in
linux) #do console-specific initialization
;;
esac

Видимо, подобные проверки лучше делать как

case `tty `in
/dev/tty[1-9]*)
;;
esac

ТАк оно надежнее будет.

> --- Victor Wagner <[EMAIL PROTECTED]> wrote:
> > On Tue, 24 Apr 2001, Pavel Epifanov wrote:
> >
> > > From: Pavel Epifanov <[EMAIL PROTECTED]>
> > > Subject: Re: русский в консоли
> > >
> > > Yes, indeed.
> > >
> > > On remote computer you could have a different fonts to load.
> >
> > You should never try to load any fonts during remote shell sessions.
> > Fonts  are properties of local console, and nothing also should control
> > them.
> > Adhere this simple rule and your hair would be white and soft.
> >
> >
> >
> > --
> > Victor Wagner                       [EMAIL PROTECTED]
> > Chief Technical Officer             Office:7-(095)-748-53-88
> > Communiware.Net             Home: 7-(095)-135-46-61
> > http://www.communiware.net      http://www.ice.ru/~vitus
> >
>
>
> =====
> Yours,
> Pavel V. Epifanov.
>
> ---
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>

-- 
Victor Wagner                   [EMAIL PROTECTED]
Chief Technical Officer         Office:7-(095)-748-53-88
Communiware.Net                 Home: 7-(095)-135-46-61
http://www.communiware.net      http://www.ice.ru/~vitus

Ответить