Stable: 2.5.2
Development: 2.6-alpha3
Hi. I'm sorry for my idiotic question, but I don't understand how to use subj.
I have this string in my keymap file (for example):
go_to_fast_dir1 = "/mnt" !
exec_command1 = "rm %f" F1
I run the mocp. Press "Shift 1". And that mocp write: FastDir is not defined.
Press "F1". And that mocp write: ExecCommand1 is not set.
Well, I don't understand a file syntax. Explain it please.
daper
Tue, 2007-03-20 06:20
Permalink
This goes to
This goes to ~/.moc/config:
ExecCommand1 = "rm %f"
You should also define path to the keymap file here:
Keymap = my_keymap
And in your ~/.moc/my_keymap you should have:
exec_command1 = F1
Look at config.example and keymap.example that comes with MOC sources for more information.
--
Damian Pietras - MOC developer
eugenyuk
Tue, 2007-03-20 16:16
Permalink
Thanks for explain. It work.
Thanks for explain. It work. But when I del the file, mocp writes: Comman exited with
error (status 2632692). And delete file. Is that normal? What's that?
Thanks.
daper
Tue, 2007-03-20 20:00
Permalink
No, it's not normal, looks
No, it's not normal, looks like a MOC's bug. Unfortunately I can't reproduce it, in my case it just deletes the file. Which version of MOC do you use? What is your operating system (distribution and version)?
--
Damian Pietras - MOC developer
eugenyuk
Tue, 2007-03-20 21:01
Permalink
MOC version: 2.4.1 OS:
MOC version: 2.4.1
OS: FreeBSD 6.0-RELEASE
daper
Thu, 2007-03-22 19:37
Permalink
Thanks, I haven't tested it
Thanks, I haven't tested it in a FreeBSD box and don't have any at the moment, but I'll look at it.
--
Damian Pietras - MOC developer
daper
Sun, 2007-03-25 20:29
Permalink
I've tested it on qemu with
I've tested it on qemu with FreeBSD 6.1 and it works. Are you using i386 architecture (or x86-64)?
--
Damian Pietras - MOC developer
eugenyuk
Mon, 2007-03-26 16:42
Permalink
i386
i386