Feature changed by: Michael Andres (mlandres) Feature #326741, revision 3 Title: zypper: use dialog to display license Requested by: Ludwig Nussel (lnussel) Partner organization: openSUSE.org Description: From user feedback I got at Akademy. By default zypper displays licenses to confirm in "less". That requires pressing 'q' to exit the pager. That is not intuitive for not so Linux experienced users. So to make this more user friendly, zypper could use "dialog" instead of less if available. An example call could be for example: # dialog --textbox /etc/YaST2/licenses/base/license.txt $((LINES-5)) 85 --and-widget --yesno $"Do you agree with the terms of the license?" 0 0 + Discussion: + #2: Michael Andres (mlandres) (2018-11-21 17:31:09) + Zypper uses $PAGER and prints navigation hints. In case of 'less' it's + * Use arrows or pgUp/pgDown keys to scroll the text by lines or pages. + * "Press 'q' to exit the pager. + Even unexperienced users should learn to use 'less', otherwise thy + can't read man pages. -- openSUSE Feature: https://features.opensuse.org/326741