Simple text fiel viewere?
Giorgos Keramidas
keramida at ceid.upatras.gr
Wed May 21 08:42:12 PDT 2003
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 :)
More information about the freebsd-questions
mailing list