send escape char with telnet

Ignacio Vazquez-Abrams ignacio at openservices.net
Fri Aug 24 06:29:09 EDT 2001


On 24 Aug 2001, Federico Barbazza wrote:

> hi all,
> i want to send an escape char ( simulate an esc key press) to my
> client via telnet.
> If i use write("\e") i just send the char "\e", so my client browse it
> as a normal char.
> Any idea??
> thanks in advance,
> Federico.

Try using chr(27) instead.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list