![]() |
BASH SHELL “Shift + Page Up” NOT WORKING
BASH SHELL “Shift + Page Up” NOT WORKING
Debian GNU 2.6.18-5-686 KDE 3.5.5 Considering my lack of technical background, I probably shouldn't even be running Etch, but here I am and there you go. I've been unable to figure out how to scroll back to the beginning (i.e., to where I entered the actual command) when I pull/fetch web pages' html that exceeds some limit or other. I've tried “Shift Page Up”, variations using the Up Arrows, but no joy. I've also tried a couple of combinations using “less” and “more”, but I haven't got the hang of it; or something. It's probably more info than is necessary, but the case in point involves viewing the html of a piece of spam to scan for malware, using "curl -i"; to whit <http://ker.qvmore.cn> I'd appreciate some gnubie-level help. |
Why not just save the output to a file, then read the file with vi or whatever editor?
|
Scrollback is a function of the termninal emulator, not bash. You must configure your terminal emulator to preserve more scrollback lines if you need them.
What problems are you having using less? You can use Code:
curl ... 2>&1 | less |
Quote:
like. I was looking for something more 'direct-to-task'. But I appreciate the tip and shall undoubtedly use it by 'n bye. |
Quote:
I got a bit confused reading the man on "less". I was inserting it between the command (curl -i) and the url I wanted to fetch. Your Rx worked fine. So I think I'll leave any adjustments to the terminal emulator for a later project. |
All times are GMT -5. The time now is 06:33 AM. |