Magic Mailing List |
|
From: Philippe O. Pouliquen (philippe AT alpha DOT ece.jhu.edu) Date: Fri Jul 20 2001 - 13:51:31 EDT
Hi Stefan, The "Unknown macro or short command" warning occurs if you press a keyboard key for which no macro has been defined. So, for instance, if you press the 'h' key, and no macro has been defined for that key, you should get the warning: Unknown macro or short command: 'XK_h' The macros are usually defined in the file '.magic', either in your home directory, or in the lib/magic directory. In order to use actual (long) commands, you have to first press the colon (':') key. Now for troubleshooting: if you press a key and get a warning about another key, e.g. you press 'x' and get a warning about 'XK_q', then something is wrong with the X windows interface. The fact that you got a [Read-in of command file aborted] message indicates that there may be a typo or an unknown command (perhaps related to READLINE?) in your .magic file, or that you hit CTRL-C while magic was starting up. In any case, if magic doesn't completely read in the .magic file, then it won't know about all the macros you've defined there. Philippe Pouliquen (Originator of the silly 'XK_' macro business) The Johns Hopkins University
|
|