🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.amiga.uucp
14 messages
14 total messages Started by Richard Moeskops Wed, 18 Oct 1995 10:10
How to use the UUCP-command?
#101
Author: Richard Moeskops
Date: Wed, 18 Oct 1995 10:10
12 lines
813 bytes
Hello,

I would like to copy files using the UUCP-command to a friend of mine. Can 
someone give me an example how to copy a file from user
richard@gremlin.iaehv.nl to user jeroen@huitink.iaehv.nl. iaehv.nl is our
internetprovider 'gremlin' and 'huitink' are our personal site names.
Should there be special settings in the UULIB:config ?

Thanks in advance.

Richard Moeskops (R.Moeskops@ft.hse.nl)
Re: How to use the UUCP-command?
#103
Author: Arno Eigenwillig
Date: Thu, 19 Oct 1995 13:49
24 lines
1512 bytes
In article <R.Moeskops.11.000A2B56@ft.hse.nl>, Richard Moeskops writes:

> I would like to copy files using the UUCP-command to a friend of mine. Can 
> someone give me an example how to copy a file from user
> richard@gremlin.iaehv.nl to user jeroen@huitink.iaehv.nl. iaehv.nl is our
> internetprovider 'gremlin' and 'huitink' are our personal site names.

UUCP does not transfer files between arbitrary users in a UUCP net-
work, it merely transfers files (which may contain remote execution
requests) between adjacent machines in said UUCP network.

Thus, for user-to-user connectivity without direct connection between
your sites you have to use mail. (Mail is not part of UUCP, it is a
superordinate protocol layer that merely employs UUCP as a transport
service.)

The situation would be different if one of gremlin and huitink polled
at the other one. The command you are looking for in this case is
called uucp, included with your UUCP package and also documented in
the doc files.

-- __
__/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/  PGP key
\XX/   V+49-2225-5870  /\ <Arnooo @ #amigager> \/ available
Re: How to use the UUCP-command?
#108
Author: Jeroen Huitink
Date: Sun, 22 Oct 1995 16:54
26 lines
1757 bytes
In article <nqyux*mId@yaps.rhein.de> arno@yaps.rhein.de (Arno Eigenwillig) writes:
> In article <R.Moeskops.11.000A2B56@ft.hse.nl>, Richard Moeskops writes:
>
> > I would like to copy files using the UUCP-command to a friend of mine. Can
> > someone give me an example how to copy a file from user
> > richard@gremlin.iaehv.nl to user jeroen@huitink.iaehv.nl. iaehv.nl is our
> > internetprovider 'gremlin' and 'huitink' are our personal site names.
>
> UUCP does not transfer files between arbitrary users in a UUCP net-
> work, it merely transfers files (which may contain remote execution
> requests) between adjacent machines in said UUCP network.

OK- But both gremlin.iaehv.nl and huitink.iaehv.nl are uucp sites.
Therefor, I think, it should be possible to transfer a file from
site to site. Using uucp it is possible to copy a file over the
world, so what needs to happen here is a file:

gremlin -> iaehv.nl -> huitink

HOW? Anyone?

-------------------------------------------------------------------------
J.J.A. Huitink (Jeroen)                           Jeroen@Huitink.IAEhv.nl
Postal: Marconilaan 2H, 5621 AA, EINDHOVEN, The Netherlands
Phone:  +31-(40)-2456697
  << It is nice to be important, but it is more important to be nice >>
Re: How to use the UUCP-command?
#107
Author: Michael B. Smith
Date: Sun, 22 Oct 1995 17:46
155 lines
5481 bytes
In article <R.Moeskops.11.000A2B56@ft.hse.nl> R.Moeskops@ft.hse.nl (Richard Moeskops) writes:
> I would like to copy files using the UUCP-command to a friend of mine. Can
> someone give me an example how to copy a file from user
> richard@gremlin.iaehv.nl to user jeroen@huitink.iaehv.nl. iaehv.nl is our
> internetprovider 'gremlin' and 'huitink' are our personal site names.
> Should there be special settings in the UULIB:config ?

The UUCP command is meant to copy from one host to another host, exactly
one hop away. The man page is below.
--
  //   Michael B. Smith
\X/    mbs@adastra.cvl.va.us

NAME

	UUCP - Unix to Unix Copy Program

SYNTAX

	UUCP [-cCdfjmr] [-g grade] [-n user] [-u user] source dest

