Help in xfering mail between SunOS and CTIX
George Robbins
grr at cbmvax.UUCP
Sun Jul 16 16:47:42 AEST 1989
In article <329 at ethz-inf.UUCP> cyliax at inf.ethz.ch.UUCP (Ingo Cyliax) writes:
>
> You could create a special process for the SysV box, that would open
> a pseudo tty for uucp to connect to and establish an rlogin or telnet
> connect on the sun. In this fashion, the uucp stuff should still work
> normally, but actually run over the net.
Actually, if you patch uucico in two places you can do pretty much the
same thing. Make a copy of uucico 8-), patch ioctl to simply return 0
and patch diropn to return 1. You now a version of uucp than can be
run from uucpd (no-oping ioctl prevents errors from doing tty ioctls
on a socket) and that initiates a conversation when spawned with
stdin/stdout open on a socket to a uucp daemon (making diropn return
a 1 causes uucico to use the file desriptor open on stdout when you
request any "direct" line).
Yes it's disgusting, yes it works, yes there are better ways.
This is based on BSD 4.2 derived uucp, your version is always different,
uucpd is redistributable 4.3 Tahoe soure, you have to kludge up your
own spawner...
--
George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing arpa: cbmvax!grr at uunet.uu.net
Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)
More information about the Comp.unix.wizards
mailing list