Attention is currently required from: osmith.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/27033 )
Change subject: net: make terminal configurable in config file
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/27033
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I0afb6b0242c399334a2c37f18a5d26d5beeabedc
Gerrit-Change-Number: 27033
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 07 Feb 2022 17:48:58 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: osmith.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/27037 )
Change subject: net: run.sh: tweak quit logic
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
I've never seen this.
maybe something is piping data to stdin and the read keeps getting data that is != "q"?
you could try a 'cat' before the 'while read', i.e. flush any stdin data up to then.
--
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/27037
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: Iebb799493f76fd57f24b15c998ded2bd8e284e6b
Gerrit-Change-Number: 27037
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-CC: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 07 Feb 2022 17:48:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: osmith.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/27036 )
Change subject: net: run.sh: support tmux as terminal
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/27036
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: Iaef08fb3cb3c6f58cd8490a631e177a03af9c974
Gerrit-Change-Number: 27036
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 07 Feb 2022 17:44:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: osmith.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/27036 )
Change subject: net: run.sh: support tmux as terminal
......................................................................
Patch Set 1:
(2 comments)
Commit Message:
https://gerrit.osmocom.org/c/osmo-dev/+/27036/comment/784f946d_eabf60de
PS1, Line 12: automatically scroll to the bottom
really? not my terminal. i even had the problem occasionally that when i keep the terminal scrolled up to past logging, that an osmo program would halt because the log pipe was stalling. (AFAIK that's been fixed on the osmo side.)
But i can definitely scroll up all i want, it only jumps to the bottom when i hit a key or i think when the backscroll buffer is full, which obviously i set very very large, 10k or even 100k lines.
i remember tmux doing this weird jumping to the bottom very occasionally, which i found so annoying that i went back to preferring single terminals instead of tmux windows.
Patchset:
PS1:
nice!! i always wanted this but didn't have the grit to actually do it.
opening all the terminals was a quick hack really.
i was going to say now that we can drop everything else and just use tmux as the only option.
(but then again, it can be quite convenient to use the window manager's window navigation and not having to type tmux combinations. also i wish tmux would allow showing backscroll using 'shift-pgUp' or just pgUp, it is so much easier to type and i'm really used to that.)
btw, it has been quite a long time that i last used the osmo-dev/net scripts to run a network.
i currently don't test with hardware at all. good to see that it is still useful.
--
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/27036
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: Iaef08fb3cb3c6f58cd8490a631e177a03af9c974
Gerrit-Change-Number: 27036
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-CC: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 07 Feb 2022 17:44:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: osmith.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/27035 )
Change subject: net: run.sh: write wrapper command to shell script
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
File net/templates/run.sh:
https://gerrit.osmocom.org/c/osmo-dev/+/27035/comment/5060fb64_c06d7eca
PS1, Line 43: wrapperdir="wrappers"
i'd prefer a single 'run' dir and keep both the launcher scripts as well as pids in it.
(i'd call them launchers, nevermind)
--
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/27035
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I15760d706b20628421c10a16514120f442d5477f
Gerrit-Change-Number: 27035
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 07 Feb 2022 17:29:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: osmith.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/27034 )
Change subject: net: run.sh: store all spawned pids in files
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
Patchset:
PS1:
the weird hoops one has to jump through in shell generally often makes me consider rewriting things in python
--
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/27034
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I379ef71de2f1ab0ac4a28064e5cf9e275c4c61e9
Gerrit-Change-Number: 27034
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 07 Feb 2022 17:24:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment