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

Oct 28 2010 12:40 PM

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)