Previous Up Next

8  Persistency

Persistency is already possible by exporting and importing a context as a .ctx file, as presented in Section 5.3. However importing a context can be time-consuming as all internal data structures have to be recomputed. For this reason another format is used by commands in the file menu (New..., Open..., Save, Save as..., Close): binary files with extent .lis. They allow opening a context as saved in a previous section in a short time. When saving a context both .lis and .ctx are produced. Indeed the .ctx version is more robust to changes w.r.t. the internal structures of Camelis and the chosen application. When opening a .lis file from a former version, Camelis will suggest to regenerate the context from the .ctx file.

When launching Camelis applications, some options and arguments can be given: If no file is passed as an argument, then a default .ctx file is imported. It is useful to have default actions on objects available when starting Camelis. The location of the default is $(HOME)/.camelis.ctx on Linux.


Previous Up Next