[S] Change in osmo-dev[master]: net/templates/run: fix prompts not working
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/33458 ) Change subject: net/templates/run: fix prompts not working ...................................................................... net/templates/run: fix prompts not working Reset the terminal after tmux new-window and after killing programs during shutdown. Otherwise with tmux 3.2a the input prompts do not work. Change-Id: I7f14c364637f82699a5b935637222d5da977d67d --- M net/templates/run.sh 1 file changed, 13 insertions(+), 0 deletions(-) Approvals: pespin: Looks good to me, but someone else must approve fixeria: Looks good to me, approved osmith: Verified diff --git a/net/templates/run.sh b/net/templates/run.sh index 6b8a324..1954cfb 100755 --- a/net/templates/run.sh +++ b/net/templates/run.sh @@ -141,6 +141,7 @@ case "$terminal" in tmux) tmux new-window -d -n "$title" "$launcher &; echo \$! > $pidfile_term; wait" + stty sane ;; *) sleep .2 -- To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/33458 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-dev Gerrit-Branch: master Gerrit-Change-Id: I7f14c364637f82699a5b935637222d5da977d67d Gerrit-Change-Number: 33458 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith@sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-MessageType: merged
participants (1)
-
osmith