From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9efc05337af41658,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-03-14 07:14:59 PST Path: gmd.de!newsserver.jvnc.net!yale.edu!yale!gumby!wupost!udel!MathWorks.Com!europa.eng.gtefsd.com!emory!news-feed-2.peachnet.edu!concert!dante.exide.com!marlins.exide.com!kevin From: kevin@marlins.exide.com (Kevin Mooney) Newsgroups: comp.unix.osf.osf1 Subject: Re: wall (/dev/:0: No such file or dir) Date: 14 Mar 1994 15:14:59 GMT Organization: seas Sender: kevin@marlins.exide.com () Distribution: world Message-ID: <2m1v1j$n40@dante.exide.com> NNTP-Posting-Host: marlins.exide.com 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