Persistent VTY history?

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/OpenBSC@lists.osmocom.org/.

Stefan Sperling stsp at stsp.name
Wed Oct 10 07:17:52 UTC 2018


On Tue, Oct 09, 2018 at 01:46:53PM +0100, Keith wrote:
> Of course, In my introspective viewpoint, I forgot that the server
> doesn't know which user is on the vty, and that there might be multiple
> users, I was only thinking of myslef, on my own local box. :/

Multi-user history support could be left for later.
For now, we could simply have the server write the history of any
connected session to the file when command history is enabled.
It is the simplest solution and works well for the most obvious
use case, which is making repeated testing/debugging easier to do.

If multiple users are connected then their command histories will be
combined. That's no different from what some shells are doing when a
user opens multiple terminal windows at the same time.

A client-side history solution could still be added later, independently
of any server-side solution.



More information about the OpenBSC mailing list