Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-22 | Don't call TIOCGWINSZ on non-ttys | Nick Kralevich | |
Prior to calling TIOCGWINSZ on stdin/stdout/stderr, check to see if the file descriptor is a tty. Calling TIOCGWINSZ on a non-tty doesn't make any sense. Calling TIOCGWINSZ on a non-tty is mildly problematic for systems like Android where strict ioctl filtering is in place, and generates SELinux audit noise. Strict ioctl filtering for non-filesystem fifo_files (eg pipe() or pipe2() generated pipes) was enabled in Android in commit https://android-review.googlesource.com/c/platform/system/sepolicy/+/792599 | |||
2018-10-21 | Move start_redraw() to lib/ and have ps.c (top) use it. | Rob Landley | |
2018-10-10 | Rewrite of watch. | Rob Landley | |
2018-08-21 | Use \033 instead of \e gcc extension. | Rob Landley | |
2018-08-17 | Make microcom use set_terminal() and move speed setting into set_terminal(). | Rob Landley | |
2018-01-14 | Switch xgettty() -> tty_fd() (returning -1 instead of erroring out if none). | Rob Landley | |
2017-02-05 | Don't set SIGWINCH when reading ANSI size probe data, it causes a loop. | Rob Landley | |
2016-04-23 | Fix more to not append an extra newline. | Elliott Hughes | |
More's sigatexit handler needs to distinguish between normal exit and exit due to receipt of a signal. Change tty_sigreset to look at the signal number too, so that pressing 'q' to exit top doesn't cause its exit status to be 128. | |||
2016-04-16 | Fix "ssh top". | Elliott Hughes | |
The ps.c change allows us to start. The interestingtimes.c change allows us to clean up properly afterwards if you ^C out (which you usually do). Tested with both ssh and "adb shell" (the latter being where I noticed the problem). | |||
2016-01-28 | Add SIGWINCH support to top, and implement -o and -n in pgrep/pkill. | Rob Landley | |
2016-01-10 | Make cursor left/right change sort type in iotop. | Rob Landley | |
2016-01-07 | Make scan_key() specify timeout in miliseconds, split out terminal_probesize(), | Rob Landley | |
add function key definitions and shift/ctrl/alt cursor keys. | |||
2015-12-30 | Add more keys to scan_key() and fix hang in scan_key_getsize(). | Rob Landley | |
2015-12-27 | Add scan_key_getsize() doing the ANSI probe, switch scan_key() to TAGGED_ARRAY, | Rob Landley | |
and add test_scankey. | |||
2015-06-26 | Factor out more not-curses infrastructure into lib. | Rob Landley | |
2015-05-14 | Promote reset (actually write a new one using the simple man 4 console_codes | Rob Landley | |
terminal reset escape sequence) and add gettty() function to lib so terminal gets reset even when we redirect stdout/stderr. (This is apparently the expected behavior.) | |||
2015-05-08 | Move not-curses code into interstingtimes.c | Rob Landley | |