Re: Simple mc.ext/bindings extension isn't working...

I figured it out.  Turns out file sees .xoj files as gzip, thus
type/^gzip was matching before regex/\.xoj$ (which I put at the bottom
of mc.ext/bindings, above the default/* rule).

On Mon, Apr 30, 2012 at 9:01 PM, Trey Blancher <trey blancher net> wrote:
I'm using mc 4.8.1 (Debian wheezy) and (Debian squeeze), and I
can't seem to get the following to launch in mc:

# xoj
ÂOpen=xournal %f &
ÂView=xournal %f &

In squeeze, when I hit ENTER the mc window just blinks, but doesn't
launch Xournal. ÂIn wheezy, when I hit ENTER it opens the .xoj file in
more, which again, isn't launching it in Xournal. ÂI've made sure to
save mc.ext or bindings, exited and restarted mc, and my results don't

I created another extension, and it seems to be OK:

# kdb
ÂOpen=keepassx %f &
ÂView=keepassx %f &

And it seems to work OK. I can use the shell within mc ("xournal %f",
and it does the right thing), so I don't know what I'm doing wrong.

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