From owner-freebsd-questions Mon Apr 12 13:25:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id 9674114FC1 for ; Mon, 12 Apr 1999 13:25:07 -0700 (PDT) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by finch-post-10.mail.demon.net with smtp (Exim 2.12 #1) id 10WnEC-0002fF-0A; Mon, 12 Apr 1999 20:22:44 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from marder-1. (rasnt-1 [193.114.228.211]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id VAA04371; Mon, 12 Apr 1999 21:22:10 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id VAA00444; Mon, 12 Apr 1999 21:18:39 +0100 (BST) (envelope-from marko) Date: Mon, 12 Apr 1999 21:18:39 +0100 From: Mark Ovens To: Ben Cohen Cc: Doug White , questions@freebsd.org Subject: Re: Two questions Message-ID: <19990412211839.D250@marder-1.localhost> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Ben Cohen on Mon, Apr 12, 1999 at 08:01:15PM +0100 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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