view .gnumeric files in mc (in console)

Fourhundred Thecat 400thecat at gmx.ch
Wed Aug 31 16:27:46 UTC 2016


> On 2016-08-31 17:38, Mooffie wrote:
>
> On 8/31/16, Mooffie <mooffie at gmail.com> wrote:
>> On 8/31/16, Fourhundred Thecat <400thecat at gmx.ch> wrote:
>>>
>>> when run on the commandline, ssconvert needs output file
>>
>> The manual page for ssconvert says you can use fd://1 for standard
>> output. Use this as the output file.
> 
> BTW, most systems support the /dev/fd/# pseudo files. So even if the
> software doesn't have special support for stdout, you can always use
> /dev/fd/1.
> 
> http://www.informit.com/articles/article.aspx?p=99706&seqNum=15
> 

Thanks for the hints.

I realized I can use ssconvert to export into HTML, and then view it in
w3m. I ended up using following rule, which works great !

shell/.gnumeric
 	Edit=true
	Open=(gnumeric %f >/dev/null 2>&1 &)
	View=%view{ascii} ssconvert --export-type=Gnumeric_html:html40 %f
fd://1 | w3m -T text/html




More information about the mc mailing list