Date: Thu, 7 Jun 2012 05:11:15 -0400 From: David Tilbrook <dmtilbrook@gmail.com> To: questions@FreeBSD.org Subject: changes to ioctl has me flumoxed Message-ID: <CAAPNFHRes6a-8sS56T82qWjb671t37KpgrY-vy7dOvny%2B4BNuw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
To support my line editor I used to use:
sgtty.c_lflag = ISIG;
sgtty.c_iflag = BRKINT | IGNPAR | IXON | ICRNL;
sgtty.c_oflag &= (ONLCR | OPOST | TAB3);
sgtty.c_cc[VMIN] = 1;
sgtty.c_cc[VTIME] = 1;
iotcl(0, TCSETAW, &sgtty);
but this no longer appears to work in that input lines are repeated
and the writes to reflect chanes are not done.
What should I be changing in the above, or what do I need to add?
-- david
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAPNFHRes6a-8sS56T82qWjb671t37KpgrY-vy7dOvny%2B4BNuw>
