Re: graphical file browser from command line
On 3/11/08, Rick Pasotto <rick@niof.net> 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*.
--
"To respond is positive, to react is negative." -- Zig Zigler
Rick Pasotto rick@niof.net http://www.niof.net
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Hey,
`dmesg | vim -` shows this at the bottom of the resulting vim screen: "-stdin-" 506L, 24189C
Should work just fine to view/edit/save the output... if you only want a 'viewer' you could use `| view -` or `| vim -R -`
cheers,
Owen.
Reply to: