*BSD News Article 35429


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!sgiblab!darwin.sura.net!howland.reston.ans.net!EU.net!Germany.EU.net!nntp.gmd.de!urmel.informatik.rwth-aachen.de!acds.physik.rwth-aachen.de!kuku
From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: [SYSCONS] Can't the PC keyboard send ctl-space?
Date: 31 Aug 1994 08:43:06 GMT
Organization: Rechnerbetrieb Informatik - RWTH Aachen
Lines: 15
Message-ID: <341fqq$dt7@urmel.informatik.rwth-aachen.de>
References: <miff.777811349@apanix.apana.org.au>
NNTP-Posting-Host: acds.physik.rwth-aachen.de
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Newsreader: TIN [version 1.2 PL2]

Michael Smith (miff@apanix.apana.org.au) wrote:
: As every emacs person knows, you use C-SPACE to set the mark (ie send a
: null character), however neither syscons, nor any PC terminal program

You may experiment with the file /usr/share/syscons/keymaps/us.iso.kbd.
I changed the line for scan code 057 (third column was containing a ' ')
to contain a '\000', did a kbdcontrol -l mykeymap.kbd and voila,
C-SPACE returned a ^@ (null character). Note that on older systems that
command maybe syscons -k keymapfile (off memory).

: # mike smith : miff@apanix.apana.org.au - Silicon grease monkey        #

--
--Chris  Christoph P. U. Kukulies    kuku@acds.physik.rwth-aachen.de	 
FreeBSD 1.1.0(Current) (GILSYSCONS) #12: Fri Jun  3 13:36:12 MET DST 1994