Re: view more or less?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/4/5 Steve Searle <steve@xxxxxxxxxxxxxxx>:
> Around 03:41pm on Sunday, April 05, 2009 (UK time), Garry T. Williams scrawled:
>
>> On Friday 03 April 2009 04:00:45 Steve Searle wrote:
>> > round 03:18am on Friday, April 03, 2009 (UK time), Paul Ward
>> scrawled:
>> > Also you can't pipe into it, e.g you can't use view to do something
>> > like:
>> >
>> > $ dmesg | less
>>
>> Of course you can:
>>
>>     $ dmesg|view -
>>     Vim: Reading from stdin...
>>     $
>
> And then I get:
>
> Vim: Warning: Input is not from a terminal
> Vim: Error reading input, exiting...
> Vim: preserving files...
> Vim: Finished.

Works for me (tm). Do you have a different Vim?

[sam@machine ~]$ ls -al `which view`
lrwxrwxrwx 1 root root 2 2008-12-22 04:35 /bin/view -> vi
[sam@machine ~]$ ls -al /bin/vi
-rwxr-xr-x 1 root root 748568 2008-12-01 16:09 /bin/vi
[sam@machine ~]$ vi --version
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Dec  1 2008 11:08:46)
Included patches: 1-60
<snip>

-- 
Sam

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux