From mark@doorway.homeip.net  Sat Nov 22 16:06:16 2003
Return-Path: <mark@doorway.homeip.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B7B2716A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 22 Nov 2003 16:06:16 -0800 (PST)
Received: from mail009.syd.optusnet.com.au (mail009.syd.optusnet.com.au [211.29.132.64])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DF4F143FA3
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 22 Nov 2003 16:06:13 -0800 (PST)
	(envelope-from mark@doorway.homeip.net)
Received: from doorway.homeip.net (c211-28-80-252.sunsh3.vic.optusnet.com.au [211.28.80.252])
	by mail009.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id hAN06C415835
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 Nov 2003 11:06:12 +1100
Received: from tbird.home.lan (tbird.home.lan [192.168.1.5])
	by doorway.homeip.net (8.12.9p2/8.12.9) with ESMTP id hAN06CEa039597
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 Nov 2003 11:06:12 +1100 (EST)
	(envelope-from mark@tbird.home.lan)
Received: from tbird.home.lan (tbird.home.lan [192.168.1.5])
	by tbird.home.lan (8.12.10/8.12.9) with ESMTP id hAN06GND028945
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 Nov 2003 11:06:16 +1100 (EST)
	(envelope-from mark@tbird.home.lan)
Received: (from mark@localhost)
	by tbird.home.lan (8.12.10/8.12.9/Submit) id hAN06GLA028944;
	Sun, 23 Nov 2003 11:06:16 +1100 (EST)
Message-Id: <200311230006.hAN06GLA028944@tbird.home.lan>
Date: Sun, 23 Nov 2003 11:06:16 +1100 (EST)
From: Mark Hannon <markhannon@optusnet.com.au>
Reply-To: Mark Hannon <markhannon@optusnet.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] Improved us.emacs.kbd mapping
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         59600
>Category:       conf
>Synopsis:       [patch] Improved us.emacs.kbd mapping
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 22 16:10:08 PST 2003
>Closed-Date:    
>Last-Modified:  Mon Dec 29 17:56:59 UTC 2008
>Originator:     Mark Hannon
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD tbird.home.lan 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Nov 22 17:31:08 EST 2003 mark@tbird.home.lan:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	
The standard us.emacs.kbd file adds handling of the META key to enable emacs like command
line editing however it breaks use of the up-arrow and down-arrow keys to recall the previous
command etc.

The included patch incorporates the META handling from us.emacs.kbd for ascii keycodes 
(and backspace) only in order to get the best of both worlds.
>How-To-Repeat:
	
>Fix:

Apply the following patch:

--- us.emacs.kbd	Sun Nov 23 10:56:51 2003
+++ us.emacs.kbd.orig	Sun Nov 23 10:59:23 2003
@@ -18,7 +18,7 @@
   012   '-'    '_'    us     us     173    223    159    159     O
   013   '='    '+'    nop    nop    189    171    nop    nop     O
   014   del    del    bs     bs     255    255    136    136     O
-  015   ht     btab   nop    nop    ht     btab   nop    nop     O
+  015   ht     ht     ht     ht     137    137    137    137     O
   016   'q'    'Q'    dc1    dc1    241    209    145    145     C
   017   'w'    'W'    etb    etb    247    215    151    151     C
   018   'e'    'E'    enq    enq    229    197    133    133     C
@@ -31,7 +31,7 @@
   025   'p'    'P'    dle    dle    240    208    144    144     C
   026   '['    '{'    esc    esc    219    251    155    155     O
   027   ']'    '}'    gs     gs     221    253    157    157     O
-  028   cr     cr     nl     nl     cr     cr     nl     nl      O
+  028   cr     cr     nl     nl     141    141    138    138     O
   029   lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
   030   'a'    'A'    soh    soh    225    193    129    129     C
   031   's'    'S'    dc3    dc3    243    211    147    147     C
@@ -86,29 +86,26 @@
   080   fkey58 '2'    '2'    '2'    178    178    178    178     N
   081   fkey59 '3'    '3'    '3'    179    179    179    179     N
   082   fkey60 '0'    '0'    '0'    176    176    176    176     N
-  083   del    '.'    '.'    '.'    '.'    '.'    boot   boot    N
-  084   nop    nop    nop    nop    nop    nop    nop    nop     O
+  083   nop    '.'    '.'    '.'    174    174    174    174     N
+  084   us     us     us     us     us     us     us     us      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     nl     nl     cr     cr     nl     nl      O
+  089   nop    cr     cr     cr     141    141    141    141     N
   090   rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl   O
