Date: Fri, 4 Apr 2003 10:57:45 -0600 From: Doug Poland <doug@polands.org> To: Ben Collver <collver1@attbi.com> Cc: questions@freebsd.org Subject: Re: How to write to console Message-ID: <20030404165745.GB1592@babylon.polands.org> In-Reply-To: <3E8D9B86.4090403@attbi.com> References: <20030404142919.GA1472@babylon.polands.org> <3E8D9B86.4090403@attbi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 04, 2003 at 06:49:42AM -0800, Ben Collver wrote: > Doug Poland wrote: > > >Hello, > > > >I'd like to write to the "default" console of a -STABLE box. In this > >case, no one is logged in on that console/terminal. > > > >The commands write, talk, and wall mention writing to a terminal of a > >logged in user. Ideally, I'd like to clear the screen and display an > >80x25 message. > > > >Does anyone know how I can accomplish this? > > > > > > > Try: > > #!/bin/sh > clear >/dev/console > echo " > Pretend this message is: > 80 columns > 25 rows > " >/dev/console > Thanks, that's just what I needed -- Regards, Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030404165745.GB1592>