HDTenEightyP/NetNews huggingface dataset:
From: martins@TorreyPinesCA.ncr.com (Martin Sandman 3562)
Subject: usermod root: a Catch 22?
Organization: NCR (Torrey Pines Development Center)
Disclaimer: This posting does not necessarily reflect the opinions of NCR.
Date: Fri, 8 Jan 93 19:48:33 GMT

On an SVR4 system you have to be root to execute usermod.
I tried to use usermod to set root's default shell to
/bin/ksh but it tells me that "root is in use. Cannot change it."

# usermod -s /bin/ksh root
UX: usermod: ERROR: root is in use.  Cannot change it.

Any suggestions?  Thanks.

-- 
======================================================================
= Martin D. Sandman                                     .........    =
= NCR Torrey Pines                                      ..x......    = 
= 11010 Torreyana Road    martins@TorreyPinesCA.NCR.com ....x....    =
= San Diego, CA 92121     Phone: 619-597-3562           .xx..xxx.    =
= U. S. A.                FAX:   619-597-3501           .........ants=
======================================================================
Newsgroups: comp.unix.questions
From: dman@netcom.com (Dallman Ross)
Subject: Re: looking a utility to chdir without typing full path
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
X-Newsreader: TIN [version 1.1 PL8]
Date: Sat, 9 Jan 1993 00:08:45 GMT

Wei Jin Mai (cl820@cleveland.Freenet.Edu) wrote:

>      I just switch to Unix from Dos. Is there a utility or shell that let you
>  change directory without typing full path? For example: chdir abc changes   
>  working directory to /usr/local/src/abc .
>  -- 

There are many ways to do this.  There are also a number of commercial
utilities that provide for this, the preeminent one probably being Norton.

But you can very easily write your own little batch files to do the same
thing.  Before I say more on that, I might mention that you can save your-
self a lot of keystrokes by realizing that "cd" does exactly the same
thing as "chdir."

Now for a batch-file example.  I have a subdirectory called BAT where
I keep all of my batch files, and it's in my path; but you can put
them anywhere they'll be found by your path.

Example of batch file to simplify changing dir's to
C:\APPS\TEXTAPPS\WP51\WORK\LETTERS\BUSINESS (believe it or not, a
real subdirectory on my computer):

------------
@echo off
c:
cd \apps\textapps\wp51\work\letters\business
------------

Use what's between the lines, and save it as, for example, WORK.BAT in
the appropriate active directory.  Then, from any DOS prompt, you would
just type "work" -- no need for even the "cd" referred to in the initial
paragraphs -- and you'll be in the right directory.

That said, if you're not using a shell front to DOS and you're not using
Windows, you still should rarely need to change directories manually.
By making all your main applications active (in your path in AUTOEXEC.BAT)
and by making batch files for the lesser-used ones, you will find that
"cd" is a rare command indeed.

I run many of my apps from batch files rather than making all my program
paths executable.  Here would be one for WordPerfect:

----------
@echo off
c:
cd \apps\textapps\wp51\wp
cd \
----------

The reason I have the extra "cd \" at the end is to "clean up" by reverting
to the root directory when I leave WordPerfect.  The batch file is still
active the whole time I'm in WP, waiting for the exit, and then it
puts me back in root.

WP51 has a feature whereby you can set up a default active-work directory,
and I use that feature.  In another program, I might use the batch
file to first move me to the proper subdirectory before initiating the
program-executable.

--
 __D_a l_l m a_n  _ R o_s s _ |dman@netcom.com  /or/  |"You sound like a man|
 l  \\ l\\   /l  /\\  l\\   l |dross@well.sf.ca.us    |with a rubber nose." |
 l   >)l \\ /ll /  \\ l \\  l |vox/fax: 1.510.645.1883| -- One-Lung Bill    |
 l  // l  \X ll/--- \\l  \\ l |350 Perkins St., #108  |     Remmer (deceased)
_l//______________________\\l_|Oakland,_CA__94610-3422|_____________________|_
Newsgroups: comp.unix.questions
From: sdesmara@sobeco.com (s.desmarais)
Subject: Re: The Revenge of CSH
Organization: Sobeco Ernst & Young
Date: Thu, 7 Jan 93 14:33:50 GMT

In <9236508.12113@mulga.cs.mu.OZ.AU> fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON) writes:

>In bash, you can do 
>	let i=i+1
>or you can even declare a particular variable as an integer, in which
>case all assignments are treated as 'let' statements:
>	declare -i counter
>	...
>	counter=counter+1
>but when programming anything more than a one-off, it's usually best
>to stick to the portable /bin/sh functionality rather than the bash
>extensions. You get used to i=`expr $i + 1` pretty soon, it's probably
>no more difficult than getting used to i++ after Pascal's i := i + 1.

Except that "i=`expr $i + 1`" does a fork/exec which can be really
time consuming inside a loop, especially when many processes are doing
the same thing.  You really need to be carefull, when writing shell
scripts, about using backquotes and pipes.  I got bitten by that with the 
printer interface program we were using on a printer server running
about 25 postscript printers a 6 matrix printers.  I was doing some
validation using grep, sed, tr, ...  It was forking like crazy.

I rewrote the validation step in C, and kept the shell script for the
remaining.  Everything's running smoothly know.

That good old rule: 90% of the time is consumed in 10% of the code...
                    ^^^                            ^^^ adjust those values
                                                       to suit your needs :-)

>-- 
>Fergus Henderson             fjh@munta.cs.mu.OZ.AU      
>This .signature virus is a self-referential statement that is true - but 
>you will only be able to consistently believe it if you copy it to your own
>.signature file!
-- 
Stephane M. Desmarais               sdesmara@sobeco.com  ou  sdesmara@sobeco.ca
Division STS - Sobeco Ernst & Young {uunet | mcgill-vision}!sobeco.com!sdesmara
505 boul Rene-Levesque Ouest        bur: (514) 878-9090 poste 297
Montreal, Quebec CANADA H2Z 1Y7     fax: (514) 875-2673  dom: (514) 251-9418
Newsgroups: comp.unix.questions
From: bad@flatlin.ka.sub.org (Christoph Badura)
Subject: Re: What function should I used to get directory information?
Organization: Guru Systems/Funware Department
Date: Mon, 4 Jan 1993 12:26:15 GMT

In <1hqdliINN6cu@usenet.INS.CWRU.Edu> cl820@cleveland.Freenet.Edu (Wei Jin Mai) writes:

>I want to the permission bits
>, the group id and user id.

Try stat(2).
-- 
				Christoph Badura  ---  bad@flatlin.ka.sub.org

Personally, I don't care whether someone is cool enough to quote Doug
Gwyn--I only care whether Doug Gwyn is cool enough to quote. -- Larry Wall
From: philw@vice.ICO.TEK.COM (Philip W White)
Newsgroups: comp.unix.questions
Subject: Re: Dumb Question...
Keywords: rm
Date: 8 Jan 93 02:58:37 GMT
Distribution: na
Organization: Tektronix Inc., Beaverton, Or.

adams@liszt.berkeley.edu (Adam L. Schwartz)
 wrote in <1993Jan7.184644.19735@pasteur.Berkeley.EDU>:

:: In article <C0EsA1.3u2@ncifcrf.gov> digennar@fcs280s.ncifcrf.gov (Frank S. DiGennaro) writes:
:: >	This might seem a simple question, but here goes... does UNIX have an 'unerase'
:: >command similar to DOS?
:: >
:: 
:: On our system, we have a set of commands which allow this action.  The
:: first command is aliased to 'rm'.  When used, instead of erasing the
:: file, it moves it to a separate directory.


BUT in 

Subject: Unix - Frequently Asked Questions (3/7) [Frequent posting]
 of: 7 Jan 93 06:03:12 GMT
 
we see:

:: 3.6)  How do I "undelete" a file?
:: 
::       Someday, you are going to accidentally type something like
::       "rm * .foo", and find you just deleted "*" instead of "*.foo".
::       Consider it a rite of passage.
::         [...]
::       Your first reaction when you "rm" a file by mistake is why not
::       make a shell alias or procedure which changes "rm" to move files
::       into a trash bin rather than delete them?  That way you can
::       recover them if you make a mistake, and periodically clean out
::       your trash bin.  Two points:  first, this is generally accepted
::       as a *bad* idea.  You will become dependent upon this behaviour
::       of "rm", and you will find yourself someday on a normal system
::       where "rm" is really "rm", and you will get yourself in trouble.
::          [...]
::       If you are still undaunted, then here is a possible simple
::       answer.  You can create yourself a "can" command which moves
::       files into a trashcan directory. In csh(1) you can place the
::       following commands in the ".login" file in your home directory:
:: 
:: 	alias can	'mv \!* ~/.trashcan'	   # junk file(s) to trashcan
:: 	alias mtcan	'rm -f ~/.trashcan/*'	   # irretrievably empty trash
:: 	if ( ! -d ~/.trashcan ) mkdir ~/.trashcan  # ensure trashcan exists
::       [...]
:: Ted Timar - tmatimar@empress.com
:: Empress Software, 3100 Steeles Ave E, Markham, Ont., Canada L3R 8T3