DESCRIPTION

	The UUCP command copies a file named by "source" to "dest"; one of
	the two is a local file, the other is on another remote machine.

	For example:

		uucp fubar system!~/fubar	    send a file
		uucp system!~/fubar fubar	    request a remote file

	~/path is interpreted as UUPub:path for an Amiga.

	~user/path is interpreted as the directory prefix for the specified
	user on the machine in question (yours or the remote's). If an Amiga,
	the user must exist in the GETTY:PASSWD file.  The directory prefix
	is part of the PASSWD entry for each user.

	~uucp is interpreted just like ~user ... you must have a password entry
	for the 'uucp' user for it to work.  Remember that a ~/ or ~user/ in
	the REMOTE path is interpreted by the remote machine, not your machine.

	Additionally, for the Amiga, the local directory must have appropriate
	permissions as specified by UULib:Security, or the transfer will not
	be allowed.

	Shell metacharacters appearing in the pathname part are not understood
	by the Amiga, but may be understood by the remote machine.

OPTIONS

	-c
		When specified, this option indicates that a copy of the
		local file should not be placed in the spool directory.

		This is the default for AmigaUUCP.

	-C
		When specified, this option indicates that the UUCP command
		should create a copy of a local file being transferred.
		This copy is placed in the UUSpool directory, where it is
		removed after the transfer is complete. Normally, AmigaUUCP
		does not make a copy of the file, and if the file is
		renamed or removed, the transfer will fail.

	-d
		When specified, this option indicates that all necessary
		directories should be created on the receiving machine by
		the receiving UUCICO.

		This is the default.

	-f
		When specified, this option indicates that if a required
		directory does not exist on the receiving machine, that
		the transfer should be aborted.

	-g grade
		This option controls the priority with which the request
		is executed by UUCICO. Valid grades are 0-9, A-Z, and a-z.
		Files are transferred by UUCICO in that order.

		The default grade for the UUCP command is "A".

		Other commands have other defaults.

	-I config
		This option is for Taylor UUCP compatibility. The option
		is ignored.

	-j
		When specified, the UUCP command will print out the jobid
		of the transfer request. Using the UUSTAT command, the user
		may request that the transfer be cancelled (-k switch).

	-m
		When specified, the remote UUCICO is requested to send
		mail to the transferring user when the transfer is
		complete.

	-n addr
		When specified, the remote UUCICO is requested to send
		mail to the named address when the transfer is complete.
		This address may be different user than the default
		user; and must be a valid address on the remote machine.

	-r
		This option normally means that UUCICO should not be
		started immediately. This is the normal action on the
		Amiga.

	-u user
		This option controls the username specified as sending the
		UUCP request. By default, this comes from the UserName
		configuration variable in UULib:Config.

	-x opts
		This option is for Taylor UUCP compatibility. The 'opts'
		are ignored.

CONFIGURATION OPTIONS

	NodeName    string

	UserName    string

	UseSubDirs  Y/N

	UUSpool     string

NOTE
	By default, UUCP builds the command file in the UUSpool directory (or
	the alternate that may be specified in the UULib:Config file). To
	have UUCP place files in a separate directory for each system, the
	UseSubDirs configuration option must be set.

WARNINGS

	The domain of remotely accessible files can (and for obvious security
	reasons, usually should) be severely restricted.

	You will very likely not be able to fetch files by pathname. Ask a
	responsible person on the remote system to send them to you. For the
	same reasons, you will probably not be able to send files to arbitrary
	pathnames.

	On the Amiga, security is accomplished with the UULib:Security file,
	please refer to UUMan:Security for more information.

FILES

	UULib:Config
	UULib:Seq
	UUSpool:
	UUSpool:<system-name>/<various>
Re: How to use the UUCP-command?
#113
Author: Jan Holler
Date: Mon, 23 Oct 1995 08:12
9 lines
718 bytes
Richard Moeskops wrote in <R.Moeskops.11.000A2B56@ft.hse.nl>:

> richard@gremlin.iaehv.nl to user jeroen@huitink.iaehv.nl. iaehv.nl is our
> internetprovider 'gremlin' and 'huitink' are our personal site names.

You can only 'uucp' from a system to an other if they are
adjacent.

 -jh
Re: How to use the UUCP-command?
#111
Author: Marc SCHAEFER
Date: Mon, 23 Oct 1995 08:43
6 lines
697 bytes
Michael B. Smith (mbs@adastra.cvl.va.us) wrote:
> The UUCP command is meant to copy from one host to another host, exactly
> one hop away. The man page is below.

It can be used to forward files through more than one hop, if the
intermediate site do support it. AmigaUUCP doesn't.
Re: How to use the UUCP-command?
#112
Author: David Eaves
Date: Mon, 23 Oct 1995 19:49
36 lines
2005 bytes
In article <R.Moeskops.11.000A2B56@ft.hse.nl> R.Moeskops@ft.hse.nl (Richard Moeskops) writes:
> 
> Hello,
> 
> I would like to copy files using the UUCP-command to a friend of mine. Can 
> someone give me an example how to copy a file from user
> richard@gremlin.iaehv.nl to user jeroen@huitink.iaehv.nl. iaehv.nl is our
> internetprovider 'gremlin' and 'huitink' are our personal site names.
> Should there be special settings in the UULIB:config ?

So long as your provider supports "multiple hops" you should be able to
do something along the lines of:

  UUCP file iaehv!gremlin!file

to send 'file' from huitink to gremlin via iaehv.  This should just leave
the file in the huitink spool directory on gremlin.  You may have to
change your setups to allow files to be received into other directories
(see uuman:security).

Note that apparently Amiga UUCP does _not_ support multiple hops.  As
your respective machines will be on the end of the chain rather than in
the middle however you should be OK as long as your provider (iaehv)
supports it.

Note also that I have never actually done this so I'm working only on
my understaning of how things work in theory.  That is, I could well be
wrong :-)

