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

2016-08-31 Thread Mooffie
On 8/31/16, Mooffie wrote: > On 8/31/16, Fourhundred Thecat <400the...@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

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

2016-08-31 Thread Mooffie
On 8/31/16, Fourhundred Thecat <400the...@gmx.ch> wrote: >> On 2016-08-31 10:51, Slava Zanko wrote: >> >> Hi Fourhundred, >> >> Try to use this: >> >> View=%view{ascii} ssconvert %f || xls2csv %f || strings %f >> > > that obviously cannot work > > when run on the commandline, ssconvert needs

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

2016-08-31 Thread Slava Zanko
Try it: View=%view{ascii} (TMP_FILE=${MC_TMPDIR}/view.; ssconvert --recalc "%f" -T Gnumeric_stf:stf_assistant ${TMP_FILE} && cat ${TMP_FILE} && rm ${TMP_FILE}) || xls2csv %f || strings %f >> On 2016-08-31 10:51, Slava Zanko wrote: >> >> Hi Fourhundred, >> >> Try to use this: >> >>

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

2016-08-31 Thread Fourhundred Thecat
> On 2016-08-31 10:51, Slava Zanko wrote: > > Hi Fourhundred, > > Try to use this: > > View=%view{ascii} ssconvert %f || xls2csv %f || strings %f > that obviously cannot work when run on the commandline, ssconvert needs output file, and possibly also --export-type. The following command works

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

2016-08-31 Thread Slava Zanko
Hi Fourhundred, Try to use this: View=%view{ascii} ssconvert %f || xls2csv %f || strings %f > Hello, > > has anybody figured out, how to view gnumeric files in mc (in > console/text mode)? > > I am aware that this can be configured in /etc/mc/mc.ext, and I see > the

view .gnumeric files in mc (in console)

2016-08-31 Thread Fourhundred Thecat
Hello, has anybody figured out, how to view gnumeric files in mc (in console/text mode)? I am aware that this can be configured in /etc/mc/mc.ext, and I see there is already section for excel files: type/^Microsoft\ Excel Edit=true Open=(gnumeric %f >/dev/null 2