*BSD News Article 98189


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in3.uu.net!206.154.70.8!news.webspan.net!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.nacamar.de!fu-berlin.de!unlisys!cs.tu-berlin.de!news.uni-hamburg.de!news.Hanse.DE!wavehh.hanse.de!cracauer
From: cracauer@wavehh.hanse.de (Martin Cracauer)
Subject: Re: Emacs META?
Message-ID: <1997Jun22.174630.17065@wavehh.hanse.de>
Reply-To: cracauer@wavehh.hanse.de
Organization: '(a (cons tructive organization))
References: <5oh1va$mcq@lace.colorado.edu>
Date: Sun, 22 Jun 97 17:46:30 GMT
Lines: 389
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43307

mittonk@fiske.Colorado.EDU (Ken Mitton) writes:

>I'm switching over from Linux, and am trying to get Emacs running.
>Currently, everything works except Alt won't work as Meta
>as in Linux (I'm using character-mode).  Looked at the keyboard
>maps, but couldn't figure out how to make, for example, 
>alt-x sent esc,x.   Any suggestions?

Here's a relevant discussion. See below for a new keyboard map file to
load into syscons.

Alternativly, pcvt with Meta option works just great for me.

From lutzifer!blizzard.gaffaneys.com!zach  Thu Oct 10 08:52:55 1996
Return-Path: <lutzifer!blizzard.gaffaneys.com!zach>
Received: from lutzifer.UUCP by wavehh.hanse.de (4.1/SMI-4.1)
	id AA29333; Thu, 10 Oct 96 08:52:53 +0200
Received: from bedrock.gaffaneys.com [134.129.252.27] by mail.hanse.de with smtp
	  for <cracauer@wavehh.hanse.de> id <m0vBDZ6-0004fBC@mail.hanse.de>; Thu, 10 Oct 96 06:21 MET
Received: (from zach@localhost) by bedrock.gaffaneys.com (8.7.5/8.7.3) id AAA01905; Thu, 10 Oct 1996 00:22:36 -0500 (CDT)
Sender: zach@blizzard.gaffaneys.com
To: cracauer@wavehh.hanse.de (Martin Cracauer)
Cc: freebsd-hackers@FreeBSD.org
Subject: Re: Alt/Meta-Key problems/ pty problem?
References: <9610091039.AA13572@wavehh.hanse.de>
From: Zach Heilig <zach@blizzard.gaffaneys.com>
Date: 10 Oct 1996 00:22:34 -0500
In-Reply-To: cracauer@wavehh.hanse.de's message of Wed, 9 Oct 1996 12:39:24 +0200 (MET DST)
Message-Id: <87buebv1et.fsf@bedrock.gaffaneys.com>
Lines: 28
X-Mailer: Gnus v5.3/Emacs 19.34
Status: RO

cracauer@wavehh.hanse.de (Martin Cracauer) writes:

> I noticed that the Alt-(Meta) Key for emacs doesn't work with
> FreeBSD. This happens since at least 2.0.5 and still is a problem on
> 0801-Snap. This works with NetBSD.

Works fine for me, now that I figured out what was wrong.  You need
this line in your .emacs file:

(set-input-mode t nil t)

or something like it.  type 'C-Hdset-input-mode' for documentation.
It should be the first line, or if you're like me and start typing
before the editor has completely loaded, you'll notice some nasty
side-effects.

The other thing you have to do is copy and modify the appropriate
keyboard definition file in /usr/share/syscons/keymaps.  All the
entries under an 'Alt' header need to have the 8th bit set.

I have a keyboard definition file I can mail those who want it, but it
isn't quite like any of the others (ctrl-alt-delete is mapped to
Meta-DEL, for instance).

-- 
Zach Heilig (zach@blizzard.gaffaneys.com) | ALL unsolicited commercial email
Support bacteria -- it's the              | is unwelcome.  I avoid dealing
only culture some people have!            | with companies that email ads.

From lutzifer!time.cdrom.com!jkh  Thu Oct 10 05:00:24 1996
Return-Path: <lutzifer!time.cdrom.com!jkh>
Received: from lutzifer.UUCP by wavehh.hanse.de (4.1/SMI-4.1)
	id AA29511; Thu, 10 Oct 96 05:00:17 +0200
