🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by t e bennett Mon, 31 Aug 1992 17:09
epoch 4.2 ascii emacs, Solaris 2.0, and DEL key
#209
Author: t e bennett
Date: Mon, 31 Aug 1992 17:09
27 lines
1469 bytes
Solaris 2.0 SVR4
epoch 4.2 ascii emacs never sees the DEL key.
Following patch fixes the problem, where VSWTCH was being
improperly disabled for POSIX systems.  
CAVEAT: Since I don't use shl, I don't know if this breaks shl stuff


{/.../src/epoch-4.2/ascii}. diff -c sysdep.c~ sysdep.c
*** sysdep.c~   Mon Aug 31 09:52:57 1992
--- sysdep.c    Mon Aug 31 12:52:13 1992
***************
*** 979,985 ****
--- 979,989 ----
        tty.c_cc[VMIN] = 1;     /* Input should wait for at least 1 char */
        tty.c_cc[VTIME] = 0;    /* no matter how long that takes.  */
  #ifdef VSWTCH
+ #ifdef _POSIX_VDISABLE
+       tty.c_cc[VSWTCH] = _POSIX_VDISABLE; /* Turn off shell layering use of C-z */
+ #else
        tty.c_cc[VSWTCH] = CDEL;        /* Turn off shell layering use of C-z */
+ #endif
  #endif /* VSWTCH */
  #if defined (mips) || defined (HAVE_TCATTR)
        /* The following code looks like the right thing in general,
--
--tbennett     tony.bennett@East.Sun.COM   mailstop: RTP-NC
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