G Dahler
2005-01-12 16:03:33 UTC
On solaris (at least on 2.6), when you are logged on a terminal and you call
up a man page, or edit a file in vi, when you quit vi or the man page,
previous screen contents is not restored, that is, the part of the man page
you were viewing or the file you were editing is displayed on the pterminal
with a shell prompt in the bottom.
On linux, what happens is that what was on the screen previously is
restored. This annoys me, sometimes I want to call a man page and leave part
of it displayed so I can copy and paste a command or "remember" what I've
just read. Otherwise, it "disapears" as soon as I quit.
I know I could use a GUI or start 2 ssh sessions, but it's a pain.
There must be a way to change this behavior ?
Thanks a lot !
I
up a man page, or edit a file in vi, when you quit vi or the man page,
previous screen contents is not restored, that is, the part of the man page
you were viewing or the file you were editing is displayed on the pterminal
with a shell prompt in the bottom.
On linux, what happens is that what was on the screen previously is
restored. This annoys me, sometimes I want to call a man page and leave part
of it displayed so I can copy and paste a command or "remember" what I've
just read. Otherwise, it "disapears" as soon as I quit.
I know I could use a GUI or start 2 ssh sessions, but it's a pain.
There must be a way to change this behavior ?
Thanks a lot !
I