 |
 |
Grrr... when I read man pages they are not in scroll back buffer
|
 |
|
 |
|
Mac Enthusiast
Join Date: Apr 2001
Status:
Offline
|
|
This just started happening and I am not sure why or how to fix it. (I'll
keep searching for an answer of course LOL )
Up until yesterday when I read a man page i would hit the space bar to scroll down etc...
and when I reached the end I could scroll up and see the info still. Now when I reach
the end the info disappears and is not in the scroll back buffer (which is set to unlimited)
I'm using the tsch shell. Does anyone have any ideas what the heck happened
and how to fix it?
thanks
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status:
Offline
|
|
man pages have never stayed in the buffer for me. As soon as I get through the whole document it's gone. I'm using bash, but I used tsch when it was the OS X default, and I believe the behavior with regard to man pages was the same.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jul 2002
Status:
Offline
|
|
in ~/.bash_profile:
LESS="-ERmX~"; export LESS
LESSCHARSET="utf-8"; export LESSCHARSET
PAGER="less -ERmX~"; export PAGER
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Apr 2001
Status:
Offline
|
|
Originally posted by arekkusu:
in ~/.bash_profile:
LESS="-ERmX~"; export LESS
LESSCHARSET="utf-8"; export LESSCHARSET
PAGER="less -ERmX~"; export PAGER
yes that works well. thx
Same thing give or take for tcsh? (though i may just start using bash)
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status:
Offline
|
|
I just use spacebar for scroll down a page, b to scroll up a page, upa and down arrows to up and down a single line. Page up and Page down only seem to work from remote logins.
Mine hasn't broken yet.
|
|
-DU-...etc...
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally posted by utidjian:
I just use spacebar for scroll down a page, b to scroll up a page, upa and down arrows to up and down a single line. Page up and Page down only seem to work from remote logins.
Mine hasn't broken yet.
But what about when you use the scroll bar itself? That's the behavior I've noticed with regards to man pages. When I'm running inside a screen I also lose my scroll back buffer, but I think that's more of a complicated fix than the .bash_profile settings... Good to know, though, I'll add those.

|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Hey cool, a double post. I guess this wouldn't be a good time to plug that I'm using Shiira, a totally cool open source browser that uses WebKit. It's coming along nicely. 
(Last edited by [APi]TheMan; May 26, 2004 at 04:54 PM.
)
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Dec 2003
Status:
Offline
|
|
Originally posted by [APi]TheMan:
But what about when you use the scroll bar itself? That's the behavior I've noticed with regards to man pages. When I'm running inside a screen I also lose my scroll back buffer, but I think that's more of a complicated fix than the .bash_profile settings... Good to know, though, I'll add those.
Oh, I see what you mean. You are saying you are using the scrollbar, to try and scroll up, even tho the terminal window is the fixed size of X by Y. I doubt they will make that work, because if you look at any program that uses ncurses (I will use BitchX for example), and you try and scroll up to see what was previously being talked about, everything is in random places. I am not sure if this is due to the backbuffer, Terminal.app, or just thats the way its supposed to be. I haven't used linux in a while, so I cant tell you if it does the same there with a GUI. If you load X11 and use the xterm window, you will notice there are no scrollbars, so it may just be the way Apple implemented it with Terminal.app.
|
|
15 inch MacBook Pro 2.16 GHz, 2 GB RAM, 7200 RPM 100GB HDD.
Dual 2.5 GHz Power Mac G5, 1 GB RAM, 250 GB HDD, ATI Radeon X800XT.
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status:
Offline
|
|
Originally posted by [APi]TheMan:
But what about when you use the scroll bar itself? That's the behavior I've noticed with regards to man pages. When I'm running inside a screen I also lose my scroll back buffer, but I think that's more of a complicated fix than the .bash_profile settings... Good to know, though, I'll add those.
I never used the scroll bar... but now that you mention it I tried it and it doesn't work. Made no difference in Terminal.app, xterm, or from remote logins.
In order to be able to scroll the page in a screen session just do:
Ctrl-a Esc
which will put you in copy/scroll mode. In this mode the arrow/spacebar/page-up/page-down keys seem to work as expected.
screen has a heckuvalot of cool options, read the manpage for more interesting stuff.
|
|
-DU-...etc...
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Apr 2001
Status:
Offline
|
|
Originally posted by [APi]TheMan:
But what about when you use the scroll bar itself? That's the behavior I've noticed with regards to man pages. When I'm running inside a screen I also lose my scroll back buffer, but I think that's more of a complicated fix than the .bash_profile settings... Good to know, though, I'll add those.
not sure exactly what you mean. I use the scroll bar and i can scroll up
to everything i did before. Be it man pages or commands or output from scripts.
it is ALL there. everything that is out put to the window is there now.
page up key works too now but i like to grab the blue scroll bar widget and drag it
or click in the area it moves in to jump up a page at a time.
that broke for me a few days back. Now it is working again.
Can you give me an exact detailed example I can try to see if my scroll bar fun fails?
thx
(Last edited by Groovy; May 27, 2004 at 12:05 PM.
)
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally posted by KraziKid:
snip...
I doubt they will make that work, because if you look at any program that uses ncurses (I will use BitchX for example), and you try and scroll up to see what was previously being talked about, everything is in random places.
Yep. I've noticed this in ncurses-based programs too. irssi for example. But then that's a complicated scenario in itself because I run irssi screened. To solve the scrolling issue in irssi I have the Terminal.app setting "Use option as meta key" under the keyboard prefs in the window settings. Then, when I want to scroll the chat buffer I just use option-p for up and option-n for down. I can even use option-1, option-2, etc to switch windows (instead of typing /window 1, etc).
irssi is a very nice IRC client, especially when its screened.
Originally posted by utidjian
In order to be able to scroll the page in a screen session just do:
Ctrl-a Esc
which will put you in copy/scroll mode. In this mode the arrow/spacebar/page-up/page-down keys seem to work as expected.
screen has a heckuvalot of cool options, read the manpage for more interesting stuff.
Awesome. I hadn't gotten around to looking at the manpage yet, but I figured it had to be possible; screen can do anything. Thanks for saving me the trouble. 
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|