Re: Importing aiomixer to src

2021-05-09 Thread Mouse
>> Probably not - but ^C typically generates SIGINT, not SIGTERM. (I >> think curses normally doesn't catch ^C either.) > No, why should it? That would actually be rude behaviour for a > library to randomly install a signal handler - I agree, in the case of curses and SIGINT (and even more in th

Re: Importing aiomixer to src

2021-05-07 Thread Brett Lymn
On Thu, May 06, 2021 at 02:58:41PM -0400, Mouse wrote: > > Probably not - but ^C typically generates SIGINT, not SIGTERM. (I > think curses normally doesn't catch ^C either.) > No, why should it? That would actually be rude behaviour for a library to randomly install a signal handler - IIRC t

Re: Importing aiomixer to src

2021-05-07 Thread nia
I made some adjustments to the scrolling code so it should be more robust with a "git pull". Please test :)

Re: Importing aiomixer to src

2021-05-06 Thread Mouse
>> If I exit by pressing ^C instead of 'q' the terminal cursor is not >> restored but remains hidden (at least with xterm). > Thanks. I suppose curses is not setting up a handler for SIGTERM by > default? Probably not - but ^C typically generates SIGINT, not SIGTERM. (I think curses normally doe

Re: Importing aiomixer to src

2021-05-06 Thread nia
On Thu, May 06, 2021 at 07:55:34PM +0200, Tobias Nygren wrote: > On Thu, 6 May 2021 13:44:47 + > nia wrote: > > > Review and comments welcome, of course. > > Hi, > > This looks useful, I support importing it into src. > Found some minor bugs though: > > If I exit by pressing ^C instead of

Re: Importing aiomixer to src

2021-05-06 Thread Paul Goyette
On May 6, 2021, at 6:44 AM, nia wrote: I think this version is suitable for importing into NetBSD base for continued development. This will also allow us to easily keep it in sync if there are any changes to the audio stack. I've historically kept a Windoze machine around, just so I can handle

Re: Importing aiomixer to src

2021-05-06 Thread Benny Siegert
> I think this version is suitable for importing into NetBSD base > for continued development. This will also allow us to easily > keep it in sync if there are any changes to the audio stack. Yes please! aiomixer is super useful. Thanks for providing it. -- Benny

Re: Importing aiomixer to src

2021-05-06 Thread Jason Thorpe
> On May 6, 2021, at 6:44 AM, nia wrote: > > I think this version is suitable for importing into NetBSD base > for continued development. This will also allow us to easily > keep it in sync if there are any changes to the audio stack. This is really cool, I would support this! -- thorpej

Re: Importing aiomixer to src

2021-05-06 Thread Tobias Nygren
On Thu, 6 May 2021 13:44:47 + nia wrote: > Review and comments welcome, of course. Hi, This looks useful, I support importing it into src. Found some minor bugs though: If I exit by pressing ^C instead of 'q' the terminal cursor is not restored but remains hidden (at least with xterm). Sc

Re: Importing aiomixer to src

2021-05-06 Thread Travis Paul
On 5/6/21 9:44 AM, nia wrote: For those unfamiliar, aiomixer is my name for my graphical (curses-based) frontend to NetBSD mixer devices. It has similar functionality to mixerctl, but is designed to be more user-friendly for interactive use. For example, hold the arrow keys, the system's volum

Importing aiomixer to src

2021-05-06 Thread nia
For those unfamiliar, aiomixer is my name for my graphical (curses-based) frontend to NetBSD mixer devices. It has similar functionality to mixerctl, but is designed to be more user-friendly for interactive use. For example, hold the arrow keys, the system's volume changes, you get instant visual