bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mvhline has some problem. Please have a look.


From: Thomas Dickey
Subject: Re: mvhline has some problem. Please have a look.
Date: Tue, 7 Apr 2020 15:46:31 -0400
User-agent: NeoMutt/20170113 (1.7.2)

On Tue, Apr 07, 2020 at 12:12:13PM +0000, 叶 涛 wrote:
> Thank you for your letter.
> Yes, it is about repeat feature.
> I use MobaXterm, and it sets TERM to xterm.

that's not going to work well

MobaXterm is based on PuTTY (when I last looked at it - in 2015 - it differed
from PuTTY only by providing a more complete set of xterm-compatible function
keys than PuTTY).  PuTTY's developer added support for repeat in February 2019
(it might work properly now -- reading the commit comment, I doubt it).

Since MobaXterm was based on modifying PuTTY, it's unlikely that its developed
picked up changes like this.  If there's a way to configure MobaXterm to set
TERM to a proper value, there's reason to develop a correct terminal
description for it.

fwiw, "infocmp -x putty xterm-new" gives me 209 lines of differences
 
> Now, I have set TERM to rvxt, problem solved.

nor that (the cursor/editing keys won't match)

but infocmp shows only 127 lines of difference :-)
 
> And I also found out it has been talked about at Ncurses FAQ and
> stackoverflow.

:-)
 
> Thanks again.
> 
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
> 
> From: Thomas Dickey<mailto:address@hidden>
> Sent: 2020年4月6日 16:15
> To: address@hidden<mailto:address@hidden>
> Cc: address@hidden<mailto:address@hidden>
> Subject: Re: mvhline has some problem. Please have a look.
> 
> On Mon, Apr 06, 2020 at 03:19:20AM +0000, address@hidden wrote:
> > HI all,
> > I am working with
> > Linux version 4.15.0-91-generic (buildd@lgw01-amd64-013) (gcc version 7.4.0 
> > (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020
> > And ncurses  version  6.2  (patch 20200328)
> >
> > The program looks like this:
> ...see attached
> >        ... ...
> > And Output looks like this:
> > -
> > It should look like this:
> > --------------------
> 
> works for me with xterm.  You may be encountering a problem with the
> repeat feature (e.g., using TERM=xterm with the Linux console is
> guaranteed to malfunction).
> 
> To see this, the $TERM value and the _actual_ terminal emulator would help.
> 
> --
> Thomas E. Dickey <address@hidden>
> https://invisible-island.net
> ftp://ftp.invisible-island.net
> 

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

Attachment: signature.asc
Description: PGP signature


reply via email to

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