ncoronado / tracshell

Automatically exported from code.google.com/p/tracshell
1 stars 0 forks source link

Allow the pager to be disabled #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Personally, I don't like the pager. I'd like a way to configure Tracshell so it 
isn't used. The way I see 
it would be a "pager threshold" parameter that sets the number of lines from 
which the pager is 
used. "0" could mean "no pager".

Original issue reported on code.google.com by hsoft@hardcoded.net on 9 Apr 2009 at 4:33

GoogleCodeExporter commented 8 years ago
the idea had crossed my mind as I implemented the feature.

A better approach would be to find the height of the terminal before "paging," 
and
wrapping content longer than that value.

the default could then to allow paging with a setting to turn it off.

Original comment by j.kennet...@gmail.com on 9 Apr 2009 at 7:22

GoogleCodeExporter commented 8 years ago
submitted a fix, now uses low-level calls to get the terminal size. needs 
testing. r41

resizing the terminal might break it; will probably have to look into setting 
up a
callback on the SIGWINCH ioctl() call.

Original comment by j.kennet...@gmail.com on 10 Apr 2009 at 4:04

GoogleCodeExporter commented 8 years ago
set back to started, forget the unset pager option part. :)

Original comment by j.kennet...@gmail.com on 10 Apr 2009 at 4:18

GoogleCodeExporter commented 8 years ago
now its fixed;

the default is no paging. the user can set a 'pager' value in their settings 
file
which will turn it on.

went with the default off to consider those who might run tracshell in an emacs
buffer and might not want paging.

Original comment by j.kennet...@gmail.com on 10 Apr 2009 at 4:38