Discussion:
Alternate Screen
Eric van Gyzen
2021-05-13 14:01:53 UTC
Permalink
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
Gleb Popov
2021-05-15 17:46:00 UTC
Permalink
Post by 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.
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?
Kevin Oberman
2021-05-15 20:07:24 UTC
Permalink
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: ***@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
Post by Gleb Popov
Post by 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.
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?
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-current
Gleb Popov
2021-05-15 20:10:38 UTC
Permalink
Post by 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
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.
Rodney W. Grimes
2021-05-16 12:34:34 UTC
Permalink
Post by 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.
I thought this code had been reverted, reworked and old behavior restored
with knobs to give new behavior???
Post by Eric van Gyzen
Alternatively yours,
Eric
--
Rod Grimes ***@freebsd.org
Baptiste Daroussin
2021-05-16 17:03:07 UTC
Permalink
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
Gary Jennejohn
2021-05-17 10:19:35 UTC
Permalink
On Sun, 16 May 2021 19:03:07 +0200
Post by Baptiste Daroussin
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
Eric van Gyzen
2021-05-17 14:46:49 UTC
Permalink
Post by Gary Jennejohn
On Sun, 16 May 2021 19:03:07 +0200
Post by Baptiste Daroussin
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
Baptiste Daroussin
2021-05-17 14:53:53 UTC
Permalink
Post by Eric van Gyzen
Post by Gary Jennejohn
On Sun, 16 May 2021 19:03:07 +0200
Post by Baptiste Daroussin
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
Eric van Gyzen
2021-05-17 14:57:23 UTC
Permalink
Post by Baptiste Daroussin
Post by Eric van Gyzen
Post by Gary Jennejohn
On Sun, 16 May 2021 19:03:07 +0200
Post by Baptiste Daroussin
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

Loading...