Re: Alternate Screen

2021-05-17 Thread Eric van Gyzen

On 5/17/21 9:53 AM, Baptiste Daroussin wrote:

On Mon, May 17, 2021 at 09:46:49AM -0500, Eric van Gyzen wrote:

On 5/17/21 5:19 AM, Gary Jennejohn wrote:

On Sun, 16 May 2021 19:03:07 +0200
Baptiste Daroussin  wrote:


On Thu, May 13, 2021 at 09:01:53AM -0500, Eric van Gyzen wrote:

There was a recent discussion about a terminal database update and the new
Alternate Screen behavior.  I'm curious about the resolution, but I can't
find that discussion.  Would someone kindly send a clue-by-four via
overnight express?

Ultimately, I'd like to know how to get the old behavior back, with no
alternate screen, and thereby reduce my blood pressure.

Alternatively yours,


The replies you are receiving are interesting as none of them are right...

What has been done, it now ncurses from base reads both terminfo and termcap DB.
It is looking up for terminfo db from localbase as well.

Base only provides termcap (the old termcap definition, nothing new in there).
if one want the terminfo database which supports alternate screen definition,
he/shre can just pkg install terminfo-db.



But in March terminfo was being built and installed.  Maybe he failed to
delete /usr/share/terminfo after the change.  Or was simply not aware that
he had to do that.


