Fixed `stty [-]extproc'. It set extproc to a semi-random state (always
off if there are no other options, always (?) on if another option that changes the state is processed earlier).
This commit is contained in:
parent
0362d7d737
commit
a68e018a5e
@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: key.c,v 1.3 1995/03/19 13:29:25 joerg Exp $
|
||||
* $Id: key.c,v 1.4 1995/04/28 19:29:29 ache Exp $
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
@ -192,7 +192,7 @@ f_extproc(ip)
|
||||
struct info *ip;
|
||||
{
|
||||
|
||||
if (ip->set) {
|
||||
if (!ip->off) {
|
||||
int tmp = 1;
|
||||
(void)ioctl(ip->fd, TIOCEXT, &tmp);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user