Date: Fri, 23 Jun 2000 00:22:28 +0300 (IDT) From: Nimrod Mesika <nimrodm@bezeqint.net> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/19811: i4b isdntel leaving the tty in a strange state when aborting Message-ID: <200006222122.AAA08168@localhost.my.domain>
next in thread | raw e-mail | index | archive | help
>Number: 19811 >Category: bin >Synopsis: i4b isdntel leaving the tty in a strange state when aborting >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 09 14:20:04 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Nimrod Mesika >Release: FreeBSD 4.0-STABLE i386 >Organization: none >Environment: i4b acting as an answering machine. isdntel being executed inside a small xterm. >Description: If the terminal is too small isdntel aborts with a fatal error. Before aborting isdntel calls curses' initscr() which changes the state of the tty. endwin() should be called to restore terminal settings and is not in this particular scenario. The user has to 'reset' the terminal to work normally again. >How-To-Repeat: Run isdntel in a small (less than 80x25) xterm. >Fix: /usr/src/usr.sbin/i4b/isdntel/main.c from, lines 311-312: endwin(); } should be switched: } endwin(); i.e., call endwin() in all cases. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006222122.AAA08168>