hebraize

rewrite terminal contents in hebrew
git clone https://a3nm.net/git/hebraize/
Log | Files | Refs | README

commit 1d72bb9143abde86ff8d958344ad5e3868fab95e
parent a78dbc5873ee7dcd83d629383353ed40bb72441a
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Mon, 21 Aug 2023 12:02:50 -0700

fix compilation problems by removing code (?)

Diffstat:
hebraize.c | 17-----------------
1 file changed, 0 insertions(+), 17 deletions(-)

diff --git a/hebraize.c b/hebraize.c @@ -53,7 +53,6 @@ #if defined(SVR4) #include <fcntl.h> -#include <stropts.h> #endif /* SVR4 */ #include <sys/time.h> @@ -594,22 +593,6 @@ getslave() if (!force) perror("open(fd, O_RDWR)"); fail(); } - if (isastream(slave)) { - if (ioctl(slave, I_PUSH, "ptem") < 0) { - if (!force) perror("ioctl(fd, I_PUSH, ptem)"); - fail(); - } - if (ioctl(slave, I_PUSH, "ldterm") < 0) { - if (!force) perror("ioctl(fd, I_PUSH, ldterm)"); - fail(); - } -#ifndef _HPUX_SOURCE - if (ioctl(slave, I_PUSH, "ttcompat") < 0) { - if (!force) perror("ioctl(fd, I_PUSH, ttcompat)"); - fail(); - } -#endif - } (void) tcsetattr(slave, TCSAFLUSH, &tt); (void) ioctl(slave, TIOCSWINSZ, (char *)&win); (void) ioctl(slave, TIOCSCTTY, 0);