From owner-freebsd-questions@FreeBSD.ORG Wed May 21 09:22:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AED1637B401 for ; Wed, 21 May 2003 09:22:10 -0700 (PDT) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id A683543FBD for ; Wed, 21 May 2003 09:22:09 -0700 (PDT) (envelope-from stanb@panix.com) Received: from panix.com (brillig.panix.com [166.84.1.76]) by mail1.panix.com (Postfix) with ESMTP id DC4E54886C; Wed, 21 May 2003 12:21:45 -0400 (EDT) Received: from teddy.fas.com (pcp01010374pcs.mplsnt01.sc.comcast.net [68.58.176.69]) by panix.com (Postfix) with ESMTP id ADB68B9D9E; Wed, 21 May 2003 12:21:44 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 19IWLX-0007Ep-00; Wed, 21 May 2003 12:21:43 -0400 Date: Wed, 21 May 2003 12:21:43 -0400 From: stan To: Giorgos Keramidas Message-ID: <20030521162143.GB27721@teddy.fas.com> Mail-Followup-To: Giorgos Keramidas , Free BSD Questions list References: <20030521011017.GA9791@teddy.fas.com> <20030521013007.GC1415@gothmog.gr> <20030521144412.GB99715@submonkey.net> <20030521154200.GA18786@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030521154200.GA18786@gothmog.gr> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.17 X-Uptime: 12:16:06 up 5 days, 16:47, 1 user, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.3i Sender: Stan Brown cc: Free BSD Questions list Subject: Re: Simple text fiel viewere? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 16:22:11 -0000 On Wed, May 21, 2003 at 06:42:00PM +0300, Giorgos Keramidas wrote: > On 2003-05-21 15:44, Ceri Davies wrote: > >On Wed, May 21, 2003 at 04:30:07AM +0300, Giorgos Keramidas wrote: > >>On 2003-05-20 21:10, stan 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