Feature description
something will cost a long time,
sometime i want to find out what it say,
but i can not .
either press ctrl+c to break working for read,
or wait for work is finish,but may be some output is loss.
Reference implementation
mac osx terminal
when you scrollup,autoscroll will stoping,
when scrollend it will keeping scrolling.
Until something is done about this, you can pipe output to less as a temporary solution. Output isn't lost, and you can follow along at your own pace.
Very annoying indeed. I'd have thought there'd be a setting for this, but I can't find one.
That less idea is interesting, but I imagine I'd still often come across situations where it's not until I've already commenced a long command with output (without less) that I realise I need to see some scrollback.
I don't imagine this would be difficult to implement, but I could be wrong.
Ah, I see this is a duplicate of https://github.com/termux/termux-app/issues/684 where it's suggested to use tmux. I guess it's about time I learn how to use that
It's about time termux has this basic functionality.
Try emacs for this. It's been around for decades.
@SDRausty can you please elaborate? AFAIK emacs is an alternative to Vim.
@ZimbiX less breaks most escaped output, even when -r or -R flags are set.
I know Android has the most painful excuse for word-wrapping. They call it breakStrategy and its accepted values make absolutely no sense (balanced, high_quality, simple). Web developers know you either want break-none, break-word or break-all.
Since termux does behave as "break-all", it means they probably devised their own grid system, which means it should be easy enough to lock onto a certain row. Not sure why it's taking so long to implement this because having to inspect streaming output whilst fighting against the automatic scrolling is disturbing to say the least.
so tmux it is...
AFAIK emacs is
search string: run command in emacs
I have not done this in quite some time: This was... Compiling the Linux kernel on i386, including more recent processors, the box, keyboard and the 3d box screen. The screen resembled a portable TV btw. Kinescope screen time and the small screen buffer were issues. 40 lines of screen, then the screen output is gone. Emacs performs well...
alt search string: run command in vim
@qidizi are you familiar with this topic at tldp.org?
search string: redirect output bash site:tldp.org
The ability to pause autoscrolling, including searching autoscrolling is available through tools such as emacs, redirecting output (a native shell ability), vim, stream editors, etc...
How would a user access a native ability to pause autoscrolling in Termux? A Termux meta key in the extra keys row? A meta key popup like: long screen press > More... > Help which shows our help page?
Once autoscrolling is paused, will the user be able to manually scroll the screen as desired until manually unpausing autoscrolling?
AFAIK emacs is
search string:
run command in emacsI have not done this in quite some time: This was... Compiling the Linux kernel on i386, including more recent processors, the box, keyboard and the 3d box screen. The screen resembled a portable TV btw. Kinescope screen time and the small screen buffer were issues. 40 lines of screen, then the screen output is gone. Emacs performs well...
alt search string:
run command in vim@qidizi are you familiar with this topic at tldp.org?
search string:
redirect output bash site:tldp.orgThe ability to pause autoscrolling, including searching autoscrolling is available through tools such as emacs, redirecting output (a native shell ability), vim, stream editors, etc...
How would a user access a native ability to pause autoscrolling in Termux? A Termux meta key in the extra keys row? A meta key popup like: long screen press > More... > Help which shows our help page?
Once autoscrolling is paused, will the user be able to manually scroll the screen as desired until manually unpausing autoscrolling?
ping 127.0.0.1
output overflow and autoscrolling
when swipe up n pixel paused
when swipe down to last line keep autoscrolling.
@qidizi is long tap until the context menu shows when the screen is scrolling what you are looking for? When the menu shows up, the scrolling pauses.
@qidizi is long tap until the context menu shows when the screen is scrolling what you are looking for? When the menu shows up, the scrolling pauses.
Yes, it will pause. But it's not a friendly operation. For example, if I want to copy another line, I have to click on the screen to cancel the menu, but it's scrolling out of the visible area. The ping operation only adds 1 line per second, and maybe you can easily hold down the line you want, what if it's a cat log? Maybe you'll terminate the operation and use grep, so what if the add-on line is extremely fast and can't be used multiple times? So I think it's very friendly to roll up n px like the terminal of mac and pull down to the end line and resume scrolling.
Most helpful comment
@qidizi is long tap until the context menu shows when the screen is scrolling what you are looking for? When the menu shows up, the scrolling pauses.