Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | New # command to toggle line numbers. | Kaz Kylheku | 2022-05-01 | 2 | -13/+43 | |
| | ||||||
* | Allow leading ! to invert trigger patterns. | Kaz Kylheku | 2022-05-01 | 2 | -10/+44 | |
| | ||||||
* | New feature: snapshot history. | Kaz Kylheku | 2022-05-01 | 2 | -41/+133 | |
| | ||||||
* | Fix memory leak when resizing line buffer down. | Kaz Kylheku | 2022-05-01 | 1 | -0/+3 | |
| | | | | Could happen when terminal window shrinks vertically. | |||||
* | Don't copy to snapshot when dirty flag is absent. | Kaz Kylheku | 2022-05-01 | 1 | -1/+1 | |
| | ||||||
* | New a, d commands to advance or delay triggers. | Kaz Kylheku | 2022-04-30 | 2 | -0/+38 | |
| | ||||||
* | Triggers: switch implementation to grep structs. | Kaz Kylheku | 2022-04-30 | 1 | -20/+32 | |
| | ||||||
* | Fix issues with the count prefix. | Kaz Kylheku | 2022-04-30 | 2 | -5/+13 | |
| | | | | | - ambiguity with 0 command. - reset to UINT_MAX under right conditions. | |||||
* | New feature: multi-line triggering. | Kaz Kylheku | 2022-04-30 | 2 | -62/+175 | |
| | ||||||
* | Commands can have numeric prefix: + is guinea pig for this. | Kaz Kylheku | 2022-04-30 | 2 | -13/+39 | |
| | ||||||
* | Regression: no redraw for horizontal scrolling. | Kaz Kylheku | 2022-04-30 | 1 | -1/+1 | |
| | ||||||
* | Use BRE by default, with optional ERE. | Kaz Kylheku | 2022-04-29 | 2 | -7/+49 | |
| | ||||||
* | Eliminate wasteful redraws of snapshot. | Kaz Kylheku | 2022-04-29 | 1 | -24/+22 | |
| | | | | | | When we do need to redraw the snapshot even though the data isn't dirty, or we are frozen, or waiting for a trigger, there is a new stat_force flag to request it. | |||||
* | Status line reliably gone on 'q' exit. | Kaz Kylheku | 2022-04-29 | 1 | -3/+1 | |
| | ||||||
* | Dynamic priority scheme between TTY and FIFO. | Kaz Kylheku | 2022-04-29 | 1 | -2/+8 | |
| | | | | | | | | | Whenever a character from the TTY are processed, the work bout size (max number of lines processed without polling TTY or time-of-day) is cut in half, so as the user types, the UI quickly becomes more responsive. When TTY activity ceases, the work bout successively grows in size again toward the maximum value to favor more efficient reading. | |||||
* | grep mode bug: :g entries getting treated as :v. | Kaz Kylheku | 2022-04-29 | 1 | -0/+2 | |
| | ||||||
* | Handle terminal resizing. | Kaz Kylheku | 2022-04-29 | 2 | -9/+67 | |
| | ||||||
* | Fix shifting position and double showing of < truncation marker. | Kaz Kylheku | 2022-04-29 | 1 | -2/+3 | |
| | ||||||
* | Use clear-to-end-of-line for flicker-free updates. | Kaz Kylheku | 2022-04-29 | 1 | -9/+19 | |
| | ||||||
* | Bugfix: while editing new trigger, don't reset current. | Kaz Kylheku | 2022-04-29 | 2 | -7/+12 | |
| | ||||||
* | New :i and :l commands to adjust intervals. | Kaz Kylheku | 2022-04-29 | 2 | -2/+31 | |
| | ||||||
* | Man page: new material in BUGS section. | Kaz Kylheku | 2022-04-29 | 1 | -2/+19 | |
| | ||||||
* | Command line: improve robustness of conversions. | Kaz Kylheku | 2022-04-29 | 1 | -6/+100 | |
| | ||||||
* | Missing newline in error call. | Kaz Kylheku | 2022-04-29 | 1 | -1/+1 | |
| | ||||||
* | Global vars static. | Kaz Kylheku | 2022-04-29 | 1 | -10/+10 | |
| | ||||||
* | New + command to increase display height. | Kaz Kylheku | 2022-04-28 | 2 | -1/+17 | |
| | ||||||
* | Implement Ctrl-Z suspend. | Kaz Kylheku | 2022-04-28 | 2 | -8/+39 | |
| | ||||||
* | buid: Solaris 10. | Kaz Kylheku | 2022-04-28 | 1 | -1/+1 | |
| | ||||||
* | build: separate needed flags from CFLAGS. | Kaz Kylheku | 2022-04-28 | 1 | -1/+3 | |
| | ||||||
* | History recall for colon commands and trigger patterns. | Kaz Kylheku | 2022-04-28 | 2 | -8/+94 | |
| | ||||||
* | Merge kbd_ttrig and kbd_htrig; simplify status refresh. | Kaz Kylheku | 2022-04-28 | 1 | -16/+7 | |
| | ||||||
* | Use constants and macros for control chars. | Kaz Kylheku | 2022-04-28 | 1 | -8/+14 | |
| | ||||||
* | grep: show patterns in status rather than stack depth. | Kaz Kylheku | 2022-04-28 | 2 | -19/+42 | |
| | ||||||
* | New feature: grep mode with pattern stack. | Kaz Kylheku | 2022-04-28 | 2 | -24/+131 | |
| | ||||||
* | Diagnose missing argument in :w, :a and :!. | Kaz Kylheku | 2022-04-28 | 1 | -2/+8 | |
| | ||||||
* | No kbd_result state for commands with no result string. | Kaz Kylheku | 2022-04-27 | 1 | -3/+5 | |
| | ||||||
* | kbd_result falls through to kbd_cmd to avoid consuming command. | Kaz Kylheku | 2022-04-27 | 1 | -5/+5 | |
| | ||||||
* | Simplify status line clearing in quit command. | Kaz Kylheku | 2022-04-27 | 1 | -4/+2 | |
| | ||||||
* | build: install target. | Kaz Kylheku | 2022-04-27 | 1 | -0/+2 | |
| | ||||||
* | build: specify _POSIX_C_SOURCE=2 (1992 POSIX.2). | Kaz Kylheku | 2022-04-27 | 1 | -1/+1 | |
| | ||||||
* | Avoid calling poll or gettimeofday for 1000 line bursts. | Kaz Kylheku | 2022-04-27 | 1 | -24/+31 | |
| | ||||||
* | On auto-exit, clear status line of all content. | Kaz Kylheku | 2022-04-27 | 1 | -4/+4 | |
| | ||||||
* | Redesign poll structure to avoid one byte reads from stdin. | Kaz Kylheku | 2022-04-27 | 1 | -56/+85 | |
| | | | | | | | | | | | | We keep stdin fully buffered, but switch the descriptor to nonblocking. We then try to accumulate a line of input above the poll() call. We only poll stdin's descriptor if we hit EOF while trying to read a line, and errno indicates EAGAIN or EWOULDBLOCK. In cases when we know that there is more data in stdin, we poll with an interval of 0, because only the TTY is being polled. When we know that there is no more data in stdin (actual EOF), we now poll with an infinite interval. | |||||
* | Fix getopt problem: colon missing on n. | Kaz Kylheku | 2022-04-27 | 1 | -1/+1 | |
| | | | | Reported by konsolebox at gmail com. | |||||
* | Workaround: fix for issue reported by a user. | Kaz Kylheku | 2022-04-27 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | We are wrongly combining poll operations with buffered reading from stdin. This means we call poll to wait for input while ignoring data already buffered in the stdio stream. When this happens at the end of a pipe, we ignore the last bit forever. The workaround is to switch stdin to unbuffered; but this means that it issues one byte read operations (inefficient) and risks blocking on partial lines. Reported by konsolebox at gmail com. | |||||
* | Regex matching for trigger mode. | Kaz Kylheku | 2022-04-27 | 2 | -23/+47 | |
| | ||||||
* | New feature: trigger mode. | Kaz Kylheku | 2022-04-27 | 2 | -27/+119 | |
| | | | | Prototype: does substring searching only: no regex. | |||||
* | man page: fix small mistakes and improve wording. | Kaz Kylheku | 2022-04-27 | 2 | -5/+6 | |
| | ||||||
* | Redraw bugfix: redraw from snapshot when suspended. | Kaz Kylheku | 2022-04-27 | 1 | -1/+3 | |
| | | | | | | | Without this, we cannot move horizontally while suspended, because the display refuses to refresh. Suspend mode means that we still refresh the display, but using the current snapshot data, rather than replacing that snapshot from the FIFO. | |||||
* | Rename clear_cur_line to consistently cryptic name. | Kaz Kylheku | 2022-04-27 | 1 | -8/+8 | |
| |