Scrolled widget problems
"João Guilherme Sauer" <[email protected]> Mon, 17 Sep 2007 08:08:09 -0400
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
Hi guys,
I have a question to you.
I using NET::Telnet with perltk. the problem is that the message
receive in net::telnet is showed perfect in the shell. But in the
Scrolled widget it's showed some strange characteres.
I know that this is a control characteres, but I'm trying found an
solution for this for more than 2 weeks and nothing.
Look the message in the shell(using print "$variable"):
---------------------------------------------------------------------------=
--------
MG_SCE>2005-04-01T14:21:06+0000 : os_handler
sce_ipmi_domain_conn_change(): ********** OpenIPMI DOMAIN CONN ERROR
*****
err =3D0x16, con_num =3D 0, port_num =3D 0, still_connected =3D
---------------------------------------------------------------------------=
-----------
Look in the scrooled widget(using widget{'Scrolled'}->insert{'end',
"$variable"}):
---------------------------------------------------------------------------=
--------
MG_SCE>2005-04-01T14:21:06+0000 : os_handler sce_ipmi_domain_conn_change():=
****
=1B[79C=1B[AIPMI DOMAIN CONN ERROR *****
err =3D0x16, con_num =3D 0, port_num =3D 0, still_connected =3D 0
---------------------------------------------------------------------------=
--------
the =1B symbol not appears in my widget screen, in instead of appears \x{1b}
Thanks in advance for your help!
Best Regards,
Jo=E3o
--++**=3D=3D--++**=3D=3D--++**=3D=3D--++**=3D=3D--++**=3D=3D--++**=3D=3D--+=
+**=3D=3D
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk