mark@dssoxnx.UUCP (Mark Beyer) (03/01/85)
Help! Within an L.sys entry, how can I include spaces in a "send" field ? Specifically, I need to send a command of the form "connect device" after which I "expect" to receive some string like "connected". So far I've tried double and single quotes and backslashes with no success. uucico just sends "connect". Thanks in advance, Mark Beyer ...intelca!dssoxnx!mark
stein@fortune.UUCP (Mark Stein) (03/04/85)
> Within an L.sys entry, how can I include spaces in a "send" field ? > Specifically, I need to send a command of the form > "connect device" > after which I "expect" to receive some string like "connected". How you do this depends on what version of UUCP you are running. For system V and 4.2BSD UUCPs, you use \s for space: connect\sdevice In some versions (including Fortune's), you can specify \040: connect\040device You're stuck if you have a vanilla v7-based UUCP (including 4.1BSD and system III). I don't think there is any way to specify non-printing or white-space characters in these versions. And, as you have found out, quotes are not treated specially in the L.sys send fields. Mark Stein Fortune Systems
honey@down.FUN (code 101) (03/05/85)
embedded space is encoded as \s in 4.2bsd uucp or honey danber, but is not supported in other versions of uucp. if you have sources, it's easy enough to hack \s into sendthem(). peter