Linux-Hams archive - August 1998: Re: Starting TNOS

Re: Starting TNOS

Ronnie Hale (rzc@rrd.com)
Sun, 2 Aug 1998 12:20:11 -0500 (CDT)


On Sat, 1 Aug 1998, Scott R Johnson wrote:

> Hello All, I'm very, very new to Linux, running TNOS 2.22 on Linux
> RedHat 5.0 and need some help starting it correctly. I would like to
> make it
> respawn as it is shown in the TNOS examples but when I try these I get
> the statement /tnos/startnos: USER: No such file or directory

Is your tnos and startnos in /tnos dir, and are they executable?
>
> In the inittab I have added 7:2345:respawn:/tnos/startnos /dev/tty7
>
> and in the startnos file
> cd /tnos
> export TZ=CST5CDT
> export TERM=console
> rm -f /tnos/spool/mqueue/*.lck
> rm -f /tnos/spool/mail/*.lck
> exec ./tnos < $1 > $1 2>&1
>
> I think my problem is with the "< $1 > $1 2>&1" line. If I change this
> to "exec ./tnos -U 0" it does start but will crash when I type anything
> on the keyboard. Can someone explain what the "< $1 > $1 2>&1" is
> doing or looking for and what am I missing for this to work correctly.

Scott, I'm wondering if you really have a "console" defined in terminfo.
Why don't you try commenting out the 'export TERM=console' line, and
trying that. I think it is superfluous in this case. (Unless Tnos has
some special need.) In addition, you should probably use the proper
switches "./tnos -U 0" when you start your tnos, in addition to the
"< $1 > $1 2>&1" gibberish. I'm sure Mike Bilow can explain the actual
functions of this statement, but basically, it starts your program in
the background, and dumps error msgs in the bit bucket. I am assuming
that your command arguments are valid. I played with tnos for a while,
and couldn't stop laughing. I especially like the feature where you
connect to a tnos node, type 'n' and it wants to change your name!
That's real innovative. I know... bbs...

One more thing, your TZ environment for US Central Time should be 6
hours behind GMT (UTC). Who was the genius who defined Universal
Coordinated Time as UTC? TZ=CST6CDT makes an allowance for Daylight
time. Well... I guess it does. I run Jnos, and it properly reads the
environment.

>
> Any help understanding this is much appreciated.
>
> Thanks.....Scott
>

--
73, Ronnie.
azylii.rdavrm@medmanagementllc.com