From: Bryan B. <br...@bu...> - 2008-12-12 09:06:50
|
> On Fri, Dec 05, 2008 at 08:52:46PM -0800, Robin Lee Powell wrote: >> >> I'm trying to send arrow keys to a curses app of mine. Rather >> than distributing that app, here's an example using "mutt", which >> is fairly common: > > No-one knows how to send arrows to curses apps in Expect? > > -Robin > By my reckoning, you have your string incorrect. The following should be arrow keys: $up = "\c[[A"; $down = "\c[[B"; $left = "\c[[D"; $right = "\c[[C"; and not "\e[[B"; Hope that helps. Bryan Bueter http://sourceforge.net/project/rover |