Date: Mon, 12 Apr 1999 21:18:39 +0100 From: Mark Ovens <marko@uk.radan.com> To: Ben Cohen <bjc23@hermes.cam.ac.uk> Cc: Doug White <dwhite@resnet.uoregon.edu>, questions@freebsd.org Subject: Re: Two questions Message-ID: <19990412211839.D250@marder-1.localhost> In-Reply-To: <Pine.SOL.3.95q.990412195726.5120B-100000@red.csi.cam.ac.uk>; from Ben Cohen on Mon, Apr 12, 1999 at 08:01:15PM %2B0100 References: <Pine.BSF.4.03.9904121155180.3957-100000@resnet.uoregon.edu> <Pine.SOL.3.95q.990412195726.5120B-100000@red.csi.cam.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 12, 1999 at 08:01:15PM +0100, Ben Cohen wrote:
> On Mon, 12 Apr 1999, Doug White wrote:
>
> >> Firstly, when using some applications, particularly vi, in an xterm under
> >> X the numeric keypad produces garbage like
> >> y
> >> x
> >> w
> >> v
> >> u
> >> this when I try to use it to get numbers.
> >
> >You _do_ have NumLock on, right?
>
> Yes, I do. The arrows seem to work OK when it NumLock is off.
>
> (I'm using termcap xterm-color. I have noticed similar things happen in
> vi and vim when using them via telnet from Windows. It could be a
> termcap problem.)
>
> >I've not had this problem since the 2.1.X days.
>
> I forgot to say I'm using 3.0 Release (I think) from December 1998.
>
> >> I have
> >>
> >> # Let the server do the NumLock processing. This should only be required
> >> # when using pre-R6 clients
> >> ServerNumLock
> >>
> >> in XF86Config. (This is necessary to make other applications work
> >> properly.)
> >>
> >> Is there any way to stop this from happening?
> >
> >Take that directive out; it makes NumLock do nutty things.
>
FWIW, ServerNumLock is commented out in my /etc/XF86Config and my
kbd behaves exactly the same as yours, i.e. the arrow keys work
with NumLock off and I get a single letter & linefeed when the
NumLock is off. I'm running 3.1 off the CDs.
Just a thought but, we are both in the UK and so will (probably)
have our keyboards setup differently to Doug. These are my settings
for the kbd in /etc/XF86Config:
Protocol "Standard"
XkbRules "xfree86"
XkbModel "pc102"
XkbLayout "gb"
XkbOptions "ctrl:swapcaps"
and in /etc/rc.conf I have:
keymap="uk.cp850" # keymap in /usr/share/syscons/keymaps/* (or NO).
> If I do that then the numeric keypad doesn't work properly in other
> applications (other than xterm). How can I fix this?
>
> >> Secondly, kernel messages go to the console. Is there any way of
> >> redirecting the console to, say, /dev/ttyv2 so that when I log in on ttyv0
> >> I don't get lots of messages appearing on the screen?
> >
> >No, since /dev/console is glued to that vty. Just use a different vty; we
> >do here.
>
> Aha. That is a pity... It's worth knowing, though.
>
> Thanks,
>
> Ben.
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
--
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://www.users.globalnet.co.uk/~markov
_______________________________________________________________
Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
CAD/CAM solutions for Sheetmetal Working Industry
mailto:marko@uk.radan.com http://www.radan.com
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?19990412211839.D250>
