Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 09:34:59 +0300 (EEST)
From:      Alexander V Zubchenko <stalker@hermes-comp.zp.ua>
To:        Lee <lee@unassemble.co.uk>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: Command History & Keyboard Setup
Message-ID:  <20020621092948.B21649-100000@server.hermes-comp.zp.ua>
In-Reply-To: <004a01c21895$6175d0a0$6400a8c0@Administrator>

next in thread | previous in thread | raw e-mail | index | archive | help
Greetings!

On Thu, 20 Jun 2002, Lee wrote:

> Hello,
>
> I have just installed my first FreeBSD system, 4.6 release.  I hope that someone will be able to help me with a couple of strange problems.
>
> I use a standard PS/2 UK keyboard, when logging in as root the £
sign does not, even though it does when logged in as a normal user.
I am using UK Codepage 850.
>
> Also when I am logged in as a normal user I am unable to use the up / down cursor keys to navigate the command history, even though this does work when logged in as root.
>
> Has anyone else experienced this problem, or just possibly has some ideas on how to resolve the problem.
>
> Thanks in advance for any help anyone offers.
>
> Lee.
>

Seems like You set up /bin/sh for normal user (it does not support
cmd_history, but it also real-unix-program and depend on console
setup, so £ sign work properly). And for root default shell is
/bin/csh (which is, as on man-page, in fact, tcsh. More powerful, with
cmd_history controlled by up/down keys). Try to look at TERM variable
('echo $TERM'). And check ~/.login ~/.cshrc files (with 'more'
command, or 'less', which is more apprepriate for You). There may b
some setup for console that changed it behavior in such way. And one
question to You: is it Your first FreeBSD box, or first UNIX-box at
all. In 2nd case, mail if something is not clear for You.

With respect,

Alexander V Zubchenko,		E-Mail: stalker@hermes-comp.zp.ua
System Administrator,		WWW: http://www.hermes-comp.zp.ua/
Hermes-comp,
Ukraine,
Zaporizhzhya,
Geroev Stalingrada 50
phone/fax: +380 612 64-19-72



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020621092948.B21649-100000>