Sponsored Content
Top Forums Shell Programming and Scripting Auto sending text files from SCO box to a PC via serial cable Post 302177260 by gbrowne on Thursday 20th of March 2008 01:14:38 PM
Old 03-20-2008
Auto sending text files from SCO box to a PC via serial cable

I have an SCO system with several PC's hooked up via ProComm and serial cabling (no Ethernet). I want to occasionally transfer a small text file from the UNIX system to a specific PC without the PC operator having to do anything (she may be out to lunch or doing other work during the transfer)

What is a UNIX command (or program) that might do this transfer? (I assume we can use cron to run this command or program every few minutes).

Graham Browne
Business Systems, Inc.
Jackson, MS
Phone: 601-957-1500
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

serial card in SCO Unix

Does anyone know how to configure a generic serial card within SCO Unix ???? Any specific driver ? Any help will be greatly appreciated CHRIS (7 Replies)
Discussion started by: germiphene
7 Replies

2. Solaris

null modem serial cable for server testing

HI all, i still have a problem when using null modem to see the output from my server(sun ultra en 3000). i followed the instruction from the internet, but it is not working. 1. i am using db9(5 4, 2 rows,put in laptop serial port) and db25(13 12, 2 rows,put in (A) server serial port). 2.... (3 Replies)
Discussion started by: waterbear
3 Replies

3. Shell Programming and Scripting

Sending text files as attachments

Hi, I have used the following command to send a text file "archiver.log" as attachment. (cat mail.log; uuencode archiver.log archiver.log; ) | mailx -s "Failure" asd@a.com : But in the mail i am not getting new lines in the text file.New Lines are getting replaced with some weird... (2 Replies)
Discussion started by: radhika03
2 Replies

4. UNIX for Dummies Questions & Answers

sorting files with find command before sending to text file

i need help with my script.... i am suppose to grab files within a certain date range now i have done that already using the touch and find command (found them in other threads) touch -d "$date_start" ./tmp1 touch -d "$date_end" ./tmp2 find "$data_location" -maxdepth 1 -newer ./tmp1 !... (6 Replies)
Discussion started by: deking
6 Replies

5. Shell Programming and Scripting

FTP some text files from Windows box to unix

hi all, can anybody help me with script or command to ftp some text file from windows machine to AIX machine. this is shud be done by executing a shell script. (1 Reply)
Discussion started by: suprithhr
1 Replies

6. UNIX for Dummies Questions & Answers

rollover cable with linux box

hi all gurus can we using laptop(XP) with rollover cable to connect serial port on linux box? thanks jiajin (1 Reply)
Discussion started by: lijiajin
1 Replies

7. Hardware

How to install a driver of my USB-A to Serial Cable

Hi Gurus of Unix Recently I install a OpenSolaris in My HP 530 In this moment want to install a USB-A to Serial Cable. Any guru can send a Link where I can use how reference. I want to configure a Router and my PC don't have any serial Port. My LapTOP only has USB ports. In this case I buy a... (2 Replies)
Discussion started by: andresguillen
2 Replies

8. Hardware

Serial connection CAT5 instead of RS232 and Null Modem or Straight cable.

Hello, I want to connect a VT520 terminal to p3 linux box. I have two questions regarding the connection. First, is it possible to use RJ45 instead of RS232 cable. (with DB9 pin to RJ45 and DB25 to RJ45 converter). Second point is that; do i need null modem cable or straight cable... (5 Replies)
Discussion started by: vectrum
5 Replies

9. Web Development

How to copy a selected value of list box into a text box in html form?

hi, i have a list box , a text box and a button in a html form. list box displays some values, when a user selects a value from the list box and press the button. the selected value should be copied to the text box value. can any1 give me a html and javascript code to do this facility. ... (1 Reply)
Discussion started by: Little
1 Replies
UUCICO(8)						      System Manager's Manual							 UUCICO(8)

