APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

SCO Unix Serial Communications and UUCP

This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

How do I change uucico's window size in SCO Unix?

This is an ancient post with little relevance to modern systems. UUCP still exists and can even be useful in some contexts, but the information in this post is likely only of historical interest.

For OpenServer Release 5, see the man page for Configuration. For earlier versions, read on.

You need to have adb or _fst to do this. See the information on getting these, which can be found in section 1. First, make a backup copy of /usr/lib/uucp/uucico! This is very important. Also, note its ownership and permissions. To change the window size to 7, run the following command from the Bourne shell:


adb -w /usr/lib/uucp/uucico - << EOF
$d
_windows/w 7
$q
EOF

 

When you have done this, reset the ownership and permissions to what they were originally; this process will change them on you.

Note that specifying a window size greater than seven may break uucico, as the g protocol is designed for a window size of no more than seven. Also, the documentation and/or scopatches that ship with some SCO products list the second line of the above as "%d". This, at least on the copy of adb I have, will fail; $d is correct. If you are using Unix 3.2v4, leave the underscore off the symbol name.

On Xenix 2.3.4, you may be tempted to use the scopatch command to make this change. Don't bother; there are at least three bugs in the short script which does this work, and it's just as easy to do it manually as it is to fix the script.


Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> SCO Unix uucico's window size



Increase ad revenue 50-250% with Ezoic

Kerio Samepage


Have you tried Searching this site?

Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us





Within C++, there is a much smaller and cleaner language struggling to get out. (Bjarne Stroustrup)





This post tagged: