From owner-freebsd-questions Wed May 17 6:48:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from rhenium.btinternet.com (rhenium.btinternet.com [194.73.73.93]) by hub.freebsd.org (Postfix) with ESMTP id 5824537B562 for ; Wed, 17 May 2000 06:48:31 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from [62.6.101.160] (helo=parish.my.domain) by ruthenium.btinternet.com with esmtp (Exim 2.05 #1) id 12rm3C-0002M0-00; Tue, 16 May 2000 19:26:39 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id TAA01088; Tue, 16 May 2000 19:20:05 +0100 (BST) (envelope-from mark) Date: Tue, 16 May 2000 19:20:05 +0100 From: Mark Ovens To: "McClain, Michael (SD-EX)" Cc: "'freebsd-questions@freebsd.org'" Subject: Re: stty assignment Message-ID: <20000516192005.E233@parish> References: <973597126BDDD11197AA00805FA7EBC90297CDBF@ntas0026.gi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <973597126BDDD11197AA00805FA7EBC90297CDBF@ntas0026.gi.com>; from MMcClain@gi.com on Tue, May 16, 2000 at 11:44:51AM -0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, May 16, 2000 at 11:44:51AM -0400, McClain, Michael (SD-EX) wrote: > If as you say stty assignments must be one character, then that explains why > my feeble attempts have failed. I didn't notice limit in the man pages but > will re-read. I'm not 100% certain, but it looks that way to me (I once tried something similar myself, and came to that conclusion). > Since I'm sure stty is called after the kernal has loaded keymaps, I > hadn't even considered such a limit. I must admit to being a little > confused about when and where it's best to configure the keyboard > beyond choice of keymap. I've read man pages, the Handbook, > 'Complete FreeBSD', Keyboard Howtos and anything else I can get my > hands on but have yet to see clearly how to do what I want to do. > Are you wanting to do this on the console or in X (xterm or similar)? > In a similar vein, my reply to a previous message of yours got bounced back > to me as undeliverable so here's the gist of it. > Ah yes, I use the FreeBSD UKUG's mail server and it went down over Easter, and the sysadmin appeared to be on holiday for a week (we had 2 consecutive Bank Holidays that week) > > In /usr/share/syscons/keymaps/ > > > > 092 nscr nscr debug debug nop nop nop nop O > > ^^^^^^^^^^^^^^^^^ > > > > If you change the second ``nscr'' to ``pscr'' then Shift-PrScr will switch > > to the previous vty. > > I tried this but when I tried to reload the keymap,I got error unrecognized > call. > I'm using FreeBSD 3.4 straight off the CD, yours is newer? Yes, 4.0-STABLE. I guess it's a new 4.0 feature (you could try checking the cvs logs for kbdcontrol). > TTFN, MiKe > > PS: FreeBSD kbdcontrol ~= linux loadkey? Dunno. > TIA, MiKe > > > ---------- > > From: Mark Ovens[SMTP:mark@ukug.uk.freebsd.org] > > Sent: Monday, May 15, 2000 12:33 PM > > To: McClain, Michael (SD-EX) > > Cc: 'freebsd-questions@freebsd.org' > > Subject: Re: stty assignment > > > > On Mon, May 15, 2000 at 01:23:41PM -0400, McClain, Michael (SD-EX) wrote: > > > I have a 101 keyboard and though I've read the man pages and tried a > > > number of things, I can't seem to make an assignment of Right > > > Control + Left Arrow cursor key to the stty werase function. Any > > > pointers would be appreciated. TIA, MiKe > > > > > > > I'm not so sure you can. Doesn't werase have to be a single character > > (or single Ctrl character)? The left arrow key sends the 2-character > > sequence ESC-O D. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- ...and on the eighth day God created UNIX ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message