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


From: alsaggaf@athena.mit.edu (M. Saggaf)
Subject: Re: Seyon 1.91 terminal emulation problem
Date: 14 Feb 1993 13:14:57 GMT


>>>>> On Sat, 13 Feb 1993 18:21:00 GMT, cw2wong@cayley.uwaterloo.ca (Kelly Wong) said:

KW> Dear linuxers:

KW> I have a few problems regarding seyon 1.91 on linux. I have
KW> my ~/.seyon/startup properly setup to 2400, E71 and modem port
KW> "set port /dev/modem". When I start seyon, It shows "no modem
KW> device detected". When I try "seyon -modem /dev/modem &", this
KW> time it works. But the modem setting is still not correct, i.e.
KW> 9600, N81. What's wrong?? I have my program and ~/.seyon directory
KW> all in the same partition....

The reason you get the message about the modem port is that Seyon
opens the modem device before executing any script. The script command
'set port' is useful for changing the modem device from withen a
script, but is not intended to be used to specifiy the initial modem
device. What you need to do is set the resource 'modem' to your modem
device. For example, in my .Xresources I have:

          Seyon.modem: /dev/ttys0

That's more convenient than specifying the modem device on the command
line each time you invoke Seyon.

The other behavior is also normal. Seyon differentiates between
*default* settings and *current* settings. When you dial an entry in
the phonebook that has no override settings, Seyon uses the default
settings for that host. On the other hand, when you do manual dialing,
issue a dial in a at the terminal (ATDT..), or use the override
settings keyword CURRENT, Seyon uses the current settings. Why so?
Because if Seyon is use the current settings for entries in the
phonebook, then the settings for entries that do not specify them
would depend on the last script executed or the last time you used the
settings window -- not good.

Setting parameters in a script always sets the current settings, never
the default ones. How do you set the defaults? Via the resources, for
example:

          Seyon.defaultBits: 7
          Seyon.defaultParity: 2
          Seyon.defaultStopBits: 1
          .
          .
          etc.

The manual page has a complete description of all the resources.

If you don't like this policy, Seyon is flexible enough to allow you
to override that be using the override settings keyword CURRENT, but I
do not recommend that, for the reason stated above.

You can make sure that Seyon actually did set the current settings as
you specified in your startup script by taking a look at the settings
window after startup -- the values of entries there would match what
you specified in your script.

I tried to make the above distinction between default and current
settings clear in the manual page of the last two beta verions, take a
look at the script section of the manual page under the 'set' command
for more details.

Regards,

/Muhammad M. Saggaf | Stop the genocide
 alsaggaf@athena.mit.edu | Save Bosnia

 

KW> Also, one more problem. I've tried to set up in my phonelist
KW> the correct modem setting for each remote host to override the
KW> above problem. But, after the connection is established, it seems
KW> that there are characters missing, e.g. "Enter Password" becomes
KW> "Eersswd".. My terminal emulation is xterm and I think it should
KW> be ok. What's wrong? Anybody can help?? Thanx in advance. I
KW> apologise for my poor english.

KW> -- Kelly.