Subject: pkg/20834: Dialog doesn't work over telnet
To: None <gnats-bugs@gnats.netbsd.org>
From: None <netbsd@precedence.co.uk>
List: netbsd-bugs
Date: 03/21/2003 12:18:03
>Number:         20834
>Category:       pkg
>Synopsis:       dialog doesn't receive Return keypresses over telnet
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 21 04:17:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Borrill
>Release:        NetBSD 1.6_STABLE
>Organization:
Precedence Technologies Ltd
>Environment:
	
	
System: NetBSD newbuild 1.6_STABLE NetBSD 1.6_STABLE (PCFW1.6) #0: Wed Nov 6 11:49:32 GMT 2002 root@newbuild:/usr/src/cvs/syssrc/sys/arch/i386/compile/PCFW1.6 i386
Architecture: i386
Machine: i386
>Description:
When running dialog over a telnet connection, press Return has no effect and thus
no options can be chosen.

This happens on all 1.6 machines. Terminal type appears to be unimportant (tried xterm and vt220).
>How-To-Repeat:
Install misc/dialog package onto a machine. Connect into that machine with telnet from an X session 
or a console. Type:

dialog --yesno test 10 5

Then hit Return, nothing will happen. You may change the option with the left and right arrows, but
you are unable to make a choice leaving you no option but to Ctrl-C.
>Fix:
Make dialog use devel/ncurses.
This is linked in with pkg/16286 in which the fix didn't go far enough. dialog simply does not work
properly with the in-tree curses. Therefore, the dialog Makefile should at least be altered to:
INCOMPAT_CURSES=       NetBSD-1.5-* NetBSD-1.5.*-* NetBSD-1.6-* NetBSD-1.6_*-* NetBSD-1.6.*-*

Or perhaps, better:
INCOMPAT_CURSES=        NetBSD-*-*

Or even:
USE_NCURSES=	YES
>Release-Note:
>Audit-Trail:
>Unformatted:
 	NetBSD 1.6_RC2
 	NetBSD 1.6N (2003-02-10 snapshot)