Article View: comp.unix.bsd
Article #6002[386bsd] Patch #3 for 8-bit curses, useful for standard curses too
From: Andrew A. Chernov, Black Mage
Date: Sun, 10 Jan 1993 17:37
Date: Sun, 10 Jan 1993 17:37
41 lines
1663 bytes
1663 bytes
This small patch fix unpleasant standard curses bug:
curses can't expand TAB at all (but tries).
A man who wrote this curses misplace SYNC_IN and SYNCH_OUT,
this patch exchange macro calls.
This patch useful for standard 7-bit curses too, for this
you must delete '_' symbol before waddbytes and apply patch.
*** addbytes.c.was1 Fri Jan 8 15:46:02 1993
--- addbytes.c Sun Jan 10 20:01:17 1993
***************
*** 75,85 ****
c = *bytes++;
switch (c) {
case '\t':
! SYNCH_IN();
if (_waddbytes(win, blanks, 8-(x%8)) == ERR) {
return ERR;
}
! SYNCH_OUT();
break;
default:
--- 75,85 ----
c = *bytes++;
switch (c) {
case '\t':
! SYNCH_OUT();
if (_waddbytes(win, blanks, 8-(x%8)) == ERR) {
return ERR;
}
! SYNCH_IN();
break;
default:
--
In-This-Life: Andrew A. Chernov | "Hay mas dicha, mas contento
Internet: ache@astral.msk.su | "Que adorar una hermosura
Organization: The RELCOM Corp., | "Brujuleada entre los lejos
Moscow, Russia | "De lo imposible?!" (Calderon)
Technical Details
Message-ID:
<lIKx5KhaX2@astral.msk.su>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!mcsun!news.funet.fi!fuug!kiae!demos!newsservShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!mcsun!news.funet.fi!fuug!kiae!demos!newsserv From: ache@astral.msk.su (Andrew A. Chernov, Black Mage) Newsgroups: comp.unix.bsd Subject: [386bsd] Patch #3 for 8-bit curses, useful for standard curses too Message-ID: <lIKx5KhaX2@astral.msk.su> Date: 10 Jan 93 17:37:24 GMT Sender: news-service@newcom.kiae.su Reply-To: ache@astral.msk.su Organization: Ha-oh-lahm Yetzirah Lines: 41