Debian Bug report logs - #9915
dialog doesn't support ^U [with patch]

version graph

Package: dialog; Maintainer for dialog is Santiago Vila <sanvila@debian.org>; Source for dialog is src:dialog.

Reported by: joey@finlandia.Infodrom.North.DE (Martin Schulze)

Date: Sun, 18 May 1997 12:33:01 UTC

Severity: normal

Found in version 0.9a-8

Done: unknown

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Leland Lucius <llucius@debian.org>:
Bug#9915; Package dialog. Full text and rfc822 format available.

Acknowledgement sent to joey@finlandia.Infodrom.North.DE (Martin Schulze):
New bug report received and forwarded. Copy sent to Leland Lucius <llucius@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: joey@finlandia.Infodrom.North.DE (Martin Schulze)
To: submit@bugs.debian.org
Subject: dialog doesn't support ^U [with patch]
Date: Sun, 18 May 97 14:21 MET DST
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



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 20:09:03 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.