zsh-users
 help / color / mirror / code / Atom feed
* less with subprocess
@ 2021-09-27 20:30 Pier Paolo Grassi
  2021-09-27 20:46 ` Roman Perepelitsa
                   ` (2 more replies)
  0 siblings, 3 replies; 41+ messages in thread
From: Pier Paolo Grassi @ 2021-09-27 20:30 UTC (permalink / raw)
  To: Zsh-Users List

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

Hello, I have something like this:

less -f <(sleep 100)

actually the sleep is a find which does not produce any output for a long
time at times, but the result is pretty much the same: less doesn't seem to
be able to initialize if it doesn't receive an input, so it can't respond
to sigint (ctrl-c), and I have to kill it from another shell
I use it like this so I am able to use ctrl-c and +F inside less to move
around in the output already received and receive the new input received in
the meantime (with +F), so I would rather not us something like:

sleep 100 | less

which doesn't have problems exiting, but when I hit ctrl-c for the first
time the pipe is closed and no more input is generated for less

thanks

Pier Paolo Grassi

[-- Attachment #2: Type: text/html, Size: 1114 bytes --]

^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2021-10-03 21:42 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 20:30 less with subprocess Pier Paolo Grassi
2021-09-27 20:46 ` Roman Perepelitsa
2021-09-27 21:38   ` Bart Schaefer
2021-09-27 21:48     ` Bart Schaefer
2021-09-27 22:57       ` Pier Paolo Grassi
2021-09-27 23:05         ` Bart Schaefer
2021-09-27 23:28           ` Pier Paolo Grassi
2021-09-27 23:31         ` Dominik Vogt
2021-09-28  0:41           ` Bart Schaefer
2021-09-28  0:53             ` Bart Schaefer
2021-09-28 18:52               ` Dominik Vogt
2021-09-28 19:29                 ` Bart Schaefer
2021-09-29 13:02                   ` Vincent Lefevre
2021-09-29 13:13                     ` Pier Paolo Grassi
2021-09-29 13:26                       ` Vincent Lefevre
2021-09-29 14:14                     ` Bart Schaefer
2021-09-29 14:47                       ` Pier Paolo Grassi
2021-09-29 17:56                         ` Bart Schaefer
2021-09-30 19:22                           ` Vincent Lefevre
2021-10-01 16:44                             ` Bart Schaefer
2021-10-03  1:45                               ` Vincent Lefevre
2021-10-03 21:41                                 ` Bart Schaefer
2021-09-30 19:17                       ` Vincent Lefevre
2021-09-30 19:48                         ` Dominik Vogt
2021-09-30 20:59                           ` Pier Paolo Grassi
2021-09-30 21:03                             ` Pier Paolo Grassi
2021-09-30 22:39                               ` Bart Schaefer
2021-09-30 22:46                                 ` Pier Paolo Grassi
2021-09-30 23:46                             ` Dominik Vogt
2021-10-01  0:04                               ` Pier Paolo Grassi
2021-10-01  0:06                                 ` Pier Paolo Grassi
2021-10-01  0:31                                 ` Dominik Vogt
2021-10-01  1:32                                   ` Pier Paolo Grassi
2021-10-01  0:17                               ` Dominik Vogt
2021-10-01  2:47                               ` Vincent Lefevre
2021-09-29 12:51                 ` Vincent Lefevre
2021-09-28 19:50           ` Pier Paolo Grassi
2021-09-27 21:38 ` Dominik Vogt
2021-09-27 22:35   ` Dominik Vogt
2021-09-27 23:03     ` Bart Schaefer
2021-09-29 12:24 ` Vincent Lefevre

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).