Received: from time.cdrom.com [204.216.27.226] by mail.hanse.de with smtp
	  for <cracauer@wavehh.hanse.de> id <m0vB7Xi-0004fBC@mail.hanse.de>; Wed, 9 Oct 96 23:55 MET
Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.6/8.6.9) with ESMTP id PAA24032; Wed, 9 Oct 1996 15:54:04 -0700 (PDT)
To: Chuck Robey <chuckr@glue.umd.edu>
Cc: Brant Katkansky <bmk@fta.com>, Mark Diekhans <markd@grizzly.com>,
        cracauer@wavehh.hanse.de, freebsd-hackers@FreeBSD.org
Subject: Re: Alt/Meta-Key problems/ pty problem? 
In-Reply-To: Your message of "Wed, 09 Oct 1996 18:37:31 EDT."
             <Pine.OSF.3.95.961009183645.8401G-100000@thurston.eng.umd.edu> 
Date: Wed, 09 Oct 1996 15:54:04 -0700
Message-Id: <24030.844901644@time.cdrom.com>
From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Status: RO

> Not particularly hard to do with X ... do a 'man xmodmap'.  It tells how
> to do key remapping.

I think we've wandered off topic - the original post dealt with the
META key not being enabled by default under syscons, and I think we
should stick with that issue until it's resolved before going on to
X. :-)

					Jordan

From lutzifer!glue.umd.edu!chuckr  Thu Oct 10 05:00:19 1996
Return-Path: <lutzifer!glue.umd.edu!chuckr>
Received: from lutzifer.UUCP by wavehh.hanse.de (4.1/SMI-4.1)
	id AA29503; Thu, 10 Oct 96 05:00:16 +0200
Received: from po2.glue.umd.edu [129.2.128.45] by mail.hanse.de with smtp
	  for <cracauer@wavehh.hanse.de> id <m0vB7G4-0004fCC@mail.hanse.de>; Wed, 9 Oct 96 23:37 MET
Received: from thurston.eng.umd.edu (thurston.eng.umd.edu [129.2.103.25]) by po2.glue.umd.edu (8.8.0/8.7.3) with ESMTP id SAA05554; Wed, 9 Oct 1996 18:37:32 -0400 (EDT)
Received: from localhost (chuckr@localhost) by thurston.eng.umd.edu (8.7.5/8.7.3) with SMTP id SAA08899; Wed, 9 Oct 1996 18:37:32 -0400 (EDT)
X-Authentication-Warning: thurston.eng.umd.edu: chuckr owned process doing -bs
Date: Wed, 9 Oct 1996 18:37:31 -0400 (EDT)
From: Chuck Robey <chuckr@glue.umd.edu>
X-Sender: chuckr@thurston.eng.umd.edu
To: Brant Katkansky <bmk@fta.com>
Cc: "Jordan K. Hubbard" <jkh@time.cdrom.com>,
        Mark Diekhans <markd@grizzly.com>, cracauer@wavehh.hanse.de,
        freebsd-hackers@FreeBSD.org
Subject: Re: Alt/Meta-Key problems/ pty problem?
In-Reply-To: <325C0934.24AE@fta.com>
Message-Id: <Pine.OSF.3.95.961009183645.8401G-100000@thurston.eng.umd.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: RO

On Wed, 9 Oct 1996, Brant Katkansky wrote:

> Jordan K. Hubbard wrote:
> > 
> > > Meta-keys for curses emacs are 8-bit characters.  By default, syscons doesn't
> > > generate them for the alt key. The kbdcontrol control command can be used
> > 
> > Is THAT why.  I, for one, would love to see it do that by Default!
> > 
> 
> This is sort of related...
> 
> I'd love to be able to change the key mappings under XFree86 so
> that my function keys behave like the L? keys on my Sun.
> 
> I've figured out how to do this under Solaris x86, but I can't
> get it to fly under FreeBSD.
> 
> Any suggestions?

Not particularly hard to do with X ... do a 'man xmodmap'.  It tells how
to do key remapping.

> 

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@eng.umd.edu          | communications topic, C programming, and Unix.
9120 Edmonston Ct #302      |
Greenbelt, MD 20770         | I run Journey2 and n3lxx, both FreeBSD
(301) 220-2114              | version 2.2 current -- and great FUN!
----------------------------+-----------------------------------------------

From lutzifer!fta.com!bmk  Wed Oct  9 23:46:02 1996
Return-Path: <lutzifer!fta.com!bmk>
Received: from lutzifer.UUCP by wavehh.hanse.de (4.1/SMI-4.1)
	id AA15618; Wed, 9 Oct 96 23:46:00 +0200
Received: from fta.com [205.139.102.1] by mail.hanse.de with smtp
	  for <cracauer@wavehh.hanse.de> id <m0vB5BF-0004fFC@mail.hanse.de>; Wed, 9 Oct 96 21:24 MET
Received: from ms85 ([206.29.170.1]) by fta.com (5.x/SMI-SVR4)
	id AA00251; Wed, 9 Oct 1996 13:19:26 -0700
Sender: brantk@fta.com
Message-Id: <325C0934.24AE@fta.com>
Date: Wed, 09 Oct 1996 13:21:08 -0700
From: Brant Katkansky <bmk@fta.com>
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.4 sun4m)
Mime-Version: 1.0
To: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc: Mark Diekhans <markd@Grizzly.COM>, cracauer@wavehh.hanse.de,
        freebsd-hackers@freebsd.org
Subject: Re: Alt/Meta-Key problems/ pty problem?
References: <22875.844886162@time.cdrom.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Status: RO

Jordan K. Hubbard wrote:
> 
> > Meta-keys for curses emacs are 8-bit characters.  By default, syscons doesn't
> > generate them for the alt key. The kbdcontrol control command can be used
> 
> Is THAT why.  I, for one, would love to see it do that by Default!
> 

This is sort of related...

I'd love to be able to change the key mappings under XFree86 so
that my function keys behave like the L? keys on my Sun.

I've figured out how to do this under Solaris x86, but I can't
get it to fly under FreeBSD.

Any suggestions?

From lutzifer!time.cdrom.com!jkh  Wed Oct  9 23:46:02 1996
Return-Path: <lutzifer!time.cdrom.com!jkh>
Received: from lutzifer.UUCP by wavehh.hanse.de (4.1/SMI-4.1)
	id AA15608; Wed, 9 Oct 96 23:45:59 +0200
Received: from time.cdrom.com [204.216.27.226] by mail.hanse.de with smtp
	  for <cracauer@wavehh.hanse.de> id <m0vB3V4-0004fCC@mail.hanse.de>; Wed, 9 Oct 96 19:36 MET
Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.6/8.6.9) with ESMTP id LAA22877; Wed, 9 Oct 1996 11:36:02 -0700 (PDT)
To: Mark Diekhans <markd@Grizzly.COM>
Cc: cracauer@wavehh.hanse.de, freebsd-hackers@freebsd.org
Subject: Re: Alt/Meta-Key problems/ pty problem? 
In-Reply-To: Your message of "Wed, 09 Oct 1996 08:27:11 PDT."
             <199610091527.IAA01019@osprey.grizzly.com> 
Date: Wed, 09 Oct 1996 11:36:02 -0700
Message-Id: <22875.844886162@time.cdrom.com>
From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Status: RO

> Meta-keys for curses emacs are 8-bit characters.  By default, syscons doesn't
> generate them for the alt key. The kbdcontrol control command can be used

Is THAT why.  I, for one, would love to see it do that by Default!

Soooooreeeeen? :-)

						Jordan

From lutzifer!osprey.grizzly.com!markd  Wed Oct  9 18:14:36 1996
Return-Path: <lutzifer!osprey.grizzly.com!markd>
Received: from lutzifer.UUCP by wavehh.hanse.de (4.1/SMI-4.1)
	id AA14712; Wed, 9 Oct 96 18:14:35 +0200
