Subject: Re: port-i386/35051: aumix seems to be somewhat defective
To: None <gnats-bugs@NetBSD.org>
From: Thomas Dickey <dickey@radix.net>
List: netbsd-bugs
Date: 11/14/2006 06:41:39
--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 14, 2006 at 01:20:17AM +0000, zb@ispid.com.pl wrote:
> >Number:         35051
> >Category:       port-i386
> >Synopsis:       aumix seems to be somewhat defective
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       low
> >Responsible:    port-i386-maintainer
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Tue Nov 14 01:20:00 +0000 2006
> >Originator:     Zbigniew Baniewski
> >Release:        NetBSD 3.1
> >Organization:
> >Environment:
> NetBSD NetBSD. 3.1 NetBSD 3.1 (DEBIAN) #0: Mon Nov  6 03:27:58 CET 2006  =
root@NetBSD.:/usr/src/sys/arch/i386/compile/DEBIAN i386
> >Description:
> aumix - when quitting the application - causes a problem in terminal:  the
> characters typed aren't visible anymore, <Enter> gives no carriage return=
.=20
> Tested in both "pure" text mode and in xterm (TERM=3Dwsvt25).  To "reset"

wsvt25 is designed for the console emulator, rather than for xterm.
But the problem noted is independent of the choice of $TERM.
It sounds as if the application is exiting without resetting the terminal.
For a curses/ncurses application, that would be done by calling endwin().

> there's a need to close terminal window (or logout) and open it again the=
n.=20
> The other applications, which are using (n)curses-based UI (f.e.  mc, slr=
n,
> mutt...) didn't cause such unpleasant effect.

slrn doesn't use ncurses (on NetBSD, with its nonconventional termcap
interface, I expect it to be linked with libcurses.so).

The others could be linked with ncurses, but depending on the whim of the
package maintainer, it's still more likely that they're using the slang
port (which afaik uses libcurses.so to get termcap information).
=20
> I noticed, that aumix doesn't save "Input" level setting (and probably
> doesn't restore it as well) - but I'm not sure, whether (or not) this dep=
ends
> on hardware (or driver?) which is in use (in my case:  GUS PnP).
> >How-To-Repeat:
> Easy - just run aumix (eventually setting TERM=3Dwsvt25 before).
> >Fix:

--=20
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--LZvS9be/3tNcYl/X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (SunOS)
Comment: For info see http://www.gnupg.org

iD8DBQFFWatxtIqByHxlDocRAqBgAJ9puZ1kFoPDrDwv9+0jzx3tO63RBQCaA1zS
y8Vjmx55sAJsimfTuw+P8Mo=
=SFhL
-----END PGP SIGNATURE-----

--LZvS9be/3tNcYl/X--