I agree emphatically with the text I quoted from the FAQ above:
 
DO NOT ALIAS rm!   Use some other name!   I use "del".
 
My apoliogies for reposting a small part of the FAQ text - I am trying
to show that "the net" has reached a "consensus" on this issue and
that I share that opinion.  You WILL someday find yourself on a new
Unix machine or account without that alias installed.
 
      Phil White   Tektronix, Beaverton, OR
USENET:  philip.w.white@tek.COM
 US Mail: Mail Stop 59-432, P.O. Box 500, Beaverton OR 97077-0001
Newsgroups: comp.unix.questions
From: ejohnson@void.ncsa.uiuc.edu (Eric E. Johnson)
Subject: Sockets: How do I detect when it has unexpectedly closed
Organization: University of Illinois at Urbana
Date: Mon, 4 Jan 1993 12:09:47 GMT

I know how to close a connection.  That's easy.  My question is: how do
I detect that a socket (AF_INET, SOCK_STREAM) has been unexpectedly 
disconnected from its remote client?  I'm assuming a case where the
remote client has crashed and was unable to send out a "closing"
message.

Eric
-- 
Eric E Johnson             | "The uncontested absurdities of today are the
ejohnson@a.cs.uiuc.edu     |  accepted slogans of tomorrow." - Ayn Rand
Newsgroups: comp.unix.questions
From: ns14@crux2.crux2.cit.cornell.edu (Nathan Otto Siemers)
Subject: Re: quest about tar
Organization: Department of Chemistry, Cornell Univ.
Date: 10 Jan 93 23:27:33

>>>>> On Sun, 10 Jan 93 14:04:24 GMT, fcf@n1gva (F. C. Floberg) said:

 F.> (Xyzzy) writes: : I would like to know how to un-tar a .tar file
 F.> that I FTP'ed.  My local : guru is not much help.  He'd rather do
 F.> it himself for job security. :) : Thanks in advance, : -- : My
 F.> opinions do not necessarily reflect those of my employer.  :
 F.> ..I'm not nearly as think as confused you am.  : xyzzy@imagen.com

 F.> tar -xvf myarchive.tar

	Christ, I hope it is without a dash.


	tar xvf my.........



--
--
/  | / /__|  /  /---/ /__| /  | /    nathan@chemres.tn.cornell.edu
From: seth@gradient.cis.upenn.edu (Zippy)
Newsgroups: comp.unix.questions
Subject: Termcap entry
Date: 7 Jan 93 20:03:08 GMT
Organization: University of Pennsylvania

Sorry if this is not the appropriate newsgroup...
I have an IBM 3101-22 terminal (the 22 is important) connected to
a Sun server.  There is no termcap entry for the 3101-22; the 3101-10
is the only one supported.  I need this termcap entry!  Does anyone
out there have it?

Please reply via email to seth@gradient.cis.upenn.edu.

Thanks,

Seth.
Seth Bromberger					seth@gradient.cis.upenn.edu
M.S.E. '93, University of Pennsylvania	  	seth@eniac.seas.upenn.edu
Newsgroups: comp.unix.questions
From: cpr4k@holmes.acc.Virginia.EDU (Christian P. Roberts)
Subject: Re: tar
Organization: Academic Computing Center - U.Va.
Date: Thu, 7 Jan 1993 15:56:20 GMT

In article <79339@hydra.gatech.EDU>, ccasted@prism.gatech.EDU (Edward Deering Boykin) writes:
|> what is the proper way to tar adirectory and all directories and files in it to
|> a file?
|> ie: I have a directory X with directory Y and Z and files A,B and C. I
|> want to put the entire structure into a tar file which when I untar it the
|> directories and files will be where they used to be.
|> 

While at the level of directory X, give the command
       
tar cvf X.tar ./X

To untar it somewhere else, copy the file X.tar to that place and use

tar xvf X.tar

-- 

Chris Roberts                     ITC/Academic Computing Center
cpr4k@virginia.edu                University of Virginia           
(804) 982-4693                    Charlottesville, Virginia 22903
Newsgroups: comp.unix.questions
From: pjh@mccc.edu (Pete Holsberg)
Subject: Re: searching a file
Organization: The College On The Other Side Of Route One
Date: Mon, 4 Jan 1993 15:37:26 GMT

In article <1993Jan4.015530.23571@Princeton.EDU> lhjensen@fish.Princeton.EDU (Leif Jensen) writes:
=In article <1993Jan03.070721.14178@jpradley.jpr.com> jpr@jpradley.jpr.com (Jean-Pierre Radley) writes:
=>Here's a command to print all words in /usr/dict/words having 1, 2 or 3 "l"s:
=>
=></usr/dict/words tr '[A-Z]' '[a-z]' |
=>sed -n '
=>/^\([^l]*l[^l]*\)\1\{0,2\}$/p
=>'
=
=Here is a method using awk:
=
=awk -Fl 'NF >= 2 && NF <= 4' < /usr/dict/words
=
=Actually, I *think* your sed command is invalid.

You're right. J-P's script finds words that have more than 3 ells.
Newsgroups: comp.unix.questions
From: shamel@mais.hydro.qc.ca (Stephane Hamel)
Subject: Re: Where can I find source code for perl?
Keywords: perl, unix, precompilers, macro routines
Organization: Hydro-Quebec (DSB)
Distribution: usa
Date: Wed, 13 Jan 1993 00:27:04 GMT

hxb+@pitt.edu (Xie N Huiman) writes:

>I would like to obtain usage notes and source code for the unix public domain
>utility perl, in order to implement a simple macro substitution routine.
>I would appreciate if someone could tell me where to find this, or to e-mail
>the source code to ...

