Date: Wed, 25 Mar 1998 17:47:43 +0100 (CET) From: xcejka00@stud.fee.vutbr.cz To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: gnu/6130: "dialog" command cuts off two last chars from menu items Message-ID: <199803251647.RAA04217@pccejkar.dcse.fee.vutbr.cz>
index | next in thread | raw e-mail
>Number: 6130 >Category: gnu >Synopsis: "dialog" command cuts off chars from menu items >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 25 08:50:01 PST 1998 >Last-Modified: >Originator: Rudolf Cejka >Organization: FEE TU Brno, Czech Republic (Technical University) >Release: FreeBSD 3.0-980304-SNAP i386 >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: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803251647.RAA04217>
