From: Johan S. <wi...@ac...> - 2002-12-30 14:15:30
|
* 021230 06:15 J.B. Nicholson-Owens <jb...@fo...>: > Johan Svedberg wrote: > > How exactly should I use this? > > Put the lines of code (everything from the "implements" line through the > last "definekey" line) into a file, called "my-macros.sl". Store the file > in your home directory. Then edit your slrnrc to add one line at the > bottom: > > interpret "my-macros.sl" > > then quit slrn (if you're running it) and restart slrn. The macros will be > loaded and the keys you specified will be assigned to the macros so slrn > will do what you want it to do. > > The name of the file is completely arbitrary and can be called whatever you > want (it doesn't have to end in ".sl" if you don't want it to). I am using > "my-macros.sl" as an example. slrn 0.9.7.4 [2002-03-13] Reading startup file /etc/news/slrn.rc. Reading startup file /home/w/winkle/.slrnrc. loading /home/w/winkle/.slrn/macros/mm.sl S-Lang Error: Syntax Error: Expecting 'variable' or 'define': found 'move_cursor_up_or_scroll_article_up', line 2, file: /home/w/winkle/.slrn/macros/mm.sl S-Lang Error: Syntax Error: called from line 2, file: /home/w/winkle/.slrn/macros/mm.sl slrn fatal error: /home/w/winkle/.slrnrc: Error encountered processing line 72 interpret ".slrn/macros/mm.sl" -- Johan Svedberg, wi...@ac..., http://www.acc.umu.se/~winkle |