Hi folks,
I'm trying to connect to the hmc and run vtmenu using the following command:
After that the screen becomes blank. Now I need to press <Enter>. The screen remains blank but if I scroll back one screen I can see the vtmenu output and choose any option I like.
Problem is: I don't want to have to press <Enter> AND I don't want to have to scroll back one screen every time I use this.
Now you might ask "What's the matter ? Just do it like this:"
"And everything will be fine".
That's true !
However: I'd like to integrate this command into a shell script of mine and therefore I need it do be executed in ONE command(line) ...
Any ideas how I could solve that issue ?
Regards
Thomas
I'm trying to connect to the hmc and run vtmenu using the following command:
Code:
ssh hscroot@hmc "export TERM=vt220; vtmenu"
After that the screen becomes blank. Now I need to press <Enter>. The screen remains blank but if I scroll back one screen I can see the vtmenu output and choose any option I like.
Problem is: I don't want to have to press <Enter> AND I don't want to have to scroll back one screen every time I use this.
Now you might ask "What's the matter ? Just do it like this:"
Code:
ssh hscroot@hmc <Enter>
vtmenu
"And everything will be fine".
That's true !
However: I'd like to integrate this command into a shell script of mine and therefore I need it do be executed in ONE command(line) ...
Any ideas how I could solve that issue ?
Regards
Thomas