Perl, along with all other GNU sources can be found on prep.ai.mit.edu
(18.71.0.38). The actual release of Perl is 4.035 and is available for
almost all environment (including PC's and Unix of course).

Many other sites mirror this one, so U can find most sources on other less
used sites located near yours.
--
 Stephane Hamel (SHamel@Mais.Hydro.Qc.Ca) | AutoControl Inc.
 Senior Programmer-Analyst                | Montreal, Quebec, Canada
Newsgroups: comp.unix.questions
From: vasco@bvl.pt (antonio vasconcelos)
Subject: Re: Sockets: How do I detect when it has unexpectedly closed
Organization: Bolsa de Valores de Lisboa
X-Newsreader: Tin 1.1 PL4
Date: Mon, 11 Jan 1993 20:07:16 GMT

ejohnson@void.ncsa.uiuc.edu (Eric E. Johnson) writes:
: I know how to close a connection.  That's easy.  My question is: how do
: I detect that a socket (AF_INET, SOCK_STREAM) has been unexpectedly 
: disconnected from its remote client?  I'm assuming a case where the
: remote client has crashed and was unable to send out a "closing"
: message.

The server should receive the broken pipe signal, I have some code with this,
but I can't find it now. If in 2 or 3 days I don't post it here, please
remind me via e-mail (to vasco@bvl.pt).

-- 
regards,
  ____
|/asco
----------------------------------------------------------------------
From: andersonc@kirk.msoe.edu
Newsgroups: comp.unix.questions
Subject: compiling tintin
Date: 8 Jan 93 10:34:22 CDT
Distribution: usa
Organization: Milwaukee School Of Engineering, Milwaukee, WI USA

I'm trying to compile TinTin on an Ultrix system.
I get syntax errors in the include file, on the lines like this.

void read_mud(struct session *ses);

	Anybody got any ideas?
From: merlyn@ora.com (Randal L. Schwartz)
Newsgroups: comp.unix.questions
Subject: Re: sed how to
Date: 8 Jan 93 16:48:53 GMT
Article-I.D.: romulus.MERLYN.93Jan8084849
Distribution: usa
Organization: Stonehenge Consulting Services; Portland, Oregon, USA

>>>>> In article <1993Jan7.234638.6106@mtek.com>, bud@mtek.com (Bud Hovell) writes:
Bud> Given rows of pipe-delimited ascii database records of this form:

Bud>   0113|Hog Farms|0213|Hogs|
Bud>   0114|Poultry & Egg Farms|0251|Broiler, Fryer, and Roaster Chickens|
Bud>   ||0252|Chicken Eggs|
Bud>   ||0253|Turkeys and Turkey Eggs|
Bud>   ||0259|Poultry and Eggs NEC|
Bud>   0119|Livestock Comb'n Farms|0219|General Livestock NEC|
Bud>   ||027|Animal Specialties|
Bud>   0121|Honey & Other Apiary Prod. Farms|0279|Animal Specialties NEC|
Bud>   0122|Horse & Other Equine Farms|0272|Horses and Other Equines|

Bud> ....what sed construct will give me output in this form:

Bud>   0113|Hog Farms|0213|Hogs|
Bud>   0114|Poultry & Egg Farms|0251|Broiler, Fryer, and Roaster Chickens|
Bud>   0114|Poultry & Egg Farms|0252|Chicken Eggs|
Bud>   0114|Poultry & Egg Farms|0253|Turkeys and Turkey Eggs|
Bud>   0114|Poultry & Egg Farms|0259|Poultry and Eggs NEC|
Bud>   0119|Livestock Comb'n Farms|0219|General Livestock NEC|
Bud>   0119|Livestock Comb'n Farms|027|Animal Specialties|
Bud>   0121|Honey & Other Apiary Prod. Farms|0279|Animal Specialties NEC|
Bud>   0122|Horse & Other Equine Farms|0272|Horses and Other Equines|

Sed is not powerful enough to do this (easily).  Awk would do it, but
I'll write it as a Perl solution, and you can back-translate if you're
on a backwater system that doesn't yet have Perl. :-)

#!/usr/bin/perl
while (<>) {
	@x = split(/\|/);
	if ($x[0]) {
		@save = @x;
	} else {
		$x[0] = $save[0];
		$x[1] = $save[1];
		$_ = join("|",@x);
	}
	print;
}

Just another Perl hacker,
--
Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
merlyn@ora.com (semi-permanent) merlyn@reed.edu (for newsreading only)
factoid: "Portland, Oregon, home of the California Raisins and Lone-Star Beer!"
Newsgroups: comp.unix.questions
From: sscrivan@nyx.cs.du.edu (steve scrivano)
Subject: dictionary search
Keywords: dictionary search 
Organization: Nyx, Public Access Unix @ U. of Denver Math/CS dept.
Date: Tue, 5 Jan 93 22:34:37 GMT

Could someone who has access to a site with a dictionary of 200,000 English 
words or more be so kind as to run this script and e-mail me the "out.file".
If your dictionary is not in "/usr/dict/words" just modify the program to
change the name.  I have been told that several such dictionaries exist, 
however, even I could download them, my machine storage is just too small
and I really don't need a whole dictionary of this size anyway but just the
results of this script.  To save space, you can send the out.file in
compressed/uuencoded format.

	</usr/dict/words tr '[A-Z]' '[a-z]' |
	sed '
	/^.$/d
	/^..$/d
	/^...$/d
	/[abdjkmqv-z0-9]/d
	/c.*c/d
	/cc/d
	/e.*.e.*e/d
	/e.*.ee/d
	/ee.*e/d
	/f.*f/d
	/ff/d
	/g.*g/d
	/gg/d
	/h.*h/d
	/hh/d
	/i.*.i.*i/d
	/i.*.ii/d
	/ii.*i/d
	/l.*.l.*l/d
	/l.*.ll/d
	/ll.*l/d
	/n.*.n.*n/d
	/n.*.nn/d
	/nn.*n/d
	/o.*o/d
	/oo/d
	/p.*.p.*p/d
	/p.*.pp/d
	/pp.*p/d
	/r.*r.*r.*r/d
	/rr.*r.*r/d
	/r.*r.*rr/d
	/r.*rr.*r/d
	/s.*.s.*s/d
	/ss.*s/d
	/s.*.ss/d
	/t.*t.*t.*t/d
	/tt.*t.*t/d
	/t.*t.*tt/d
	/t.*tt.*t/d
	/u.*u/d
	/uu/d
	' > out.file


Thanks so much for your help!

Steve Scrivano
sscrivan@nyx.cs.du.edu
From: jbowyer%cis.vutbr.cs@csbrmu11.bitnet (Bowyer Jeff)
Newsgroups: comp.unix.questions
Subject: Ultrix Listserver
Date: 4 Jan 93 18:05:26 GMT

Does a listserver exist that is specifically related to Ultrix?

Thank you for your assistance.

==========================================================================
 Jeff Bowyer                         EMail:
 Computing Center		     jbowyer%cis.vutbr.cs@csbrmu11.bitnet
 Technical University of Brno
 Udolni 19, 602 00 BRNO
 Czechoslovakia
==========================================================================
From: michael@gandalf.moria (Michael Haardt)
Newsgroups: comp.unix.questions
Subject: Re: DICTIONARY
Date: Mon, 04 Jan 93 22:30:59 +0100
Organization: An old and gray machine, somewhere in Moria.
Distribution: world
Reply-To: u31b3hs@pool.informatik.rwth-aachen.de (Michael Haardt)
NNTP-Posting-Host: messua.informatik.rwth-aachen.de

In article <1992Dec31.063802.12303@mnemosyne.cs.du.edu>, sscrivan@nyx.cs.du.edu (steve scrivano) writes:
> Next question - most Unix dictionaries are only about 24,000 to 25,000 words
> located in /usr/dict/words, I wonder if anyone has something larger to 
> replace this?

Once I got better dictionaries from:

gatekeeper.dec.com: pub/misc/stolfi-wordlists/*

Michael
Newsgroups: comp.unix.questions,comp.unix.misc,comp.unix.admin
From: jal41820@uxa.cso.uiuc.edu (Smiley)
Subject: Re: Dumb Question...
Organization: University of Illinois at Urbana
Date: Wed, 6 Jan 1993 17:51:05 GMT

digennar@fcs280s.ncifcrf.gov (Frank S. DiGennaro) writes:

:)	This might seem a simple question, but here goes... does UNIX have an 'unerase'
:)command similar to DOS?

Indirectly, yes. It's called "mail root", (or directly to the administrator's
address if you know it) asking the administrator very nicely if (s)he'll 
restore the file for you from the latest backups. Some administrators will
do this, some won't, but it's the only thing you can try.

-- 
        Josh Laff              #     #      
email to: smiley@uiuc.edu     _       _     Hello! I am a signature virus!  
      (217) 384-6249         |#\_____/#|    Join the fun and copy mo*#(*&^!>.
                              \#######/
Newsgroups: comp.unix.questions
From: veatch@cs.toronto.edu (Tim Veatch)
Subject: Re: .exrc file for vi customization
Organization: Toronto
Fake-Sender: "Tim Veatch" <veatch@cs.toronto.edu>
Distribution: na
Date: 10 Jan 93 02:30:43 GMT

Well, I missed the beginning portion of this thread, but
anyway, I have a different question.

I figured out how to do the vi macros well enough that I get
the message "Too much macro text" when I invoke vi.
Of course some of my macros at the end of my .exrc file
don't work, because of this.  (Anyway of forcing vi
to accept more macro text?)

What can I do for a work around?  One of my macros is quite long
- I'd say that one macro `invokes' about 15 other macros.
I was thinking I could place all these commands in one file
and :so that file, but that didn't work right.  Seems
it only does one command in that file at a time.
(What is the format of the file for :so ? same as the .exrc?)

I don't really understand the :so command.
Besides, the hints in the vi, ed, ex man pages are quite
skimpy.

Any ideas?
From: ovhe@ki.icl.se (Ove Hedin)
Newsgroups: comp.unix.questions
Subject: Re: Backing up a system over a TCP/IP network
Date: 10 Jan 93 19:42:11 GMT
Organization: ICL Data AB, Sweden

pjw@wacher.oz.au (Peter Williams) writes:

>G'Day,

>Has anyone out there got a shell script or suggestion that will allow me to 
>backup my SCO UNIX system using a tape drive on another machine with a TCP/IP 
>connection.

>I have thought about it and am looking for some suggestions.

>Thanks in advance.



Hi , your TCP propably has some sort of "remote-shell" command included
in it , I think SCO:s is named "remsh". With "remsh" you can pipe things
over the network.

For example if you have two hosts one with SCO and one with SVR4. Then you 
can use the following command to back up files from the SCO to SVR4.

find /u/data -print | cpio -ocv | remsh <svr4-nodename> dd of=/dev/rmt0

Experiment with dd's blocking factor to get the best performance.

OR !! Try GNU tar (gtar) , it invokes the right commands automatically !!

then you can simply add the node-name to the device-name.

for example 

# gtar -cvf <svr4-nodename>:/dev/rmt/c0s0 /u/data

Both solutions will need the right permissions to be set up , And with
a pipe through compress also you'd even get compressed backups.

-- 
-- * All opinions and questions are my own -----------------------------------
Ove Hedin  Phone +46 (0)31499376 , DOMAIN Address : ovhe@ki.icl.se
X400: I=O ; S=Hedin ; OU1=SWE4701 ; O=ICL Data ; P=ICL ; A=TEDE ; C=SE

--
-- * All opinions and questions are my own -----------------------------------
Ove Hedin  Phone +46 (0)31499376 , DOMAIN Address : ovhe@ki.icl.se
X400: I=O ; S=Hedin ; OU1=SWE4701 ; O=ICL Data ; P=ICL ; A=TEDE ; C=SE
Newsgroups: comp.unix.questions