Simple text fiel viewere?

stan stanb at panix.com
Wed May 21 09:22:11 PDT 2003


On Wed, May 21, 2003 at 06:42:00PM +0300, Giorgos Keramidas wrote:
> On 2003-05-21 15:44, Ceri Davies <setantae at submonkey.net> wrote:
> >On Wed, May 21, 2003 at 04:30:07AM +0300, Giorgos Keramidas wrote:
> >>On 2003-05-20 21:10, stan <stanb at 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


More information about the freebsd-questions mailing list