NAME
uucico, uucpd - transfer files queued by uucp or uux SYNOPSIS
/usr/sbin/uucico [ -dspooldir ] [ -ggrade ] [ -rrole ] [ -R ] [ -ssystem ] [ -xdebug ] [ -L ] [ -tturnaround ] /usr/libexec/uucpd DESCRIPTION
Uucico performs the actual work involved in transferring files between systems. Uucp(1) and uux(1) merely queue requests for data transfer which uucico processes. The following options are available. -dspooldir Use spooldir as the spool directory. The default is /usr/spool/uucp. -ggrade Only send jobs of grade grade or higher this transfer. The grade of a job is specified when the job is queued by uucp or uux. -rrole role is either 1 or 0; it indicates whether uucico is to start up in master or slave role, respectively. 1 is used when running uucico by hand or from cron(8). 0 is used when another system calls the local system. Slave role is the default. -R Reverse roles. When used with the -r1 option, this tells the remote system to begin sending its jobs first, instead of waiting for the local machine to finish. -ssystem Call only system system. If -s is not specified, and -r1 is specified, uucico will attempt to call all systems for which there is work. If -s is specified, a call will be made even if there is no work for that system. This is useful for polling. -xdebug Turn on debugging at level debug. Level 5 is a good start when trying to find out why a call failed. Level 9 is very detailed. Level 99 is absurdly verbose. If role is 1 (master), output is normally written to the standard message output stderr. If stderr is unavailable, output is written to /usr/spool/uucp/AUDIT/system. When role is 0 (slave), debugging output is always written to the AUDIT file. -L Only call ``local'' sites. A site is considered local if the device-type field in L.sys is one of LOCAL, DIR or TCP. -tturnaround Use turnaround as the line turnaround time (in minutes) instead of the default 30. If turnaround is missing or 0, line turnaround will be disabled. After uucico has been running in slave role for turnaround minutes, it will attempt to run in master role by negotiating with the remote machine. In earlier versions of uucico, a transfer of many large files in one direction would hold up mail going in the other direction. With the turnaround code working, the message flow will be more bidirectional in the short term. This option only works with newer uucico's and is ignored by older ones. If uucico receives a SIGFPE (see kill(1)), it will toggle the debugging on or off. Uucpd is the server for supporting uucp connections over networks. Uucpd listens for service requests at the port indicated in the ``uucp'' service specification; see services(5). The server provides login name and password authentication before starting up uucico for the rest of the transaction. Uucico is commonly used either of two ways: as a daemon run periodically by cron(8) to call out to remote systems, and as a ``shell'' for remote systems who call in. For calling out periodically, a typical line in crontab would be: 0 * * * * /usr/sbin/uucico -r1 This will run uucico every hour in master role. For each system that has transfer requests queued, uucico calls the system, logs in, and executes the transfers. The file L.sys(5) is consulted for information about how to log in, while L-devices(5) specifies available lines and modems for calling. For remote systems to dial in, an entry in the passwd(5) file must be created, with a login ``shell'' of uucico. For example: nuucp:Password:6:1::/usr/spool/uucppublic:/usr/sbin/uucico The UID for UUCP remote logins is not critical, so long as it differs from the UUCP Administrative login. The latter owns the UUCP files, and assigning this UID to a remote login would be an extreme security hazard. FILES
/etc/uucp/ UUCP internal files /etc/uucp/L-devices Local device descriptions /etc/uucp/L-dialcodes Phone numbers and prefixes /etc/uucp/L.aliases Hostname aliases /etc/uucp/L.cmds Remote command permissions list /etc/uucp/L.sys Host connection specifications /etc/uucp/USERFILE Remote directory tree permissions list /usr/spool/uucp/ Spool directory /usr/spool/uucp/AUDIT/* Debugging audit trails /usr/spool/uucp/C./ Control files directory /usr/spool/uucp/D./ Incoming data file directory /usr/spool/uucp/D.hostname/ Outgoing data file directory /usr/spool/uucp/D.hostnameX/ Outgoing execution file directory /usr/spool/uucp/CORRUPT/ Place for corrupted C. and D. files /usr/spool/uucp/ERRLOG UUCP internal error log /usr/spool/uucp/LOGFILE UUCP system activity log /usr/spool/uucp/LCK/LCK..* Device lock files /usr/spool/uucp/SYSLOG File transfer statistics log /usr/spool/uucp/STST/* System status files /usr/spool/uucp/TM./ File transfer temp directory /usr/spool/uucp/X./ Incoming execution file directory /usr/spool/uucppublic Public access directory SEE ALSO
uucp(1), uuq(1), uux(1), L-devices(5), L-dialcodes(5), L.aliases(5), L.cmds(5), L.sys(5), uuclean(8), uupoll(8), uusnap(8), uuxqt(8) D. A. Nowitz and M. E. Lesk, A Dial-Up Network of UNIX Systems. D. A. Nowitz, Uucp Implementation Description. 4.3 Berkeley Distribution October 23, 1996 UUCICO(8)
All times are GMT -4. The time now is 06:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy