This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: *cause of* screen writing over restored buffer on detach/exit


> Am 10.04.2019 um 17:04 schrieb Andrew Schulman:
> > Hi Shaddy. There you go again.
> >
> >> The reason seems to be that the Debian screen package packages a custom
> >> /etc/screenrc that does not include this explicit term capability:
> >>
> >>
> >> #
> >> # Do not use xterms alternate window buffer.
> >> # This one would not add lines to the scrollback buffer.
> >> termcap xterm|xterms|xs ti=\E7\E[?47l
> >> terminfo xterm|xterms|xs ti=\E7\E[?47l
> >>
> >>
> >> If I comment these out, my screen issue is resolved.
> >
> > I don't know whose fault the problem is either, but it's probably a
> > particularity of Cygwin. So I'm happy to package the fix as long as it
> > doesn't create any problems.
> screen sends CSI ? 1049l on exit which restores the cursor to the 
> position where it was previously saved.
> It's the "te" (not ti) terminfo sequence for xterm on cygwin.

Thomas, can you please clarify: Are you suggesting changing ti to te in the
above entries? Or do you have another suggested patch?

Although I'm the screen maintainer, I've never learned the intricacies of
termcapinfo.

Thanks,
Andrew


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]