I want to write the contents of a file directly onto a device, like you would on say Unix with dd:
dd if=infile of=/dev/outdevice
How do I do this on VMS?
Depending on the nature of the "outdevice", it could be as simple as "COPY infile device:".
If the device is one that is typically mounted, like a disk or tape, then it would have to have its media mounted, perhaps with MOUNT/FOREIGN if you want the raw data written to the device without worrying about any sort of file structure.
What kind of device is "outdevice"?
--Marc
On 25-10-2011 17:42, Sampsa Laine wrote:
Anyone have this hanging around?
Wouldn't you rather run V8.3-1H1? Or do you
specifically want V8.3, for comparison or so?
- MG
I want to write the contents of a file directly onto a device, like you would on say Unix with dd:
dd if=infile of=/dev/outdevice
How do I do this on VMS?
Good points!
As one additional thing to consider, I just remembered that the ftp protocol don't really expect to deal with wildcards. mget and friends actually do a DIR, and then applies the command to every file listed by the initial DIR.
I can't remember if any real wildcarding is allowed at all in ftp. I should know once I've implemented my ftp for RSX. (It's probably a couple of weeks away.)
Johnny
On 2011-10-21 18.31, Paul_Koning at Dell.com wrote:
In ftp, there are separate commands for wildcard operation -- for example "mget" instead of "get" and "mdelete" instead of "rm". That probably accounts for both issues.
It may also be that ; gives trouble because it's a Unix shell character. If so, you could use the TOPS-20 style version delimiter "." -- that works on VMS also.
paul
-----Original Message-----
From: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] On Behalf Of Johnny Billquist
Sent: Friday, October 21, 2011 12:05 PM
To: hecnet at Update.UU.SE
Subject: Re: [HECnet] Wildcards using MULTINET FTP server, Linux client?
On 2011-10-21 17.18, Sampsa Laine wrote:
I'm trying to do a rm *.*;* in an FTP script and get this error:
550-Failed to delete directory DKA0:[ARCSIGHT]*^.log^;*.dir;
550 The file specification must contain a name, type and version number (even if wildcarded).
How do I get rid of those stupid ^'s?
I'd be more worried about where the ".dir;" at the end comes from...?
Johnny
In ftp, there are separate commands for wildcard operation -- for example "mget" instead of "get" and "mdelete" instead of "rm". That probably accounts for both issues.
It may also be that ; gives trouble because it's a Unix shell character. If so, you could use the TOPS-20 style version delimiter "." -- that works on VMS also.
paul
-----Original Message-----
From: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] On Behalf Of Johnny Billquist
Sent: Friday, October 21, 2011 12:05 PM
To: hecnet at Update.UU.SE
Subject: Re: [HECnet] Wildcards using MULTINET FTP server, Linux client?
On 2011-10-21 17.18, Sampsa Laine wrote:
I'm trying to do a rm *.*;* in an FTP script and get this error:
550-Failed to delete directory DKA0:[ARCSIGHT]*^.log^;*.dir;
550 The file specification must contain a name, type and version number (even if wildcarded).
How do I get rid of those stupid ^'s?
I'd be more worried about where the ".dir;" at the end comes from...?
Johnny
On 2011-10-21 17.18, Sampsa Laine wrote:
I'm trying to do a rm *.*;* in an FTP script and get this error:
550-Failed to delete directory DKA0:[ARCSIGHT]*^.log^;*.dir;
550 The file specification must contain a name, type and version number (even if wildcarded).
How do I get rid of those stupid ^'s?
I'd be more worried about where the ".dir;" at the end comes from...?
Johnny
I'm trying to do a rm *.*;* in an FTP script and get this error:
550-Failed to delete directory DKA0:[ARCSIGHT]*^.log^;*.dir;
550 The file specification must contain a name, type and version number (even if wildcarded).
How do I get rid of those stupid ^'s?
Sampsa
Sorry if I upset people, just thought I'd give you guys a first pop at this stuff in case someone needed a piece or two of equipment.
I will be posting the auctions on comp.os.vms of course.
Again, no offence was intended and it was not a commercial operation, just a clear out of old stuff.
Sampsa
On 16 Oct 2011, at 23:50, hvlems at zonnet.nl wrote:
Try a newsgroup instead, comp.os.vms or comp.sys.dec.
------Origineel bericht------
Van: Johnny Billquist
Afzender: owner-hecnet at Update.UU.SE
Aan: hecnet at Update.UU.SE
Beantwoorden: hecnet at Update.UU.SE
Onderwerp: Re: [HECnet] Weird SSH issue
Verzonden: 17 oktober 2011 00:46
Please don't. The HECnet list is not a forum for announcing stuff for sale.
Johnny
On 2011-10-16 20.39, Sampsa Laine wrote:
So I'm guessing there's no takers for any of this stuff?
Ebay it is - if no one minds, I'll list the listing numbers here once done.
Sampsa
On 21 Sep 2011, at 21:19, Gregg Levine wrote:
On Wed, Sep 21, 2011 at 4:17 PM, Sampsa Laine<sampsa at mac.com> wrote:
I keep adding keys to my [.SSH2]AUHTHORIZATION.
Some work, some don't is there something specific you need to do to make it all work?
Sampsa
How is the service launched? On Linux (most sane distributions) there
is an rc script who launches the opensshd service. Of course this
depends. All I know about VMS is that it has the staying power of a
herd of elephants.
Which reminds me, why is there a trash can peering into your flat and
taking notes?
-----
Gregg C Levine gregg.drwho8 at gmail.com
"This signature fought the Time Wars, time and again."