-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
console: io backup restore #525
base: main
Are you sure you want to change the base?
Conversation
f096a01
to
f9d4706
Compare
f9d4706
to
ece79b0
Compare
This comment was marked as outdated.
This comment was marked as outdated.
I think we only need to handle one case at a time. And We should restore to the original console (as you implemented) when we finish with any of these commands, so the next one can properly run.
I hope I addressed these with the response above. Let me know if it didn't or ping me on discord/reddit to chat. |
2dc8887
to
2ecac27
Compare
335ddd6
to
731a71d
Compare
…p context This way syslog-ng-ctl -h, syslog-ng-ctl--help and syslog-ng-ctl command -h, syslog-ng-ctl command --help will behave the same way (not like till now) Signed-off-by: Hofi <[email protected]>
Signed-off-by: Hofi <[email protected]>
Signed-off-by: Hofi <[email protected]>
…l_console instead Signed-off-by: Hofi <[email protected]>
…ers to redirect on attach Signed-off-by: Hofi <[email protected]>
…urate help contexts and help info Signed-off-by: Hofi <[email protected]>
Signed-off-by: Hofi <[email protected]>
Signed-off-by: Hofi <[email protected]> # Conflicts: # lib/mainloop-control.c # syslog-ng-ctl/commands/attach.c
98f51b9
to
7dba99e
Compare
…er validation, sub-commands and options do not need to be double validated Signed-off-by: Hofi <[email protected]>
console: add support for restoring the original console io handlers after an attached control client has finished its work
Signed-off-by: Hofi [email protected]