Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: zbang@access.digex.net (Carl P. Zwanzig)
Subject: Re: VMS Question: Writing to a Null Device?
Date: 25 Nov 1993 12:20:10 -0500	[thread overview]
Message-ID: <2d2pga$2t0@access.digex.net> (raw)
In-Reply-To: 1993Nov24.191402.401@wsm.com

In article <1993Nov24.191402.401@wsm.com>, System Manager <root@wsm.com> wrote:
>
>Hello,
>
>	I am a UNIXite and find using DCL a brain bender :-). I am trying
Gee, I feel the same way about unix.

>to find a way to be able to write to a null device like you can in UNIX
>by redirecting to /dev/null. I haven't found anything similar in VMS and
>I have a need to write data from a device and send it to La-La-Land
>or the Ground Plug on the AC Cord, I have yet to find the GROUNDPLUG1:
>device in VMS yet.
>
>	Could some kind soul point me in the right direction??

The VMS version of /dev/null is NLA0:.  On writes, it immediately
completes the operation successfully, and on reads returns success
with length of zero.

The equivalent of /dev/groundplug is GPA0:, implimented as follows:
  define/system/exec GPA0 NLA0

or you can use:
  define/system/exec GROUNDPLUG1 NLA0

:-)

happy bit-bucketing

z!
Carl Zwanzig




  reply	other threads:[~1993-11-25 17:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-11-24 19:14 VMS Question: Writing to a Null Device? System Manager
1993-11-25 17:20 ` Carl P. Zwanzig [this message]
1993-11-26  4:15 ` NCOM - Craig McGILL
1993-12-01  6:54 ` Peter J MASON
1993-12-02  3:37   ` NORRIS8016
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox