Re: Help with serial I/O

new topic     » goto parent     » topic index » view thread      » older message » newer message

At 03:47 PM 5/27/98 +0200, Maurizio wrote:

>I am able to communicate using any existing terminal program. The settings
>are 9600, 7E2 (!). I have also downloaded e-term package from Irv's web
>site. I works quite fine, but I still receive some "garbage" when the switch
>displays the login prompt. Due to this, I'm not able to input username and
>password correctly, because the switch always gives me an authorization
>failure message.
>
>I think it's a problem in interpreting some escape sequence sent by the
>switch. I will investigate....

E-term2 should be able to keep up with 9600 baud (at least
short bursts). You may be right about the escape sequences.
The pbx we were connected to was designed to talk to a WYZE
terminal, not a pc. Therefore it sent some "weird" codes -
cursor position, etc. Don't count on them all beginning with
esc, either.

Hopefully, the info will be in the manual
(and, hopefully, I will win the lottery - about the same chance)
The manufacturers of the switch may give you some info, but
most likely you will have to find this out by trial and error.
There are a couple of DOS port monitor programs available on
the web. They can keep track of the input and the output
streams, so you can see what's going on. I'm sorry I don't
remember the names.

I think it would be good to rewrite e-term.ex so it sends a line
at a time, rather character by character. You could avoid
echoing the ugly backspace character this way.

Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu