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.