Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to send multiple commands per session #132

Open
mrkmyt opened this issue Aug 26, 2020 · 0 comments
Open

Ability to send multiple commands per session #132

mrkmyt opened this issue Aug 26, 2020 · 0 comments
Assignees

Comments

@mrkmyt
Copy link

mrkmyt commented Aug 26, 2020

Currently if there are two commands returned from the command builder, two separate authentication instances are built and the commands sent separately.

It may be worthwhile to keep it this way for speed of execution, however, I believe it is necessary to be able to pass another command.

The value I see is that it should be possible to set the screen length so that a full output is given instead of the output until human intervention is necessary - like tapping the spacebar to continue the output

When an output is longer than the screen length of a device it is commonly known that the device will show a page and then prompt something like "----- More -----", which is when spacebar is usually pressed and the output is continued.
image

A bypass is usually possible to set the current session to have infinite screen-length.
On Huawei, the command "screen-length 0 temporary" does precisely this.

As the command is device specific it would have to be in the router model php file, however, as initially stated, when an extra command is passed it creates a new session and only passes that command

@gmazoyer gmazoyer self-assigned this Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants