From owner-freebsd-questions@FreeBSD.ORG Fri Apr 4 08:57:50 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9536137B409 for ; Fri, 4 Apr 2003 08:57:50 -0800 (PST) Received: from galilee.polands.org (CPE-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9459B43F3F for ; Fri, 4 Apr 2003 08:57:49 -0800 (PST) (envelope-from djp@polands.org) Received: from babylon.polands.org (babylon.polands.org [172.16.1.16]) by galilee.polands.org (8.12.6/8.12.6) with ESMTP id h34GvVq6008459; Fri, 4 Apr 2003 10:57:31 -0600 (CST) (envelope-from djp@galilee.polands.org) Received: from babylon.polands.org (localhost.polands.org [127.0.0.1]) by babylon.polands.org (8.12.6/8.12.6) with ESMTP id h34GvjsN001691; Fri, 4 Apr 2003 10:57:45 -0600 (CST) (envelope-from djp@babylon.polands.org) Received: (from djp@localhost) by babylon.polands.org (8.12.6/8.12.6/Submit) id h34GvjWF001690; Fri, 4 Apr 2003 10:57:45 -0600 (CST) Date: Fri, 4 Apr 2003 10:57:45 -0600 From: Doug Poland To: Ben Collver Message-ID: <20030404165745.GB1592@babylon.polands.org> References: <20030404142919.GA1472@babylon.polands.org> <3E8D9B86.4090403@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E8D9B86.4090403@attbi.com> User-Agent: Mutt/1.3.27i cc: questions@freebsd.org Subject: Re: How to write to console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 16:57:51 -0000 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