* [ISSUE] mscan reliance on stdin
@ 2021-05-19 3:16 hallyn
2021-05-19 9:25 ` leahneukirchen
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: hallyn @ 2021-05-19 3:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 447 bytes --]
New issue by hallyn on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/208
Description:
If I do 'mscan' after an 'mseq -S', it shows the sequence. If I do 'mscan < /dev/null', it shows nothing. If I do "mscan' again, it shows all messages again. I noticed this when running mscan inside a script launched through dmenu. Doing 'mseq | mscan' worked around it in that script, but this seemed unintentional based on the code.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mscan reliance on stdin
2021-05-19 3:16 [ISSUE] mscan reliance on stdin hallyn
@ 2021-05-19 9:25 ` leahneukirchen
2021-05-19 9:25 ` [ISSUE] [CLOSED] " leahneukirchen
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: leahneukirchen @ 2021-05-19 9:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
New comment by leahneukirchen on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/208#issuecomment-843920131
Comment:
No, this is intentional. Some mblaze tools check if input is a tty and do some useful default behavior then.
```
If no msgs are specified, mscan reads filenames from the standard input,
or scans the mails in the current sequence if used interactively.
```
You can use `mscan :` instead.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ISSUE] [CLOSED] mscan reliance on stdin
2021-05-19 3:16 [ISSUE] mscan reliance on stdin hallyn
2021-05-19 9:25 ` leahneukirchen
@ 2021-05-19 9:25 ` leahneukirchen
2021-05-19 15:02 ` hallyn
2021-05-19 15:03 ` hallyn
3 siblings, 0 replies; 5+ messages in thread
From: leahneukirchen @ 2021-05-19 9:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 450 bytes --]
Closed issue by hallyn on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/208
Description:
If I do 'mscan' after an 'mseq -S', it shows the sequence. If I do 'mscan < /dev/null', it shows nothing. If I do "mscan' again, it shows all messages again. I noticed this when running mscan inside a script launched through dmenu. Doing 'mseq | mscan' worked around it in that script, but this seemed unintentional based on the code.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mscan reliance on stdin
2021-05-19 3:16 [ISSUE] mscan reliance on stdin hallyn
2021-05-19 9:25 ` leahneukirchen
2021-05-19 9:25 ` [ISSUE] [CLOSED] " leahneukirchen
@ 2021-05-19 15:02 ` hallyn
2021-05-19 15:03 ` hallyn
3 siblings, 0 replies; 5+ messages in thread
From: hallyn @ 2021-05-19 15:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
New comment by hallyn on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/208#issuecomment-844191597
Comment:
Oh, thanks. I didn't know about ':'. I would open a PR to update the manpage, but I need to understand precisely how it's used first. I'll try to do that in the next few days (unless you say you don't want it).
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mscan reliance on stdin
2021-05-19 3:16 [ISSUE] mscan reliance on stdin hallyn
` (2 preceding siblings ...)
2021-05-19 15:02 ` hallyn
@ 2021-05-19 15:03 ` hallyn
3 siblings, 0 replies; 5+ messages in thread
From: hallyn @ 2021-05-19 15:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 402 bytes --]
New comment by hallyn on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/208#issuecomment-844192997
Comment:
> Oh, thanks. I didn't know about ':'. I would open a PR to update the manpage, but I need to understand precisely how it's used first. I'll try to do that in the next few days (unless you say you don't want it).
Oh I see. I suppose that's covered by the mmsg manpage.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-05-19 15:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 3:16 [ISSUE] mscan reliance on stdin hallyn
2021-05-19 9:25 ` leahneukirchen
2021-05-19 9:25 ` [ISSUE] [CLOSED] " leahneukirchen
2021-05-19 15:02 ` hallyn
2021-05-19 15:03 ` hallyn
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).