Thanks for the help, everyone.  Deleting /usr/share/terminfo fixed the
problem.  (I don't have the terminfo-db package installed.)

Bapt, was this intentionally omitted from ObsoleteFiles.inc, or was that an
oversight?

Cheers,

Eric


It is in ObsoleteFiles.inc

# 20210318: remove the terminfo database


:facepalm:  I was looking at the wrong branch.  And I apparently forgot 
to delete-old.


Thanks again for wasting your time on me.

Eric
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Alternate Screen

2021-05-17 Thread Baptiste Daroussin
On Mon, May 17, 2021 at 09:46:49AM -0500, Eric van Gyzen wrote:
> On 5/17/21 5:19 AM, Gary Jennejohn wrote:
> > On Sun, 16 May 2021 19:03:07 +0200
> > Baptiste Daroussin  wrote:
> > 
> > > On Thu, May 13, 2021 at 09:01:53AM -0500, Eric van Gyzen wrote:
> > > > There was a recent discussion about a terminal database update and the 
> > > > new
> > > > Alternate Screen behavior.  I'm curious about the resolution, but I 
> > > > can't
> > > > find that discussion.  Would someone kindly send a clue-by-four via
> > > > overnight express?
> > > > 
> > > > Ultimately, I'd like to know how to get the old behavior back, with no
> > > > alternate screen, and thereby reduce my blood pressure.
> > > > 
> > > > Alternatively yours,
> > > 
> > > The replies you are receiving are interesting as none of them are right...
> > > 
> > > What has been done, it now ncurses from base reads both terminfo and 
> > > termcap DB.
> > > It is looking up for terminfo db from localbase as well.
> > > 
> > > Base only provides termcap (the old termcap definition, nothing new in 
> > > there).
> > > if one want the terminfo database which supports alternate screen 
> > > definition,
> > > he/shre can just pkg install terminfo-db.
> > > 
> > 
> > But in March terminfo was being built and installed.  Maybe he failed to
> > delete /usr/share/terminfo after the change.  Or was simply not aware that
> > he had to do that.
> 
> Thanks for the help, everyone.  Deleting /usr/share/terminfo fixed the
> problem.  (I don't have the terminfo-db package installed.)
> 
> Bapt, was this intentionally omitted from ObsoleteFiles.inc, or was that an
> oversight?
> 
> Cheers,
> 
> Eric

It is in ObsoleteFiles.inc

# 20210318: remove the terminfo database

Bapt
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Alternate Screen

2021-05-17 Thread Eric van Gyzen

On 5/17/21 5:19 AM, Gary Jennejohn wrote:

On Sun, 16 May 2021 19:03:07 +0200
Baptiste Daroussin  wrote:


On Thu, May 13, 2021 at 09:01:53AM -0500, Eric van Gyzen wrote:

There was a recent discussion about a terminal database update and the new
Alternate Screen behavior.  I'm curious about the resolution, but I can't
find that discussion.  Would someone kindly send a clue-by-four via
overnight express?

Ultimately, I'd like to know how to get the old behavior back, with no
alternate screen, and thereby reduce my blood pressure.

Alternatively yours,


The replies you are receiving are interesting as none of them are right...

What has been done, it now ncurses from base reads both terminfo and termcap DB.
It is looking up for terminfo db from localbase as well.

Base only provides termcap (the old termcap definition, nothing new in there).
if one want the terminfo database which supports alternate screen definition,
he/shre can just pkg install terminfo-db.



But in March terminfo was being built and installed.  Maybe he failed to
delete /usr/share/terminfo after the change.  Or was simply not aware that
he had to do that.


Thanks for the help, everyone.  Deleting /usr/share/terminfo fixed the 
problem.  (I don't have the terminfo-db package installed.)


Bapt, was this intentionally omitted from ObsoleteFiles.inc, or was that 
an oversight?


Cheers,

Eric
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Alternate Screen

2021-05-17 Thread Gary Jennejohn
On Sun, 16 May 2021 19:03:07 +0200
Baptiste Daroussin  wrote:

> On Thu, May 13, 2021 at 09:01:53AM -0500, Eric van Gyzen wrote:
> > There was a recent discussion about a terminal database update and the new
> > Alternate Screen behavior.  I'm curious about the resolution, but I can't
> > find that discussion.  Would someone kindly send a clue-by-four via
> > overnight express?
> > 
> > Ultimately, I'd like to know how to get the old behavior back, with no
> > alternate screen, and thereby reduce my blood pressure.
> > 
> > Alternatively yours,  
> 
> The replies you are receiving are interesting as none of them are right...
> 
> What has been done, it now ncurses from base reads both terminfo and termcap 
> DB.
> It is looking up for terminfo db from localbase as well.
> 
> Base only provides termcap (the old termcap definition, nothing new in there).
> if one want the terminfo database which supports alternate screen definition,
> he/shre can just pkg install terminfo-db.
> 

But in March terminfo was being built and installed.  Maybe he failed to
delete /usr/share/terminfo after the change.  Or was simply not aware that
he had to do that.

-- 
Gary Jennejohn
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Alternate Screen

2021-05-16 Thread Baptiste Daroussin
On Thu, May 13, 2021 at 09:01:53AM -0500, Eric van Gyzen wrote:
> There was a recent discussion about a terminal database update and the new
> Alternate Screen behavior.  I'm curious about the resolution, but I can't
> find that discussion.  Would someone kindly send a clue-by-four via
> overnight express?
> 
> Ultimately, I'd like to know how to get the old behavior back, with no
> alternate screen, and thereby reduce my blood pressure.
> 
> Alternatively yours,

The replies you are receiving are interesting as none of them are right...

What has been done, it now ncurses from base reads both terminfo and termcap DB.
It is looking up for terminfo db from localbase as well.

Base only provides termcap (the old termcap definition, nothing new in there).
if one want the terminfo database which supports alternate screen definition,
he/shre can just pkg install terminfo-db.

Best regards,
Bapt
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Alternate Screen

2021-05-16 Thread Rodney W. Grimes
> There was a recent discussion about a terminal database update and the 
> new Alternate Screen behavior.  I'm curious about the resolution, but I 
> can't find that discussion.  Would someone kindly send a clue-by-four 
> via overnight express?
> 
> Ultimately, I'd like to know how to get the old behavior back, with no 
> alternate screen, and thereby reduce my blood pressure.

I thought this code had been reverted, reworked and old behavior restored
with knobs to give new behavior???

> 
> Alternatively yours,
> Eric
-- 
Rod Grimes rgri...@freebsd.org
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Alternate Screen

2021-05-15 Thread Gleb Popov
On Sat, May 15, 2021 at 11:07 PM Kevin Oberman  wrote:

> We went through this "alternate screen" thing about 12 or more years ago
> and almost everyone hated it except those used to Linux behavior. I don't
> think it ever made it into a release after all of the screams of pain. It
> drives me crazy when editing on the Linux Mint VM I run from time to time.
> I've never been able to figure out why anyone would find it an improvement
> an I suspect it was inserted in some Unix code back in the days of the
> VT100 or VT220 terminal which were super popular and supported it. I guess
> it's because someone thought it was a cool thing and that terminal based
> editors were the perfect use.
>
> In any case, please make it STOP!
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkober...@gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
>

Sorry for the noise, but in my case it turned out to be specific to my
terminal emulator - Konsole. It has an option called "reflow lines when
terminal resized". Turning it off restored an old behavior for me.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Alternate Screen

2021-05-15 Thread Kevin Oberman
We went through this "alternate screen" thing about 12 or more years ago
and almost everyone hated it except those used to Linux behavior. I don't
think it ever made it into a release after all of the screams of pain. It
drives me crazy when editing on the Linux Mint VM I run from time to time.
I've never been able to figure out why anyone would find it an improvement
an I suspect it was inserted in some Unix code back in the days of the
VT100 or VT220 terminal which were super popular and supported it. I guess
it's because someone thought it was a cool thing and that terminal based
editors were the perfect use.

In any case, please make it STOP!
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


On Sat, May 15, 2021 at 10:46 AM Gleb Popov  wrote:

> On Thu, May 13, 2021 at 5:02 PM Eric van Gyzen  wrote:
>
> > There was a recent discussion about a terminal database update and the
> > new Alternate Screen behavior.  I'm curious about the resolution, but I
> > can't find that discussion.  Would someone kindly send a clue-by-four
> > via overnight express?
> >
> > Ultimately, I'd like to know how to get the old behavior back, with no
> > alternate screen, and thereby reduce my blood pressure.
> >
>
> When I enter `ee`, I can't scroll in my Konsole window anymore. Instead,
> the cursor inside the text editor is moving.
>
> Is this relevant to that "alternate screen" problem?
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Alternate Screen

2021-05-15 Thread Gleb Popov
On Thu, May 13, 2021 at 5:02 PM Eric van Gyzen  wrote:

> There was a recent discussion about a terminal database update and the
> new Alternate Screen behavior.  I'm curious about the resolution, but I
> can't find that discussion.  Would someone kindly send a clue-by-four
> via overnight express?
>
> Ultimately, I'd like to know how to get the old behavior back, with no
> alternate screen, and thereby reduce my blood pressure.
>

When I enter `ee`, I can't scroll in my Konsole window anymore. Instead,
the cursor inside the text editor is moving.

Is this relevant to that "alternate screen" problem?
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Alternate Screen

2021-05-13 Thread Eric van Gyzen
There was a recent discussion about a terminal database update and the 
new Alternate Screen behavior.  I'm curious about the resolution, but I 
can't find that discussion.  Would someone kindly send a clue-by-four 
via overnight express?


Ultimately, I'd like to know how to get the old behavior back, with no 
alternate screen, and thereby reduce my blood pressure.


Alternatively yours,

Eric
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"