KEYBIND

Section: User Commands (1)
Updated: 14 March 1992
Index Return to Main Contents
 

NAME

keybind - compile keybindings for Origami, version >>>MAJOR_VERSION<<<.>>>MINOR_VERSION<<<.>>>REVISION<<<  

SYNOPSIS

keybind [-cdhlsvwOR?] [-f filter] [-o name] [-m macro] [-r name] [-F filter] [-L libpath] [-M mouse] [-U tag] [-V level] file  

DESCRIPTION

keybind compiles an OCL text file into the >>>RC_ENDING<<< file .origami>>>RC_ENDING<<< for origami(1). The source code must be folded with language NONE. Filed folds will be used to include other files.  

OPTIONS

-c
Variable adresses, mode-names and macro-names are stored in the >>>RC_ENDING<<<-file as comments.
-d
OCL variables are declared by using them, so older bindings without explicit declarations can be still compiled. This option may not be available in future versions!
-f filter
All OCL-source files will be piped through filter. This can be used to extend OCL for os-specific purposes. Each file will be filtered in a own path. So filtering one file has no influence on filtering the other files!
-?, -h
display usage
-l
list all keywords known in Origami and Keybind.
-m macro
Write a >>>RC_ENDING<<< file containing only code for macro. It can be used to check the generated code for a single macro. The macro isn't allowed to declare new variables (by using!), because future versions of Origami may use this option to load new macros at runtime.
Maybe the compilation of complex terms fails. Split the complex macros in smaller ones, to prevent the use of to many internal term-variables.
-o name
uses name>>>RC_ENDING<<< instead of $>>>HOME<<</.origami>>>RC_ENDING<<<. It is useful for using Origami with links, renamed binaries or with option -k basename.
-r name
Keybind writes all parts marked as reference to the file name.
-s
The Origami command describe-bindings will give a sorted output.
-v
print information about needed resources during compilation (equivalent -V 1). Activates option -w.
-w
enable some warning messages.
-F filter
Like -f filter, but only the toplevel file will be filtered. All included filed-folds will be read unfiltered.
-L libpath
Specify the ': or '^A' separated path list for libraries.
-M mouse
Set the chosen mouse for terminals, which are not named like a given mouse support. The following mouses are available:
xterm
Use xterm escape-sequence to indicate a mouse-click. mouse variables and OCL-tags MOUSY and xterm are known.
mgr
The same for mgr, but OCL-TAG mgr is known instead of xterm.
scann
Used for Origami versions which scan the mouse on their own. OCL-tags MOUSY and scann are set and mouse variables are defined.
no-mouse
No mouse support is given. mouse variables are not declared.
-O
enable optimizing OCL-code.
-R
copy the reference card into the >>>RC_ENDING<<< file.
-U tag
tag is set as known during the compilation.
-V level
specify the verbose level. Valid values are 0,1,..,5. Activates option -w.
 

WARNINGS

Be careful with keybind, it overwrites existing files!  

AUTHORS

Wolfgang Stumvoll and Michael Haardt  

SEE ALSO

autoalias(1), dirfold(1), getopt(3), origami(1), viewrc(1), Origami User Guide


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
WARNINGS
AUTHORS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 07:27:26 GMT, November 24, 2024