On Sun, Jun 25, 2017 at 08:57:50AM +0200, Harald Dunkel wrote:
> Package: dialog
> Version: 1.3-20160828-2
> 
> Please support resizing the terminal, e.g. to see more of
> the config file diffs shown by dpkg.

dialog responds to SIGWINCH - there might be some useful case which
is overlooked.  There's no portable way to make the terminal change
its size.

Here's a list of places in the code where it responds:

buildlist.c:1092:           case KEY_RESIZE:
calendar.c:891:     case KEY_RESIZE:
checklist.c:560:            case KEY_RESIZE:
dlg_keys.c:222:    if (*fkey != 0 && curses_key == KEY_RESIZE) {
editbox.c:691:      case KEY_RESIZE:
formbox.c:762:      case KEY_RESIZE:
fselect.c:845:      case KEY_RESIZE:
guage.c:410:    if (fkey && ch == KEY_RESIZE) {
inputbox.c:232:     case KEY_RESIZE:
inputstr.c:607: case KEY_RESIZE:
menubox.c:708:      case KEY_RESIZE:
msgbox.c:130:           case KEY_RESIZE:
pause.c:198:        case KEY_RESIZE:
rangebox.c:377:         case KEY_RESIZE:
tailbox.c:383:      if (fkey && ch == KEY_RESIZE) {
textbox.c:544:          case KEY_RESIZE:
textbox.c:597:          ungetch(KEY_RESIZE);
textbox.c:944:      case KEY_RESIZE:
timebox.c:343:          case KEY_RESIZE:
treeview.c:534:     case KEY_RESIZE:
yesno.c:135:        case KEY_RESIZE:

-- 
Thomas E. Dickey <[email protected]>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to