Article View: gnu.epoch.misc
Article #209epoch 4.2 ascii emacs, Solaris 2.0, and DEL key
From: t e bennett
Date: Mon, 31 Aug 1992 17:09
Date: Mon, 31 Aug 1992 17:09
27 lines
1469 bytes
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
Technical Details
Message-ID:
<TONY.BENNETT.92Aug31130909@uh-oh.East.Sun.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!news2me.ebay.sun.com!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!sunpix!tony.bennettShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!news2me.ebay.sun.com!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!sunpix!tony.bennett From: tony.bennett@East.Sun.COM (t e bennett) Newsgroups: gnu.epoch.misc Subject: epoch 4.2 ascii emacs, Solaris 2.0, and DEL key Date: 31 Aug 92 17:09:09 GMT Organization: Sun Microsystems, RTP, NC Lines: 27 Distribution: gnu Message-ID: <TONY.BENNETT.92Aug31130909@uh-oh.East.Sun.COM> NNTP-Posting-Host: uh-oh.east.sun.com