Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: wall (/dev/:0: No such file or dir)
@ 1994-03-14 15:14 Kevin Mooney
  0 siblings, 0 replies; only message in thread
From: Kevin Mooney @ 1994-03-14 15:14 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-03-14 15:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-14 15:14 wall (/dev/:0: No such file or dir) Kevin Mooney

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