On Tue, Mar 11, 2008 at 02:07:07AM -0400, Kevin Mark <[EMAIL PROTECTED]> was heard to say: > On Mon, Mar 10, 2008 at 9:44 PM, Rick Pasotto <[EMAIL PROTECTED]> wrote: > > On Mon, Mar 10, 2008 at 05:19:49PM -0400, Kevin Mark wrote: > > > On Mon, Mar 10, 2008 at 02:45:11PM -0400, Rick Pasotto wrote: > > > > I spend most of my time on the command line and use 'less' when I want > > > > to just view a file. However, there are some files that have > > excessively > > > > long lines and I'd like to be able to left/right scroll rather than > > have > > > > the lines wrapped. What program could I call from the command line that > > > > would open such a viewer on a given file? (My desktop is gnome but kde > > > > is installed.) > > > > > > > In less, if you press 'v', it will open the file in VI, and then you can > > > view the file there. > > > > Except that vi(m) will not edit STDIN. That's why I was looking for a > > file *viewer*. > > > Your OP did not say that, so I guess my hint won't work as it expects > a regular file.
"vim -" will happily edit STDIN, although of course you have to give a filename when you save. Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]