Dave
-- 
+----------------------------------------------------------------+
 David Eaves, Community Communications, Christchurch, New Zealand
           Phone:  +64-3-3487600,  Fax: +64-3-3841997
           EMail:  dave@ccom.co.nz
+----------------------------------------------------------------+
Re: How to use the UUCP-command?
#114
Author: Michael B. Smith
Date: Tue, 24 Oct 1995 10:54
15 lines
1114 bytes
In article <DGw88K.Fr3@alphanet.ch> schaefer@alphanet.ch (Marc SCHAEFER) writes:
> Michael B. Smith (mbs@adastra.cvl.va.us) wrote:
> > The UUCP command is meant to copy from one host to another host, exactly
> > one hop away. The man page is below.
>
> It can be used to forward files through more than one hop, if the
> intermediate site do support it. AmigaUUCP doesn't.

And we were talking about AmigaUUCP, now weren't we?

Do you want to write and contribute uucp forwarding support? I'd be
happy to include it.
--
  //   Michael B. Smith
\X/    mbs@adastra.cvl.va.us
Re: How to use the UUCP-command?
#117
Author: Jim Pritchett
Date: Wed, 25 Oct 1995 16:47
21 lines
1275 bytes
In article <holler.0u1f@holli.link-ch1.ch>, Jan Holler writes:

> Richard Moeskops wrote in <R.Moeskops.11.000A2B56@ft.hse.nl>:
> 
> > richard@gremlin.iaehv.nl to user jeroen@huitink.iaehv.nl. iaehv.nl is our
> > internetprovider 'gremlin' and 'huitink' are our personal site names.
> 
> You can only 'uucp' from a system to an other if they are
> adjacent.

This is incorrect.  It can be done.  However, you need the proper permissions
at each site in between also.


                                                Jim Pritchett


UUCP:  jdp@caleb.lerctr.org                    "I am the way, the truth, and
       rowdy.lonestar.org!caleb!jdp            the life; no man cometh to the
       jdp@caleb.uucp                          Father, but by me."
                                                                 Jesus Christ
Re: How to use the UUCP-command?
#119
Author: Michael B. Smith
Date: Thu, 26 Oct 1995 21:54
26 lines
1813 bytes
In article <jeroen.05c0@huitink.iaehv.nl> jeroen@huitink.iaehv.nl (Jeroen Huitink) writes:
> In article <nqyux*mId@yaps.rhein.de> arno@yaps.rhein.de (Arno Eigenwillig) writes:
> > In article <R.Moeskops.11.000A2B56@ft.hse.nl>, Richard Moeskops writes:
> > > I would like to copy files using the UUCP-command to a friend of mine. Can
> > > someone give me an example how to copy a file from user
> > > richard@gremlin.iaehv.nl to user jeroen@huitink.iaehv.nl. iaehv.nl is our
> > > internetprovider 'gremlin' and 'huitink' are our personal site names.
> >
> > UUCP does not transfer files between arbitrary users in a UUCP net-
> > work, it merely transfers files (which may contain remote execution
> > requests) between adjacent machines in said UUCP network.
>
> OK- But both gremlin.iaehv.nl and huitink.iaehv.nl are uucp sites.
> Therefor, I think, it should be possible to transfer a file from
> site to site. Using uucp it is possible to copy a file over the
> world, so what needs to happen here is a file:
>
> gremlin -> iaehv.nl -> huitink
>
> HOW? Anyone?

