Simple text fiel viewere?
cpressey at catseye.mb.ca
Tue May 20 18:35:34 PDT 2003
On Tue, 20 May 2003 21:10:17 -0400
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.
> Can I use something like gnotepad? Just a thoguht other lighter weight
> solutions (that a windoze trained suer would understand) are
> definately encouraged.
I've never tried it, but it looks like you can. (Until now I thought
gnotepad+ required Gnome, but according to its home page it can be built
with just gtk1.2)
To force any editor to operate in "read only" mode, just make sure the
files themselves are set to "read only" (e.g. chmod 444 filename)
Personally I might consider dillo - a very lightweight and simple (and
fast!) gtk1.2 web browser. I use it extensively for browsing HTML
documentation on my local disk, but there's no reason it couldn't be
used to browse local text files as well.
More information about the freebsd-questions