Received: from scruz.net [165.227.1.2] by mail.hanse.de with smtp
	  for <cracauer@wavehh.hanse.de> id <m0vB0YS-0004fCC@mail.hanse.de>; Wed, 9 Oct 96 16:28 MET
Received: from osprey.grizzly.com by scruz.net (8.7.3/1.34)
	id IAA01280; Wed, 9 Oct 1996 08:27:18 -0700 (PDT)
Received: (from markd@localhost) by osprey.grizzly.com (8.7.5/8.7.3) id IAA01022; Wed, 9 Oct 1996 08:27:47 -0700 (PDT)
Date: Wed, 9 Oct 1996 08:27:47 -0700 (PDT)
Message-Id: <199610091527.IAA01022@osprey.grizzly.com>
From: Mark Diekhans <markd@Grizzly.COM>
To: cracauer@wavehh.hanse.de
In-Reply-To: <9610091039.AA13572@wavehh.hanse.de> (cracauer@wavehh.hanse.de)
Subject: Re: Alt/Meta-Key problems/ pty problem?
Status: RO


Here is the keyboard file.  Use:

kbdcontrol -l emacs.kbd

to enable it...

#                                                         alt
# scan                       cntrl          alt    alt   cntrl lock
# code  base   shift  cntrl  shift  alt    shift  cntrl  shift state
# ------------------------------------------------------------------
  000   nop    nop    nop    nop    nop    nop    nop    nop     O
  001   esc    esc    esc    esc    esc    esc    debug  esc     O
  002   '1'    '!'    nop    nop    0xb1   0xa1   nop    nop     O
  003   '2'    '@'    nul    nul    0xb2   0xc0   nul    nul     O
  004   '3'    '#'    nop    nop    0xb3   0xa3   nop    nop     O
  005   '4'    '$'    nop    nop    0xb4   0xa4   nop    nop     O
  006   '5'    '%'    nop    nop    0xb5   0xa5   nop    nop     O
  007   '6'    '^'    rs     rs     0xb6   0xde   rs     rs      O
  008   '7'    '&'    nop    nop    0xb7   0xa6   nop    nop     O
  009   '8'    '*'    nop    nop    0xb8   0xaa   nop    nop     O
  010   '9'    '('    nop    nop    0xb9   0xa8   nop    nop     O
  011   '0'    ')'    nop    nop    0xb0   0xa9   nop    nop     O
  012   '-'    '_'    ns     ns     0xad   0xdf   ns     ns      O
  013   '='    '+'    nop    nop    0xbd   0xab   nop    nop     O
  014   bs     bs     del    del    bs     bs     del    del     O
  015   ht     btab   nop    nop    ht     btab   nop    nop     O
  016   'q'    'Q'    dc1    dc1    0xf1   0xd1   dc1    dc1     C
  017   'w'    'W'    etb    etb    0xf7   0xd7   etb    etb     C
  018   'e'    'E'    enq    enq    0xe5   0xc5   enq    enq     C
  019   'r'    'R'    dc2    dc2    0xf2   0xd2   dc2    dc2     C
  020   't'    'T'    dc4    dc4    0xf4   0xd4   dc4    dc4     C
  021   'y'    'Y'    em     em     0xf9   0xd9   em     em      C
  022   'u'    'U'    nak    nak    0xf5   0xd5   nak    nak     C
  023   'i'    'I'    ht     ht     0xe9   0xc9   ht     ht      C
  024   'o'    'O'    si     si     0xef   0xcf   si     si      C
  025   'p'    'P'    dle    dle    0xf0   0xd0   dle    dle     C
  026   '['    '{'    esc    esc    0xdb   0xfb   esc    esc     O
  027   ']'    '}'    gs     gs     0xdd   0xfd   gs     gs      O
  028   cr     cr     nl     nl     cr     cr     nl     nl      O
  029   lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
  030   'a'    'A'    soh    soh    0xe1   0xc1   soh    soh     C
  031   's'    'S'    dc3    dc3    0xf3   0xd3   dc3    dc3     C
  032   'd'    'D'    eot    eot    0xe4   0xc4   eot    eot     C
  033   'f'    'F'    ack    ack    0xe6   0xc6   ack    ack     C
  034   'g'    'G'    bel    bel    0xe7   0xc7   bel    bel     C
  035   'h'    'H'    bs     bs     0xe8   0xc8   bs     bs      C
  036   'j'    'J'    nl     nl     0xea   0xca   nl     nl      C
  037   'k'    'K'    vt     vt     0xeb   0xcb   vt     vt      C
  038   'l'    'L'    ff     ff     0xec   0xcc   ff     ff      C
  039   ';'    ':'    nop    nop    0xbb   0xba   nop    nop     O
  040   '''    '"'    nop    nop    0xa7   0xa2   nop    nop     O
  041   '`'    '~'    nop    nop    0xe0   0xfe   nop    nop     O
  042   lshift lshift lshift lshift lshift lshift lshift lshift  O
  043   '\'    '|'    fs     fs     0xdc   0xfc   fs     fs      O
  044   'z'    'Z'    sub    sub    0xfa   0xda   sub    sub     C
  045   'x'    'X'    can    can    0xf8   0xd8   can    can     C
  046   'c'    'C'    etx    etx    0xe3   0xc3   etx    etx     C
  047   'v'    'V'    syn    syn    0xf6   0xd6   syn    syn     C
  048   'b'    'B'    stx    stx    0xe2   0xc2   stx    stx     C
  049   'n'    'N'    so     so     0xee   0xce   so     so      C
  050   'm'    'M'    cr     cr     0xed   0xcd   cr     cr      C
  051   ','    '<'    nop    nop    0xac   0xbc   nop    nop     O
  052   '.'    '>'    nop    nop    0xae   0xbe   nop    nop     O
  053   '/'    '?'    nop    nop    0xaf   0xbf   nop    nop     O
  054   rshift rshift rshift rshift rshift rshift rshift rshift  O
  055   '*'    '*'    nscr   nscr   0xaa   0xaa   nscr   nscr    O
  056   lalt   lalt   lalt   lalt   lalt   lalt   lalt   lalt    O
  057   ' '    ' '    nul    ' '    0xa0   0xa0   130    ' '     O
  058   clock  clock  clock  clock  clock  clock  clock  clock   O
  059   fkey01 fkey13 fkey25 fkey37 scr01  scr11  scr01  scr11   O
  060   fkey02 fkey14 fkey26 fkey38 scr02  scr12  scr02  scr12   O
  061   fkey03 fkey15 fkey27 fkey39 scr03  scr13  scr03  scr13   O
  062   fkey04 fkey16 fkey28 fkey40 scr04  scr14  scr04  scr14   O
  063   fkey05 fkey17 fkey29 fkey41 scr05  scr15  scr05  scr15   O
  064   fkey06 fkey18 fkey30 fkey42 scr06  scr16  scr06  scr16   O
  065   fkey07 fkey19 fkey31 fkey43 scr07  scr07  scr07  scr07   O
  066   fkey08 fkey20 fkey32 fkey44 scr08  scr08  scr08  scr08   O
  067   fkey09 fkey21 fkey33 fkey45 scr09  scr09  scr09  scr09   O
  068   fkey10 fkey22 fkey34 fkey46 scr10  scr10  scr10  scr10   O
  069   nlock  nlock  nlock  nlock  nlock  nlock  nlock  nlock   O
  070   slock  slock  slock  slock  slock  slock  slock  slock   O
  071   fkey49 '7'    '7'    '7'    0xb7   0xb7   '7'    '7'     N
  072   fkey50 '8'    '8'    '8'    0xb8   0xb8   '8'    '8'     N
  073   fkey51 '9'    '9'    '9'    0xb9   0xb9   '9'    '9'     N
  074   fkey52 '-'    '-'    '-'    0xad   0xad   '-'    '-'     N
  075   fkey53 '4'    '4'    '4'    0xb4   0xb4   '4'    '4'     N
  076   nop    '5'    '5'    '5'    0xb5   0xb5   '5'    '5'     N
  077   fkey55 '6'    '6'    '6'    0xb6   0xb6   '6'    '6'     N
  078   fkey56 '+'    '+'    '+'    0xab   0xab   '+'    '+'     N
  079   fkey57 '1'    '1'    '1'    0xb1   0xb1   '1'    '1'     N
  080   fkey58 '2'    '2'    '2'    0xb2   0xb2   '2'    '2'     N
  081   fkey59 '3'    '3'    '3'    0xb3   0xb3   '3'    '3'     N
  082   fkey60 '0'    '0'    '0'    0xb0   0xb0   '0'    '0'     N
  083   del    '.'    del    del    del    del    boot   del     N
  084   nop    nop    nop    nop    nop    nop    nop    nop     O
  085   nop    nop    nop    nop    nop    nop    nop    nop     O
  086   nop    nop    nop    nop    nop    nop    nop    nop     O
  087   fkey11 fkey23 fkey35 fkey47 scr11  scr11  scr11  scr11   O
  088   fkey12 fkey24 fkey36 fkey48 scr12  scr12  scr12  scr12   O
  089   cr     cr     cr     cr     cr     cr     cr     cr      O
  090   rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl   O
  091   '/'    '/'    '/'    '/'    0xaf   0xaf   '/'    '/'     O
  092   nscr   nop    debug  nop    nop    nop    nop    nop     O
  093   ralt   ralt   ralt   ralt   ralt   ralt   ralt   ralt    O
  094   fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49  O
  095   fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50  O
  096   fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51  O
  097   fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53  O
  098   fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55  O
  099   fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57  O
  100   fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58  O
  101   fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59  O
  102   fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60  O
  103   fkey54 fkey54 fkey54 fkey54 fkey54 fkey54 boot   fkey54  O
  104   slock  slock  slock  slock  slock  slock  slock  slock   O
  105   fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61  O
  106   fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62  O
  107   fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63  O

From lutzifer!osprey.grizzly.com!markd  Wed Oct  9 18:14:34 1996
Return-Path: <lutzifer!osprey.grizzly.com!markd>
Received: from lutzifer.UUCP by wavehh.hanse.de (4.1/SMI-4.1)
	id AA14705; Wed, 9 Oct 96 18:14:32 +0200
Received: from scruz.net [165.227.1.2] by mail.hanse.de with smtp
	  for <cracauer@wavehh.hanse.de> id <m0vB0XL-0004fCC@mail.hanse.de>; Wed, 9 Oct 96 16:27 MET
Received: from osprey.grizzly.com by scruz.net (8.7.3/1.34)
	id IAA01243; Wed, 9 Oct 1996 08:26:40 -0700 (PDT)
Received: (from markd@localhost) by osprey.grizzly.com (8.7.5/8.7.3) id IAA01019; Wed, 9 Oct 1996 08:27:11 -0700 (PDT)
Date: Wed, 9 Oct 1996 08:27:11 -0700 (PDT)
Message-Id: <199610091527.IAA01019@osprey.grizzly.com>
From: Mark Diekhans <markd@Grizzly.COM>
To: cracauer@wavehh.hanse.de
Cc: freebsd-hackers@freebsd.org
In-Reply-To: <9610091039.AA13572@wavehh.hanse.de> (cracauer@wavehh.hanse.de)
Subject: Re: Alt/Meta-Key problems/ pty problem?
Status: RO

>The problem occures on all non-native-X11 emacs instances, with
>rlogin, telnet, on the system console etc.
...
>If so, would you provide some hints where to get information on how
>things should work? How do one use the Meta key in an application? How
>is the key status transported trough the tty? How is responsible for
>managing the status of the new modifier key: the pty, the keyboard
>driver, the application, Elvis or who or what? Or is it just magic :-)?

Meta-keys for curses emacs are 8-bit characters.  By default, syscons doesn't
generate them for the alt key. The kbdcontrol control command can be used
to modify the characters generated by the keyboard.  I will send you my
keyboard file...

Mark

-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin_Cracauer@wavehh.hanse.de http://cracauer.cons.org  Fax.: +4940 5228536
"As far as I'm concerned,  if something is so complicated that you can't ex-
 plain it in 10 seconds, then it's probably not worth knowing anyway"- Calvin