You just aren't listening, are you? Several people have answered this
question. With AmigaUUCP YOU CAN'T DO IT USING THE UUCP COMMAND.
--
  //   Michael B. Smith
\X/    mbs@adastra.cvl.va.us
Re: How to use the UUCP-command?
#120
Author: Operator
Date: Thu, 26 Oct 1995 22:49
22 lines
1019 bytes
In article <holler.0u1f@holli.link-ch1.ch>,
Jan Holler <holler@link-ch1.limmat.net.ch> wrote:
|Richard Moeskops wrote in <R.Moeskops.11.000A2B56@ft.hse.nl>:
|
|> richard@gremlin.iaehv.nl to user jeroen@huitink.iaehv.nl. iaehv.nl is our
|> internetprovider 'gremlin' and 'huitink' are our personal site names.
|
|You can only 'uucp' from a system to an other if they are
|adjacent.


	Most modern uucp implementations support
	multi-hop file transfers of the form
	
	
		site1!site2!...!siteN!filespec


-- 
Bruce Becker	News Administration	Toronto, Ont.
Internet: news@gts.net			UUCP: ...!gts-net!news
"Beware of geeks bearing GIF's" - C. Shergold
Re: How to use the UUCP-command?
#121
Author: Marc SCHAEFER
Date: Fri, 27 Oct 1995 11:01
22 lines
1243 bytes
Michael B. Smith (mbs@adastra.cvl.va.us) wrote:
> Do you want to write and contribute uucp forwarding support? I'd be
> happy to include it.

It should be fairly easy: you simply have to generate a data file for
site intermediate 
   #! uucp sitea!siteb!~/file
   <here the file content>

if the initial uucp command was
   uucp UUPUB:FILE intermediate!sitea!siteb!~/file

and to allow the uucp command from within Taylor UUCP on the
intermediate UNIX hosts (there may be some security considerations
to look at before).

If intermediate sites are AmigaUUCP, one could use the L.commands
uuxqt instead of the standard one (is that already part of the
AmigaUUCP distribution) ?

But do we *need* that ?  Uuencoded mail or BMS mail be a lot more
easy to use.
Re: How to use the UUCP-command?
#123
Author: Arno Eigenwillig
Date: Fri, 27 Oct 1995 22:32
16 lines
948 bytes
In article <Pqtwx*XJ5@caleb.UUCP>, Jim Pritchett writes:

> > You can only 'uucp' from a system to an other if they are
> > adjacent.
> 
> This is incorrect.  It can be done.  However, you need the proper permissions
> at each site in between also.

And the site has to support it specifically which not every UUCP does.

So *generally* you can only 'uucp' from a system to an other if they
are adjacent.

-- __
__/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/  PGP key
\XX/   V+49-2225-5870  /\ <Arnooo @ #amigager> \/ available
Re: How to use the UUCP-command?
#126
Author: Michael B. Smith
Date: Wed, 01 Nov 1995 22:00
34 lines
1765 bytes
In article <DH3tAu.5uz@alphanet.ch> schaefer@alphanet.ch (Marc SCHAEFER) writes:
> Michael B. Smith (mbs@adastra.cvl.va.us) wrote:
> > Do you want to write and contribute uucp forwarding support? I'd be
> > happy to include it.
>
> It should be fairly easy: you simply have to generate a data file for
> site intermediate
>    #! uucp sitea!siteb!~/file
>    <here the file content>
>
> if the initial uucp command was
>    uucp UUPUB:FILE intermediate!sitea!siteb!~/file
>
> and to allow the uucp command from within Taylor UUCP on the
> intermediate UNIX hosts (there may be some security considerations
> to look at before).

I'm well aware of what is required. I just don't intend to take  the
time to code it.

> If intermediate sites are AmigaUUCP, one could use the L.commands
> uuxqt instead of the standard one (is that already part of the
> AmigaUUCP distribution) ?

No, it isn't part of the distribution. Source was never released to
that UUXQT (that I have anyway).

> But do we *need* that ?  Uuencoded mail or BMS mail be a lot more
> easy to use.

Obviously, I don't think so. ;)
--
  //   Michael B. Smith
\X/    mbs@adastra.cvl.va.us
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads