Report forwarded to debian-bugs-dist@lists.debian.org, Leland Lucius <llucius@debian.org>:
Bug#9915; Package dialog.
debian-bugs-dist@lists.debian.orgLeland Lucius <llucius@debian.org>
Sorry, this message was lost when this bug report was restored from a backup.
Acknowledgement sent to joey@finlandia.Infodrom.North.DE (Martin Schulze):
New bug report received and forwarded. Copy sent to Leland Lucius <llucius@debian.org>.
joey@finlandia.Infodrom.North.DE (Martin Schulze)
Sorry, this message was lost when this bug report was restored from a backup.
Received: (at submit) by bugs.debian.org; 18 May 1997 12:20:56 +0000
Received: (qmail 18148 invoked from network); 18 May 1997 12:20:55 -0000
Received: from gimli.Informatik.Uni-Oldenburg.DE (134.106.1.10)
by master.debian.org with SMTP; 18 May 1997 12:20:54 -0000
Received: by gimli.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
id ; Sun, 18 May 97 14:21 CST
Received: at Infodrom Oldenburg (/\##/\ Smail3.1.29.1 #29.12 Joey)
by finlandia.Infodrom.North.DE
id ; Sun, 18 May 97 14:21 MET DST
Message-Id:
Date: Sun, 18 May 97 14:21 MET DST
From: joey@finlandia.Infodrom.North.DE (Martin Schulze)
To: submit@bugs.debian.org
Subject: dialog doesn't support ^U [with patch]
Package: dialog
Version: 0.9a-8
Dialog doesn't handle '^U' to erase the input line.
Here's support for it. I'd be glad if this could be included in the
source tree and mailed to the upstream maintainer.
In inputbox.c at line ~160, please add the following case statement:
case KEY_BACKSPACE:
case 127:
[..]
case 21: /* ^U support by Martin Schulze */
input_x = 0;
scroll = 0;
wmove (dialog, box_y, box_x);
for (i = 0; i < box_width - 1; i++)
waddch (dialog, ' ');
instr[0] = '\0';
wmove (dialog, box_y, input_x + box_x);
wrefresh_lock (dialog);
continue;
default:
[..]
Regards,
Joey