Date: Wed, 21 May 2003 12:21:43 -0400 From: stan <stanb@panix.com> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: Free BSD Questions list <freebsd-questions@freebsd.org> Subject: Re: Simple text fiel viewere? Message-ID: <20030521162143.GB27721@teddy.fas.com> In-Reply-To: <20030521154200.GA18786@gothmog.gr> References: <20030521011017.GA9791@teddy.fas.com> <20030521013007.GC1415@gothmog.gr> <20030521144412.GB99715@submonkey.net> <20030521154200.GA18786@gothmog.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 21, 2003 at 06:42:00PM +0300, Giorgos Keramidas wrote: > 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 :) As the OP, I must agree. This fails the "usable by windoze trained suers" requirement. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030521162143.GB27721>