1
Answer

how to send a "spacebar" press bar to remote device?

xiaodong pei

xiaodong pei

14y
1.9k
1

I'm trying to get output from a switch via telnet using java program. The problem is it requires a spacebar press to retrieve the rest of the information. Is there any way to mimic a "space bar" press?   use write(' '); doesn't work .
 
More(Enter: next line, spacebar: next page, any other key: quit)--
Answers (1)