Re: view .gnumeric files in mc (in console)



On 2016-08-31 17:38, Mooffie wrote:

On 8/31/16, Mooffie <mooffie gmail com> wrote:
On 8/31/16, Fourhundred Thecat <400thecat 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



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