🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Marc Andreessen Fri, 11 Sep 1992 10:24
Patch for Epoch 4.2
#175
Author: Marc Andreessen
Date: Fri, 11 Sep 1992 10:24
54 lines
1762 bytes
Here's a patch for src/keymap.c to fix a problem M-<key>
representation when not using the EIGHTBIT_KEYBOARD option:

--------------------------------- CLIP HERE ----------------------------------
*** keymap.c.orig	Fri Sep 11 17:04:24 1992
--- keymap.c	Fri Sep 11 17:10:43 1992
***************
*** 640,655 ****
       register unsigned int c;
       register char *p;
  {
-   if (c < 040)
-     {
  #ifndef EIGHTBIT_KEYBOARD
!       if (c >= 0200)
!         {
!           *p++ = 'M';
!           *p++ = '-';
!           c -= 0200;
!         }
  #endif /* not EIGHTBIT_KEYBOARD */
        if (c == 033)
  	{
  	  *p++ = 'E';
--- 640,655 ----
       register unsigned int c;
       register char *p;
  {
  #ifndef EIGHTBIT_KEYBOARD
!   if (c >= 0200)
!     {
!       *p++ = 'M';
!       *p++ = '-';
!       c -= 0200;
!     }
  #endif /* not EIGHTBIT_KEYBOARD */
+   if (c < 040)
+     {
        if (c == 033)
  	{
  	  *p++ = 'E';
--------------------------------- CLIP HERE ----------------------------------

(This fixes the problem with, e.g., binding 'help-command to \M-h,
then pressing M-h and getting a funky eightbit-character in the echo
area instead of the M-h- prompt.)

Marc

--
Marc Andreessen
Epoch Development Team
University of Illinois at Urbana-Champaign
marca@ncsa.uiuc.edu
Re: Patch for Epoch 4.2
#188
Author: Karl (K.B.) Klashinsky
Date: Sun, 13 Sep 1992 07:18
9 lines
764 bytes
I haven't been bitten by this problem.  Should I bother
installing the patch, or will it be incorporated into an
upcoming epoch release?


-- 
klash
                                                                     2
                        To be, or not to be -- that is the root of 4b.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads