bug-ncurses
[Top][All Lists]
Advanced

[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: Thu, 22 Sep 2022 03:32:59 +0000
User-agent: Microsoft-MacOutlook/16.65.22091101

Thanks. Will check and update.

Regards,
Tejas.

On 22/09/22, 6:00 AM, "Thomas Dickey" <dickey@his.com> wrote:

    On Wed, Sep 21, 2022 at 08:30:05AM +0000, Tejas Mulay wrote:
    > 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?

    I'm not sure: it looks like a configuration problem rather than a bug.

    Your message said

    dialog-1.3-13.20171209.el8.x86_64

    which is a version of dialog almost 5 years old, on RHEL8
    (and the version of Terminal.app is not mentioned).

    fwiw, Fedora has newer versions:

    https://src.fedoraproject.org/rpms/dialog

    but since it doesn't look like any of the bugs that I recall,
    it seems to be configuration.  If I had that firsthand, I'd
    collect the output to the terminal using "script",

    script -c 'dialog --title "This is title" --ok-label "OK" --msgbox "This is 
message" 20 40'

    and examine the output e.g., using "unmap"

    https://invisible-island.net/misc_tools/index.html#item:unmap


    > 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
    > 

    -- 
    Thomas E. Dickey <dickey@invisible-island.net>
    https://invisible-island.net
    ftp://ftp.invisible-island.net


reply via email to

[Prev in Thread] Current Thread [Next in Thread]