-  091   '/'    '/'    '/'    '/'    '/'    '/'    '/'    '/'     N
-  092   nscr   pscr   debug  debug  nop    nop    nop    nop     O
+  091   nop    '/'    '/'    '/'    175    175    175    175     N
+  092   nop    '*'    '*'    '*'    170    170    170    170     N
   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 paste  fkey60 fkey60 fkey60 fkey60 fkey60 fkey60  O
-  103   fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot   fkey61  O
-  104   slock  saver  slock  saver  susp   nop    susp   nop     O
-  105   fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62  O
-  106   fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63  O
-  107   fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64  O
-  108   nop    nop    nop    nop    nop    nop    nop    nop     O
+  094   fkey49 '7'    '7'    '7'    183    183    183    183     N
+  095   fkey50 '8'    '8'    '8'    184    184    184    184     N
+  096   fkey51 '9'    '9'    '9'    185    185    185    185     N
+  097   fkey53 '4'    '4'    '4'    180    180    180    180     N
+  098   fkey55 '6'    '6'    '6'    182    182    182    182     N
+  099   fkey57 '1'    '1'    '1'    177    177    177    177     N
+  100   fkey58 '2'    '2'    '2'    178    178    178    178     N
+  101   fkey59 '3'    '3'    '3'    179    179    179    179     N
+  102   fkey60 '0'    '0'    '0'    176    176    176    176     N
+  103   fkey54 '5'    '5'    '5'    181    181    181    181     N
+  104   slock  slock  slock  slock  slock  slock  slock  slock   O
+  105   nop    nop    nop    nop    nop    nop    nop    nop     O
	


>Release-Note:
>Audit-Trail:

From: Matteo Riondato <rionda@gufi.org>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: conf/59600: [PATCH] Improved us.emacs.kbd mapping
Date: Wed, 30 Mar 2005 13:50:50 +0200

 --t3tFFy74pA5/PEcJ
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 This PR is assigned to i386, but I don't think it should.
 The patch is "reversed", I'll work on a better one.=20
 Best Regards
 --=20
 Rionda aka Matteo Riondato
 Disinformato per default
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
 
 --t3tFFy74pA5/PEcJ
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQFCSpKa2Mp4pR7Fa+wRAmyUAKDaDGo4gWD3iza/g1nETnoqnbYBPACgszST
 P8N7XMF1s1jxGn6DVr0Avik=
 =XdNq
 -----END PGP SIGNATURE-----
 
 --t3tFFy74pA5/PEcJ--

From: Matteo Riondato <rionda@gufi.org>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: conf/59600
Date: Wed, 30 Mar 2005 16:45:58 +0200

 --AO7xfgsPaN7qs9GL
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 This PR is assigned to i386, but I don't think it should.
 The patch is "reversed". A right one can be found at
 http://www.riondabsd.net/us.emacs.kbd.diff
 Please note that this has to be reviewed by some emacs guru..
 Best Regards
 
 --=20
 Rionda aka Matteo Riondato
 Disinformato per default
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
 
 --AO7xfgsPaN7qs9GL
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQFCSrum2Mp4pR7Fa+wRAk9TAKDVbH6USTfybqiH2pFhxn6Ob/HTXQCgkRGr
 1ugxbZ2XldptVm2JuqycvfU=
 =Gg5/
 -----END PGP SIGNATURE-----
 
 --AO7xfgsPaN7qs9GL--

From: Maxim Konovalov <maxim@macomnet.ru>
To: bug-followup@freebsd.org
Cc: Matteo Riondato <rionda@gufi.org>
Subject: Re: conf/59600
Date: Wed, 30 Mar 2005 20:13:55 +0400 (MSD)

 Added to the audit trail.
 
 On Wed, 30 Mar 2005, 18:10+0200, Matteo Riondato wrote:
 
 > This PR is assigned to i386, but I don't think it should.
 > The patch is "reversed". A right one can be found at
 > http://www.riondabsd.net/us.emacs.kbd.diff
 > Please note that this has to be reviewed by some emacs guru..
 > Best Regards
 >
 > P.s. I tried to post this message to freebsd-gnats-submit@freebsd.org,
 > but I didn't succeeded (don't know why..)
 >
 
 -- 
 Maxim Konovalov
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Apr 12 00:17:30 GMT 2005 
Responsible-Changed-Why:  
This does not sound i386-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=59600 
>Unformatted:
