perl - How can I send arrow key presses to a process using Expect.pm -
It looks like it should be clear, but how do I send an Arrow key in a process using Expect.pm? Does it depend on the terminal type which I am using (vt100) or do I send keyboard scandals?
TIA
It really depends on your current TERM environment variable once it's set correctly (Called VT220 or linux), then there are arrow keys
above: "\ c [[" a "bottom:" \ c [[b "left:" \ c [[d " Correct: "\ c [[c"
Comments
Post a Comment