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 <m0wT4xc-0003MvC>; Sun, 18 May 97 14:21 CST Received: at Infodrom Oldenburg (/\##/\ Smail3.1.29.1 #29.12 Joey) by finlandia.Infodrom.North.DE id <m0wT4xy-000VKSC>; Sun, 18 May 97 14:21 MET DST Message-Id: <m0wT4xy-000VKSC@finlandia.Infodrom.North.DE> 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 <joey@artis.uni-oldenburg.de> */ 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