Simple text fiel viewere?

Ceri Davies setantae at submonkey.net
Wed May 21 07:44:14 PDT 2003


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'.

I was going to suggest "chmod a-w $file;cat $file" ;)

Ceri
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030521/c0ec863d/attachment.bin


More information about the freebsd-questions mailing list