"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "vil96w32/vileperl.rc" of archive vile-w32.zip:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 ; $Id: vileperl.rc,v 1.7 2000/11/15 11:19:11 tom Exp $
    2 ;
    3 ; This is a sample script which shows how to initialize the perl scripts
    4 ; distributed with vile.
    5 
    6 ~if &sin $cfgopts "perl"
    7 
    8 ~if &not &seq $os "win32"
    9 
   10 ~if &seq $progname "xvile"
   11 
   12 ; Add vile edit server
   13 ~if &not &rd "$HOME/.vilesock"
   14 	perl "use Vileserv"	; starts automatically, stops on exit
   15 ~endif
   16 
   17 ; Add ':startserv' and ':stopserv' commands to manually control server
   18 perl "Vile::register 'startserv', \\&Vileserv::start, 'start edit server'"
   19 perl "Vile::register 'stopserv',  \\&Vileserv::stop,  'stop edit server'"
   20 
   21 ~endif
   22 
   23 ; Add spell checker
   24 perl "use spell"
   25 
   26 ; Add screen lock
   27 perl "use lock"
   28 
   29 ; Add asynchronous capture
   30 perl "use capture"
   31 
   32 ~endif
   33 
   34 ; Add directory browser
   35 perl "use directory"
   36 
   37 ; Add recursive grep
   38 perl "use hgrep"
   39 perl "use dirlist"
   40 
   41 ~endif