3
lefty \- A Programmable Graphics Editor
13
is a two-view graphics editor for technical pictures. This editor has
14
no hardwired knowledge about specific picture layouts or editing operations.
15
Each picture is described by a program that contains functions to draw the
16
picture and functions to perform editing operations that are appropriate for
17
the specific picture. Primitive user actions, like mouse and keyboard events,
18
are also bound to functions in this program. Besides the graphical view of the
19
picture itself, the editor presents a textual view of the program that
20
describes the picture. Programmability and the two-view interface allow the
21
editor to handle a variety of pictures, but are particularly useful for
22
pictures used in technical contexts, e.g., graphs and trees. Also,
24
can communicate with other processes. This feature allows it to use existing
25
tools to compute specific picture layouts and allows external processes to use
26
the editor as a front end to display their data structures graphically.
28
The file name is optional. It may be
30
for reading from standard input.
32
uses two environment variables,
37
is a colon separated list of directories. When
39
tries to open a file, it searches that path for the file. When
41
tries to start up another process, it searches
43
first, then the standard
47
can be used to set specific options. Options specified on the command line
48
override options set through this variable.
52
Instructs the editor to exit after processing
57
is parsed and executed.
60
Set error reporting level. The default value is
63
never prints any messages.
65
prints severe errors, such as trying to return from a non function.
67
is the most useful: it reports function calls that cannot be executed, either
68
because there is no function, or because of argument mismatches.
70
also warns about bad variable names.
72
warn about expressions that do not return a value. Only level
74
messages are real errors. The rest arise from legal
76
statements, but may be cased by some logic errors.
79
Specifies how much of the stack to show, when an error message is to be
80
printed. The defualt value is
84
no part of the stack is shown. With
86
only the top stack frame is printed. With
88
the full stack is printed.
91
Specifies how much of each function in the stack to show, when an error message
92
is to be printed. The default value is
96
no part of the function is shown. With
98
only the line around the error is printed. With
100
the full function body is printed.
103
Sets the default font. This font is used whenever a requested font cannot be
104
found. The string must be a legal X font. If string is
107
will draw small boxes instead of text.
110
Specifies a default file name for postscript files. This name is used when no
111
name is specified in the
113
call. The default file name is