From xcejka00@pccejkar.dcse.fee.vutbr.cz  Wed Mar 25 08:48:03 1998
Received: from pccejkar.dcse.fee.vutbr.cz (pccejkar.dcse.fee.vutbr.cz [147.229.9.118])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA09082
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Mar 1998 08:47:56 -0800 (PST)
          (envelope-from xcejka00@pccejkar.dcse.fee.vutbr.cz)
Received: (from xcejka00@localhost)
	by pccejkar.dcse.fee.vutbr.cz (8.8.8/8.8.8) id RAA04217;
	Wed, 25 Mar 1998 17:47:43 +0100 (CET)
	(envelope-from xcejka00)
Message-Id: <199803251647.RAA04217@pccejkar.dcse.fee.vutbr.cz>
Date: Wed, 25 Mar 1998 17:47:43 +0100 (CET)
From: xcejka00@stud.fee.vutbr.cz
Reply-To: xcejka00@stud.fee.vutbr.cz
To: FreeBSD-gnats-submit@freebsd.org
Subject: "dialog" command cuts off two last chars from menu items
X-Send-Pr-Version: 3.2

>Number:         6130
>Category:       gnu
>Synopsis:       "dialog" command cuts off chars from menu items
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 25 08:50:01 PST 1998
>Closed-Date:    Sat Jul 11 08:58:37 PDT 1998
>Last-Modified:  Sat Jul 11 08:59:34 PDT 1998
>Originator:     Rudolf Cejka
>Release:        FreeBSD 3.0-980304-SNAP i386
>Organization:
FEE TU Brno, Czech Republic (Technical University)
>Environment:

	Everywhere, every time (I hope) - just try my example(s) or look
	carefully at menus produced by "kbdmap" or "vidfont" commands.

>Description:

	If using "dialog" with --menu option and null items, last
	two characters of the longest menu tags are forgotten.
	(Item, tag = terms used in dialog man page).

	Another unexpected behavior can occur with --radiolist
	or --checklist option with long tags (see examples below).
	Tags are not shortened and menu becomes absolutely unusable.
	(Practical example: Try to install port ghostscript-5.10.
	It's very very hard to configure devices. And I don't think, that
	shortening of menu tags by hand is always good solution...)

>How-To-Repeat:

	# /usr/bin/dialog --title "Test" --menu "Choose" -1 -1 1 \
		"Is all text displayed?" ""

	... No, only "Is all text displaye" is displayed ...

	# /usr/bin/dialog --title "Test" --checklist "Choose" -1 30 4 \
		"Is all text displayed?" "" 0 "Yes" "" 0

	... Only "[ ] Yes" is visible ... Selecting is very hard ...

	# /usr/bin/dialog --title "Test" --radiolist "Choose" -1 30 4 \
		"Is all text displayed?" "" 0 "Hmm" "" 0

	... Same problem as with --checklist ...

>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: andreas 
State-Changed-When: Sat Jul 11 08:58:37 PDT 1998 
State-Changed-Why:  
Has been fixed weeks ago. 
Failure was due to too long lines in the dialogue. 
>Unformatted:
