Date: Wed, 21 May 2003 18:42:00 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Ceri Davies <setantae@submonkey.net>, freebsd-questions@freebsd.org Subject: Re: Simple text fiel viewere? Message-ID: <20030521154200.GA18786@gothmog.gr> In-Reply-To: <20030521144412.GB99715@submonkey.net> References: <20030521011017.GA9791@teddy.fas.com> <20030521013007.GC1415@gothmog.gr> <20030521144412.GB99715@submonkey.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-05-21 15:44, Ceri Davies <setantae@submonkey.net> wrote: >On Wed, May 21, 2003 at 04:30:07AM +0300, Giorgos Keramidas wrote: >>On 2003-05-20 21:10, stan <stanb@panix.com> 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 :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030521154200.GA18786>