Improved the usability of alsamixer:
- the mute/unmute appears in a separate box below the volume bar
more obviously
- the capture switch appears below the volume bar, too
- the controls without volume doesn't show volume bars
- fixed bugs with all view mode
- fixed the calculation of volume bar size
- show left/right scrollable status
- code clean up
The volume bar and space sizes are recalculated at each time when
the view mode is changed. This will fix the problem when the view
with fewer volumes is switched to the view with more volumes.
This patch converts hyphens to minus signs in the man pages (for options,
emails, or command line examples).
This patch also closes one font modifier in iecset.1.
(s/\fIfalse\fI,/\fIfalse\fP,/)
Signed-off-by: Nicolas FRANCOIS <nicolas.francois@centraliens.net>
It causes alsamixer to display 2 different views of the mixer controls.
One view shows only the "Playback" controls, the other view shows only
the "Capture" controls, with a hidden mode (Press F1, then Enter) to
show the old method of all controls together.
With ncurses 5.4 or later, it is necessary to have the
correct LC_CTYPE setting before calling initscr(). Otherwise, the line
drawing characters and boxes are not visible on Linux console in UTF-8 mode,
and that makes alsamixer totally unusable on such terminal.
- add a "Press Escape to quit" string to alsamixer's title, some uses
couldn't figure out how to exit the program (Debian Bug#178393).
- hide the cursor, which was missplaced and wasn't goodlooking anyway
(Debian Bug#81169).
- remove trailing spaces from amixer's output (Debian Bug#177518).
- don't ignore second -l/-L flags in aplay (Debian Bug#177521).
now capture volumes are displayed and controllable as independent
bars from playback volumes.
e.g. on emu10k1 you'll see both "AC97" and "AC97 Capture".
there is still a bug in handling of "Capture Volume" control.
*
* * bumped version to 0.10.
*
* * added scrollable text views.
* we now feature an F1 Help screen and an F2 /proc info screen.
* the help screen does still require lots of work though.
*
* * keys are evaluated view specific now.
*
* * we feature meta-keys now, e.g. M-Tab as back-tab.
*
* * if we are already in channel view and the user still hits Return,
* we do a refresh nonetheless, since 'r'/'R' got removed as a redraw
* key (reserved for record volumes). 'l'/'L' is still preserved though,
* and actually needs to be to e.g. get around the xterm bold-artefacts.
*
* * support terminals that can't write into lower right corner.
*
* * undocumented '-s' option that will keep the screen to its
* minimum size, usefull for debugging only.
*
*
* * don't abort if snd_mixer_* functions failed due to EINTR,
* we simply retry on the next cycle. hopefully asoundlib preserves
* errno states correctly (Jaroslav can you asure that?).
*
* * feature WINCH correctly, so we make a complete relayout on
* screen resizes. don't abort on too-small screen sizes anymore,
* but simply beep.
*
* * redid the layout algorithm to fix some bugs and to preserve
* space for a flag indication line. the channels are
* nicer spread horizontally now (i.e. we also pad on the left and
* right screen bounds now).
*
* * various other minor fixes.
*
* * indicate whether ExactMode is active or not.
*
* * fixed coding style to follow the GNU coding conventions.
*
* * reverted record volume changes since they broke ExactMode display.
*
* * composed ChangeLog entries.