*BSD News Article 35070


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!convex!hermes.oc.com!news.unt.edu!cs.utexas.edu!swrinde!emory!nntp.msstate.edu!olivea!grapevine.lcs.mit.edu!grapevine.lcs.mit.edu!alan
From: alan@lcs.mit.edu (Alan Bawden)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: [SYSCONS] Can't the PC keyboard send ctl-space?
Date: 27 Aug 94 23:04:08
Organization: ITS Preservation Society
Lines: 29
Message-ID: <ALAN.94Aug27230408@parsley.lcs.mit.edu>
References: <miff.777811349@apanix.apana.org.au> <33l4hl$kv8@pdq.coe.montana.edu>
NNTP-Posting-Host: parsley.lcs.mit.edu
In-reply-to: nate@bsd.coe.montana.edu's message of 26 Aug 1994 16:16:53 GMT

In article <33l4hl$kv8@pdq.coe.montana.edu> 
nate@bsd.coe.montana.edu (Nate Williams) writes:

   In article <miff.777811349@apanix.apana.org.au>,
   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
   >I've used respond to this - they just send a space.

   Nope, emacs doesn't do this be default.  Change your .emacs file to
   map C-SPACE to set the mark.

   (global-set-key "\e " 'set-mark-command)


No, that's M-SPACE.  He said C-SPACE.  Now in fact, there is no such
character as C-SPACE -- what he -means- is C-@.  Many terminals generate
C-@ when you hold down CTRL and strike the space bar, and so there are a
number of us Emacs users who have the habit of typing C-@ that way.

Indeed, syscons doesn't have this behavior by default, but since syscons
lets you reprogram the keyboard pretty much arbitrarily, you can easily
-make- it do what you want.  See the `kbdcontrol' man page in FreeBSD
1.1.5.1.
--
Alan Bawden                                               Alan@Epilogue.Com
Epilogue Technology Corp.                                    (617) 245-0804
333 North Avenue
Wakefield, MA                              06BF9EB8FC4CFC24DC75BDAE3BB25C4B