From owner-freebsd-questions@FreeBSD.ORG Wed May 21 08:42:11 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 C1C6137B407 for ; Wed, 21 May 2003 08:42:11 -0700 (PDT) Received: from thalia.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCEFB43FE1 for ; Wed, 21 May 2003 08:42:04 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr364-a05.otenet.gr [195.167.109.37]) by thalia.otenet.gr (8.12.9/8.12.9) with ESMTP id h4LFg1ZN020201; Wed, 21 May 2003 18:42:02 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.9/8.12.9) with ESMTP id h4LFg0cr018817; Wed, 21 May 2003 18:42:00 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.9/8.12.9/Submit) id h4LFg0wE018816; Wed, 21 May 2003 18:42:00 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 21 May 2003 18:42:00 +0300 From: Giorgos Keramidas To: Ceri Davies , freebsd-questions@freebsd.org Message-ID: <20030521154200.GA18786@gothmog.gr> References: <20030521011017.GA9791@teddy.fas.com> <20030521013007.GC1415@gothmog.gr> <20030521144412.GB99715@submonkey.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030521144412.GB99715@submonkey.net> 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 15:42:12 -0000 On 2003-05-21 15:44, Ceri Davies wrote: >On Wed, May 21, 2003 at 04:30:07AM +0300, Giorgos Keramidas wrote: >>On 2003-05-20 21:10, 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. >> >> Try running: >> >> xterm -e 'less FILENAME' > > And then try hitting 'v'. HAHA. You got me there. You can fake read-only mode with: xterm -e 'EDITOR=/bin/false less FILENAME' Anyway, this is probably not helping the original poster anymore :)