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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to