*BSD News Article 42550


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!newshost.marcam.com!news.kei.com!ddsw1!not-for-mail
From: chilton@MCS.COM (Christopher Hilton)
Newsgroups: comp.os.386bsd.questions
Subject: Re: FBSD 2.0-SNAP: Backspace ASCII code
Date: 16 Feb 1995 19:44:43 -0600
Organization: /usr/lib/news/organi[sz]ation
Lines: 45
Message-ID: <3i0v2b$1hq@Mars.mcs.com>
References: <3g8poc$c3f@Owl.nstn.ca> <3h4610$9m@awfulhak.demon.co.uk> <3htsjv$j4@crl.crl.com> <1995Feb16.221025.7895@news.csuohio.edu>
NNTP-Posting-Host: mars.mcs.com

In article <1995Feb16.221025.7895@news.csuohio.edu>,
Yaser K. Doleh <doleh@cis.csuohio.edu> wrote:
>In article <3htsjv$j4@crl.crl.com>, ggrant@crl.com (Gary E. Grant) writes:
>|> In article <3h4610$9m@awfulhak.demon.co.uk>,
>|> Brian Somers <brian@awfulhak.demon.co.uk> wrote:
>|> >Mike Digdon (digdon@Snoopy.UCIS.Dal.Ca) wrote:
>|> >: I'm pretty annoyed by the fact that FBSD is mapping my backspace key to ^H,
>|> >: and everything wants to see ^?.  I need to do a stty erase ^H to fix this,
>|> >: but if I use kermit to connect anywhere, it stops working.  Same as when I
>|> >: su to root.
>|> >
>|> >: Is there any way to make the backspace key be ^? instead of ^H?
>|> >
>|> 
>|> stty erase ^?
>|> 
>
>The Delete key generates ^?

As does the Ctrl-Bksp combo. You can change the value of the Bksp key
to be ^? by editing the keymap table. You can have this process happen
automatically by loading your patch from /etc/rc.local or such. The
place to start is the man page for kybdcontrol. Basically:

     1) use kbdcontrol to save the current keyboard state to a file
     2) edit the file to suit your needs
     3) load the new keyboard file

     4) when you're happy put the keyboard file into 
        /usr/share/syscons/keymaps and load it at boot time from /etc/rc.local

Should this be in the FAQ, is this in the FAQ?

C.


-- 
Christopher Sean Hilton	                       E-mail: chilton@mcs.com
----------------------------------------------------------------------
ICBM address:           | "Thus it is said if you know them and know 
  42 07 39 N/87 49 44 W | yourself, your victory will not be imperiled.
For PGP key finger:     | If you know Heaven and you know Earth, your 
     chilton@mcs.com    | victory will be complete." - Sun Tsu
----------------------------------------------------------------------