TIP: Click on subject to list as thread! ANSI
echo: muffin
to: Michele Marie Dalene
from: Wes Garland
date: 2003-07-02 06:41:00
subject: Bink XE Hand-off

MMD> #!/bin/sh
 MMD> export TERM=ansi.sys
 MMD> /sbin/agetty -h $1 ttyS1 vt100

 MMD> that calls agetty which fires the normal unix login. a bbs user gives
 MMD> the username of bbs (no password needed) to login 
 MMD> to synchronet. heres
 MMD> the script  of the bbs user, this script is called 
 MMD> .profile in the bbs
 MMD> users home directory.
 
Thanks -- looks like Bink XE handles and passes off a plain serial port
(this is good) and Synchronet uses a TTY.
 
This works out well, because Maximus is not going to work under a
getty-style environment any time soon, because the max sysop console is
handled through curses, which talks to the  controlling pseudo tty (long
story short, max can't tell the sysop from the user under a getty right
now).
 
So, handing off to max should be pretty straightforward from Bink XE once I
get the serial module running -- something like this would need to run from
the mailer:
 
cd /var/max && bin/max -b38400 -n1 -pserial:/dev/ttyS1 -xc
 
"serial:" instructs the new comm driver stub to load
serialcomm.so and open port /dev/ttyS1. "-n1" forces us to node
number one (-n0 is for dynamic ports, i.e. for the ip driver). -b38400
provides the baud rate, I forget if this is the fixed DTE/DCE rate or not
(pretty sure it is), and -xc tells max to not check DCD, just flip right to
the user login.
 
Wes

--- Maximus/2 3.01
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 633/267 270
@PATH: 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.