Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqvm-run does not always color stderr, even if it is a TTY #2190
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 21, 2016
Member
Indeed currently coloring enabled based on stdout being TTY or not. If you redirect it to /dev/null, it is no longer TTY...
But even if you force coloring, sequence enabling colors is outputed to stdout - so if redirected to /dev/null, it will be useless.
Do you think it both should receive color switch sequence? Probably yes...
Anyway, what is real use case for --pass-io, then redirecting stdout to /dev/null?
|
Indeed currently coloring enabled based on stdout being TTY or not. If you redirect it to Do you think it both should receive color switch sequence? Probably yes... Anyway, what is real use case for |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
rustybird
Jul 21, 2016
Do you think it both should receive color switch sequence?
Yes. Maybe it could even be simplified by letting qrexec-client take prologue string and epilogue string arguments (defaulting to \033[0;31m and \033[0m), which would be written to stdout and stderr if they are terminals. Because qrexec-client already handles something related with -t and -T.
Anyway, what is real use case for --pass-io, then redirecting stdout to /dev/null?
Heh, /dev/null was not the best example. My actual use use case is qvm-run ... | other_command.
rustybird
commented
Jul 21, 2016
Yes. Maybe it could even be simplified by letting qrexec-client take prologue string and epilogue string arguments (defaulting to
Heh, /dev/null was not the best example. My actual use use case is |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
rustybird
Jul 21, 2016
Maybe it could even be simplified by letting qrexec-client take prologue string and epilogue string arguments
Scratch that: Dealing with signals in C to ensure that the epilogue string is written out would probably be too much trouble.
rustybird
commented
Jul 21, 2016
Scratch that: Dealing with signals in C to ensure that the epilogue string is written out would probably be too much trouble. |
andrewdavidwong
added
enhancement
C: core
P: minor
labels
Jul 21, 2016
marmarek
added this to the Release 3.0 updates milestone
Jul 24, 2016
marmarek
self-assigned this
Jul 29, 2016
marmarek
closed this
in
marmarek/old-qubes-core-admin@86a14b5
Aug 7, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Aug 8, 2016
Member
Automated announcement from builder-github
The package qubes-core-dom0-3.2.8-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-dom0-cur-test
label
Aug 8, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Aug 31, 2016
Member
Automated announcement from builder-github
The package qubes-core-dom0-3.2.8-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
marmarek
added
r3.2-dom0-stable
and removed
r3.2-dom0-cur-test
labels
Aug 31, 2016
added a commit
to QubesOS/qubes-core-admin
that referenced
this issue
Nov 20, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Nov 20, 2016
Member
Automated announcement from builder-github
The package qubes-core-dom0-3.1.18-1.fc20 has been pushed to the r3.1 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.1-dom0-cur-test
label
Nov 20, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Dec 4, 2016
Member
Automated announcement from builder-github
The package qubes-core-dom0-3.1.18-1.fc20 has been pushed to the r3.1 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
rustybird commentedJul 21, 2016
Qubes OS version:
R3.1, probably also R3.2
is not colored red.