From: M. Saggaf (alsaggaf@athena.mit.edu)
Date: 04/04/93


From: alsaggaf@athena.mit.edu (M. Saggaf)
Subject: Re: Help with Seyon, Dial Aborted: On line.
Date: 4 Apr 1993 22:06:33 GMT

In article <1993Apr4.183002.27460@mp.cs.niu.edu> t90yxq9@mp.cs.niu.edu (Qian Yang) writes:
>Yesterday I compiled Seyon 2.12, however when I tried to run it,
>it gave me "Dial Arborted: Online". So I hangup first, the message
>now is "Line disconnected", then I dialed again, still "online".
>I quit and run kermit immediately and it works fine. This 'Online'
>problem happens even I hard-boot my system and run seyon at once.
>Has anybody have the same experience ? Any help will be appreciated.
>Thanks a lot. (E-mail please)
>

Seyon is smarter that kermit (well, at least it tries to). Before
dialing a number, Seyon first checks to see if the modem is already
on-line. It does so by querying the status of the DCD flag (Data
Carrier Detect). If DCD is asserted, Seyon concludes that the modem is
on-line and refuses to dial the number.

Two resources govern this behavior. The first is hangupBeforeDial. If
this resource is enabled (set to ``on'') and DCD is asserted, Seyon
hangs up the line before dialing. The second is ignoreModemDCD. If
this resource is enabled, Seyon ignores the status of DCD and 1)
always hangs up befoe dialing if hangupBeforeDial is enabled, and 2)
proceeds to dial even if DCD is asserted.

In your case I think that your modem is asserting DCD all the time,
even if the modem is off-line. When dialing, Seyon finds that DCD is
asserted and hangs up. However, after hanging up, it finds that DCD is
still asserted, and since the default for ignoreModemDCD is ``off'',
it refuses to dial.

To fix that, you have two options. The first is to tell your modem not
to assert DCD all the time. The command for that in my modem is
``AT&C1'' (AT&C0 does the opposite), but might be different in yours.
If you don't wish to do that, set the resource ignoreModemDCD to
``on''. This way Seyon will ignore DCD and behave just like kermit. To
set the resource, put the line:

             Seyon.ignoreModemDCD: on

in your ~/.Xresource file.

The on-line clock at the top left corner of Seyon's command center
will tell you whether DCD is asserted (clock running, button light or
depressed) or not (clock not running, button dark or raised). The
manual has more details and explanations of the above resources.

All the best,

/Muhammad M. Saggaf | Bosnia: a nation annihilated while the
 alsaggaf@athena.mit.edu | world is watching. Help stop the genocide.