diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-04-29 02:31:05 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-04-29 02:31:05 -0700 |
commit | 918dafb4a35bdb2b06d2d8c1bbe667ecface63ed (patch) | |
tree | 1075a6f32272464e4473b989154f14454d398473 | |
parent | fe971e32ce519474a8095bb6aa3a7c8253858a6a (diff) | |
download | pw-918dafb4a35bdb2b06d2d8c1bbe667ecface63ed.tar.gz pw-918dafb4a35bdb2b06d2d8c1bbe667ecface63ed.tar.bz2 pw-918dafb4a35bdb2b06d2d8c1bbe667ecface63ed.zip |
Man page: new material in BUGS section.
-rw-r--r-- | pw.1 | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -371,6 +371,8 @@ Unexpected conditions like out of memory result in abnormal termination (abort). This was written over the course of a couple of hours, and tested only interactively. +Many of the issues which follow are easy; patches welcome. + The program doesn't respond to window size changes. The display format, such as the handling of control characters, is hard-coded. @@ -381,13 +383,28 @@ terminal abstraction library/data. The intervals cannot be dynamically adjusted. There is no support for unwrapping long lines, which would be useful for -copy and paste. +copy and paste. However, the features like +.B :w +to save the displayed data somewhat compensate for this. During the .B :! command's execution, the TTY settings are not restored. -Most of these issues are easy; patches welcome. +The timeout isn't applied to the arrival of data into the FIFO, but on +the arrival of data into the program. Therefore, the grep stack feature doesn't +necessarily do what you want in terms of the timeout-based refresh behavior. +Consider a situation in which ten lines are arriving per second at a steady +rate. The default 1s timeout therefore never goes off. The long +refresh interval is what is updating the display, every 10s by default. Now +suppose you put in a +.BI :g pattern +command which only passes every 20th line. Effectively, it now looks as if +a line appears every 2s, and so the 1s timeout should be going off to +refresh the display. Unfortunately, that's not how it works. The program +is still receiving ten lines per second from standard input, and that's where +the timeout is applied. Until that is fixed, the way to get more timely +refresh behavior under heavy filtering is to play with the long interval. .SH AUTHOR Kaz Kylheku <kaz@kylheku.com> |