dialog wrongly requires double backslashes (\\n, \\Z) for control codes in option file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dialog (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
== Comment: #0 - Liang Chang Guo <email address hidden> - 2015-09-11 18:44:18 ==
From Ubuntu 15.10 daily builds, the window-like tool "dialog" in Linux now turns to look for double backslashes (like \\n, \\Z...) as control codes in command option file, which causes incorrect display in format for programs (like PMLinux) that get used to only feeding with single backslash (\n, \Z...). This bug affects menu, form, and form etc. dialog boxes.
There is no such problem for other disros, even ubuntu 15.05 ...
*** Info of ubuntu/dialog that fail, and command/file to reproduce ***
root@ubt1510F:~# uname -a
Linux ubt1510F 4.2.0-7-generic #7-Ubuntu SMP Tue Sep 1 16:42:17 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
root@ubt1510F:~# dialog --version
Version: 1.2-20150528
root@ubt1510F:~# dialog --file PMLinux.menus
(see display effect in attachment)
root@ubt1510F:~# cat PMLinux.menus
--begin 2 2 --default-item "2) Disable" --ok-label " Select " --item-help
--help-button --no-cancel --colors --timeout 585
--title " Setup Performance Management " --backtitle "IBM PMLinux Main Menus"
--menu " \Z4I\Znnternational \Z4B\Znusiness \Z4M\Znachines (\Zu\Z4IBM\Zn), Copyright 2012-2015 \Z1(C)\Zn\n\n \Z0Move by \Zb\Z4<
"1)*Enable" "\Z2Data Transmission" "To correct & reset parameters to enable PMLinux Data Collection & Transmission"
"2) Disable" "Data Transmission" "To disable PMLinux Data Collection & Transmission. Proceed with Caution !!!"
"3) Retransmit" "Recorded Data" "To package historical data files of one or all day(s) into PMstats.send for manual transmission"
"4)*Change/Show" "\Z1Customer Information" "To fill out contact info, so that IBM PMLinux team can create a login user for your web reports"
"5) Change/Show" "Data Retention Period" "To setup the period length (days) for PMLinux to keep the data files"
"6) Change/Show" "Trending Days and Shift Times" "To setup your weekly working days & shift times for PMLinux reports"
"7) Change/Show" "System Parameters (Advanced)" "To setup some system configurations"
"8) Change/Show" "KVM Guest Collection Settings" "To setup KVM Guest info and querying utilization data intervals"
"9) ReadMe" "Guide/
"0) Exit" "Quit" "To end this window-style PMLinux configuration tool"
*** Info of ubuntu/dialog that pass ***
[root@kvmhost ~]# uname -a
Linux kvmhost 3.18.17-
[root@kvmhost ~]# dialog --version
Version: 1.2-20130523
affects: | ubuntu → dialog (Ubuntu) |
Changed in dialog (Ubuntu): | |
assignee: | Taco Screen team (taco-screen-team) → nobody |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: |
added: targetmilestone-inin1610 removed: targetmilestone-inin--- |
Default Comment by Bridge