This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
dexter gerrit-no-reply at lists.osmocom.orgdexter has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/26081 ) Change subject: pySim-shell: print newline on exit with CTRL+D ...................................................................... pySim-shell: print newline on exit with CTRL+D When pySim-shell is exited using CTRL+D it does not print a newline. This means that the prompt of the OS shell shows up after the pySim-shell prompt. This is irretating. Lets print a new line on exit with CTRL+D so that everything looks straight. Change-Id: I88e58094b9badeaabd8502006e5e16f35eaa683e --- M pySim-shell.py 1 file changed, 4 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved diff --git a/pySim-shell.py b/pySim-shell.py index 0be6f21..037b843 100755 --- a/pySim-shell.py +++ b/pySim-shell.py @@ -204,6 +204,10 @@ """Display the intro banner""" self.poutput(self.intro) + def do_eof(self, _: argparse.Namespace) -> bool: + self.poutput("") + return self.do_quit('') + @cmd2.with_category(CUSTOM_CATEGORY) def do_equip(self, opts): """Equip pySim-shell with card""" -- To view, visit https://gerrit.osmocom.org/c/pysim/+/26081 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I88e58094b9badeaabd8502006e5e16f35eaa683e Gerrit-Change-Number: 26081 Gerrit-PatchSet: 2 Gerrit-Owner: dexter <pmaier at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann at sysmocom.de> Gerrit-Reviewer: dexter <pmaier at sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de> Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211110/8b5c67d7/attachment.htm>