Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2000 19:20:05 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        "McClain, Michael (SD-EX)" <MMcClain@gi.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: stty assignment
Message-ID:  <20000516192005.E233@parish>
In-Reply-To: <973597126BDDD11197AA00805FA7EBC90297CDBF@ntas0026.gi.com>; from MMcClain@gi.com on Tue, May 16, 2000 at 11:44:51AM -0400
References:  <973597126BDDD11197AA00805FA7EBC90297CDBF@ntas0026.gi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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/<your keymap>
> > 
> >   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




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