Hi,

I need to pass function keys in octal to a Cisco router/terminal server. I used the 
telnet module and able to use something like:

t->cmd("\033OV");   ### sending PF7

this worked. What I wanted to do is read the function key translations from a flat 
file and use variables instead 
ex: t->cmd($pf7)
i.e. no hardcoding of the key translations.
But when I do this the string \033OV is not translated into PF7 instead actual string 
"\033OV" is passed to the Cisco router. Please help.

Thanks
Atul

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to