next up previous contents index
Next: cmd.sc Up: SmacLib Previous: SmacLib

SmacLib Overview

  

Some files are provided in this distribution and are known as SmacLib. These files contain many functions built on the top of the lower interface of the editor (see Built-in editor function §4.9 page gif and Xcoral interface §7 page gif). These functions are C functions interpreted by . You can read them in the given files suffixed by .sc, for instance cmd.sc and head.sc files. They are good examples of and use. I encourage you to read, use and perhaps adapt (correct ?) them.


tabular796

These files are generally loaded and evaluated during start-up. (see .xcoralrc file §5.1 page gif). XCORALRC and XCORAL_SMACLIB environment variables are available at start-up to configure the editor. XCORALRC is used to specify the path of the .xcoralrc file (default is $HOME/.xcoralrc) and XCORAL_SMACLIB the directory path where to find files (default is the directory specified at compile time: see XC_LIBDIR in Imakefile, typically /usr/local/lib/xcoral).



Lionel Fournigault
Wed Apr 30 10:44:37 MET DST 1997