From owner-freebsd-questions@FreeBSD.ORG Tue May 20 18:35:34 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 A535C37B401 for ; Tue, 20 May 2003 18:35:34 -0700 (PDT) Received: from pd5mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E81F443FB1 for ; Tue, 20 May 2003 18:35:32 -0700 (PDT) (envelope-from cpressey@catseye.mb.ca) Received: from pd4mr3so.prod.shaw.ca (pd4mr3so-qfe3.prod.shaw.ca [10.0.141.214]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HF700KM2R038J@l-daemon> for freebsd-questions@freebsd.org; Tue, 20 May 2003 19:33:39 -0600 (MDT) Received: from pn2ml9so.prod.shaw.ca (pn2ml9so-qfe0.prod.shaw.ca [10.0.121.7]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HF700BSIR03XK@l-daemon> for freebsd-questions@freebsd.org; Tue, 20 May 2003 19:33:39 -0600 (MDT) Received: from www.kallisti.ca (h24-70-180-74.wp.shawcable.net [24.70.180.74]) 2003))freebsd-questions@freebsd.org; Tue, 20 May 2003 19:33:39 -0600 (MDT) Date: Tue, 20 May 2003 20:34:39 -0500 From: Chris Pressey In-reply-to: <20030521011017.GA9791@teddy.fas.com> To: stan Message-id: <20030520203439.058c0e8a.cpressey@catseye.mb.ca> Organization: Cat's Eye Technologies - http://www.catseye.mb.ca/ MIME-version: 1.0 X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20030521011017.GA9791@teddy.fas.com> cc: freebsd-questions@freebsd.org Subject: Re: Simple text fiel viewere? 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: Wed, 21 May 2003 01:35:34 -0000 On Tue, 20 May 2003 21:10:17 -0400 stan wrote: > I'm looking for a simple (notepad like) text file viewer. I need to be > able to use this in "read only" mode WO the posibiliy of the user > editing the file. > > Can I use something like gnotepad? Just a thoguht other lighter weight > solutions (that a windoze trained suer would understand) are > definately encouraged. I've never tried it, but it looks like you can. (Until now I thought gnotepad+ required Gnome, but according to its home page it can be built with just gtk1.2) To force any editor to operate in "read only" mode, just make sure the files themselves are set to "read only" (e.g. chmod 444 filename) Personally I might consider dillo - a very lightweight and simple (and fast!) gtk1.2 web browser. I use it extensively for browsing HTML documentation on my local disk, but there's no reason it couldn't be used to browse local text files as well. HTH -Chris