[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug report: Dialog showing garbled characters on Mac Terminal
From: |
Tejas Mulay |
Subject: |
Re: Bug report: Dialog showing garbled characters on Mac Terminal |
Date: |
Wed, 21 Sep 2022 08:30:05 +0000 |
User-agent: |
Microsoft-MacOutlook/16.65.22091101 |
Hi Thomas,
Thanks for quick response.
Here is what I see on termimal -
% echo $TERM
xterm-256color
What value do I need to set to make this work?
Regards,
Tejas.
On 21/09/22, 1:43 PM, "Thomas Dickey" <dickey@his.com> wrote:
On Wed, Sep 21, 2022 at 06:06:47AM +0000, Tejas Mulay wrote:
> Hi Dickey,
>
> As per instructions at
https://invisible-island.net/dialog/dialog.html#bugs , I am reporting below bug
for dialog on MAC terminal.
>
>
> # rpm -q dialog
>
> dialog-1.3-13.20171209.el8.x86_64
It looks as if you've set TERM=linux and are attempting to display on
a terminal using UTF-8 encoding. Mac Terminal's terminal description
is "nsterm" (or if you don't care much about accuracy, "xterm", etc).
The "linux" terminal description provided by Apple is an older version
of ncurses terminal database using codes that will be misdisplayed in
UTF-8.
> Msgbox cmd: dialog --title "This is title" --ok-label "OK" --msgbox "This
is message" 20 40
>
> [cid:image001.png@01D8CDAE.6DFB50E0]
>
>
> Inputbox cmd: dialog --backtitle "This is backtitle" --title "This is
title" --ok-label "OK" --cancel-label "Cancel" --inputbox "This is input" 20 40
>
> [cid:image002.png@01D8CDAE.6DFB50E0]
> The dialog box show garbled characters and inputbox is not properly shown.
>
> Regards,
> Tejas.
>
>
> *** Please note that this message and any attachments may contain
confidential and proprietary material and information and are intended only for
the use of the intended recipient(s). If you are not the intended recipient,
you are hereby notified that any review, use, disclosure, dissemination,
distribution or copying of this message and any attachments is strictly
prohibited. If you have received this email in error, please immediately notify
the sender and destroy this e-mail and any attachments and all copies, whether
electronic or printed. Please also note that any views, opinions, conclusions
or commitments expressed in this message are those of the individual sender and
do not necessarily reflect the views of Fortinet, Inc., its affiliates, and
emails are not binding on Fortinet and only a writing manually signed by
Fortinet's General Counsel can be a binding commitment of Fortinet to
Fortinet's customers or partners. Thank you. ***
>
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net