Timeline for Is it possible to make seek() operations on a named pipe return successful?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 29, 2015 at 17:34 | comment | added | Gilles 'SO- stop being evil' |
@PiotrDobrogost In the context of the F command in less, it would be enough for less to refresh the screen if it doesn't get any output for a second or so. Making pipes seekable wouldn't help: the relevant difference there is that F goes to the end of the file, then waits for data to appear past the end — but for a pipe, the end of file only comes when the writer closes the file.
|
|
| Jan 29, 2015 at 15:31 | comment | added | Piotr Dobrogost | Btw, would having seekable pipe be necessary for less to be able to follow pipe the same way it can follow file? I'm asking in the context of Follow a pipe using less? question (you might prefer to answer there). | |
| Feb 5, 2012 at 17:47 | comment | added | phemmer | I'll try the LD_PRELOAD route. Not the greatest solution, but should be doable. | |
| Feb 5, 2012 at 17:46 | vote | accept | phemmer | ||
| Feb 5, 2012 at 0:13 | history | answered | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |