Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 1999 21:20:17 -0400 (EDT)
From:      Patrick Seal <patseal@hyperhost.net>
To:        Mark Ovens <marko@uk.radan.com>
Cc:        Ben Cohen <bjc23@hermes.cam.ac.uk>, Doug White <dwhite@resnet.uoregon.edu>, questions@FreeBSD.ORG
Subject:   Re: Two questions
Message-ID:  <Pine.BSF.4.10.9904132118420.551-100000@foobar.hyperhost.net>
In-Reply-To: <19990412211839.D250@marder-1.localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
I have the same problem, in Xterm.  I switched to rxvt and the problem
stopped.  I have no idea why rxvt works and Xterm doesn't.

------------------------------------ _____________________________________
Patrick Seal                        |"Microsoft isn't evil, they just make
<patseal@hyperhost.net>             |   really crappy operating systems."
Hyperhost - http://www.hyperhost.net| -Linus Torvalds
hosting and Design

http://www.freebsd.org - http://www.linux.org




On Mon, 12 Apr 1999, Mark Ovens wrote:

> 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
> 



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?Pine.BSF.4.10.9904132118420.551-100000>