Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: kevin@marlins.exide.com (Kevin Mooney)
Subject: Re: wall (/dev/:0: No such file or dir)
Date: 14 Mar 1994 15:14:59 GMT	[thread overview]
Message-ID: <2m1v1j$n40@dante.exide.com> (raw)

In article <2lo2et$ilp@news.duke.edu>,
gallatin@isds.duke.edu (Andrew Gallatin) wrote:
>>On a DECstation 3000 running DEC OSF/1 V1.3A (Rev. 112),
>>the following command:
>>
>>     /usr/sbin/wall hello.txt
>>
>>returns on the first line:
>>
>>     /dev:0: No such file or directory
>
>Is there anything wrong with making a soft link named /dev/:0 that
>points to /dev/console?
>
>I just did this, and sent out a wall on my system, and it seemed to
>get through properly..

Thanks.  Yes, that will work.  The only thing wrong with it is I'm
trying execute wall using the system() function as part of a software
product sold commercially.  We'd rather not create a soft link for
/dev:0 to /dev/console in the installation script.

Someone I work with suggested redirecting stderr since the user should
have little use for anything sent to stderr during the execution of wall.
So, it's also possible to get around the problem using something like

     /usr/sbin/wall 2>/dev/null

But even this feels kludgy to me.  I'd still like to know why I'm in 
this boat.

Kevin Mooney
kevin@exide.com



                 reply	other threads:[~1994-03-14 15:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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