LEFTY(1)
π LEFTY(1) β the girlies' guide to a Programmable Graphics Editor π
okay so bestie, welcome to the General Commands Manual glow-up of lefty. this is the moment. let's go. π¦
β¨ NAME β¨
lefty β A Programmable Graphics Editor. yes that's the whole name. iconic, concise, ate. π
πΈ SYNOPSIS πΈ
lefty [ options ] [ file ]
that's it. that's the vibe. options optional, file optional, slay mandatory. β¨
π DESCRIPTION π
so lefty is a two-view graphics editor for technical pictures, and the way it does it is genuinely main character energy. π
here's the thing: this editor has no hardwired knowledge about specific picture layouts or editing operations. like, zero. none. it's not out here assuming things. instead, every single picture is described by a program β and that program contains:
- functions to draw the picture π¨
- functions to perform editing operations that are appropriate for that specific picture βοΈ
and it doesn't stop there, no ma'am. primitive user actions β like mouse and keyboard events β are also bound to functions in this program. so the program is running the whole show. π«Ά
besides the graphical view of the picture itself, the editor presents a textual view of the program that describes the picture. two views. two screens. one legend. π
so why does this matter? programmability + the two-view interface allow the editor to handle a variety of pictures, but they're particularly useful for pictures used in technical contexts, e.g. graphs and trees. ππ³
also β and this is lowkey the coolest part β lefty can communicate with other processes. this feature allows it to:
- use existing tools to compute specific picture layouts π§
- let external processes use the editor as a front end to display their data structures graphically π
it's giving collaborative. it's giving modular. it's giving yes and. πβ¨
π« USAGE π«
okay so housekeeping, bestie. the file name is optional. it may be -, which means reading from standard input. classic. π₯
lefty uses two environment variables: LEFTYPATH and LEFTYOPTIONS.
LEFTYPATHβ a colon separated list of directories. whenleftytries to open a file, it searches that path for the file. whenleftytries to start up another process, it searchesLEFTYPATHfirst, then the standardPATHvariable. πΊοΈLEFTYOPTIONSβ can be used to set specific options. β¨
β οΈ important: options specified on the command line override options set through this variable. command line stays winning. π
π OPTIONS π
one bullet per option, no skips, we respect the whole menu. π
-xβ instructs the editor to exit after processing file. bye bestie, you did great. π-e <expression>β <expression> is parsed and executed. go off. π₯-el <num>β set the error reporting level. the default value is0.0β never prints any messages. π€1β prints severe errors, such as trying to return from a non function. π¨2β the most useful: it reports function calls that cannot be executed, either because there is no function, or because of argument mismatches. π3β also warns about bad variable names. π·οΈ4,5β warn about expressions that do not return a value. π«₯- > only level
1messages are real errors. the rest arise from legalleftystatements, but may be caused by some logic errors. so likeβ¦ valid syntax, questionable choices. π
-sd <num>β specifies how much of the stack to show, when an error message is to be printed. the default value is2.0β no part of the stack is shown.1β only the top stack frame is printed.2β the full stack is printed. the whole saga. π
-sb <num>β specifies how much of each function in the stack to show, when an error message is to be printed. the default value is2.0β no part of the function is shown.1β only the line around the error is printed.2β the full function body is printed. spill the whole thing. π£οΈ
-df <string>β sets the default font. this font is used whenever a requested font cannot be found. the string must be a legal X font. if string is'',leftywill draw small boxes instead of text. π¦ (boxes. as text. a moment of silence.)-ps <file>β specifies a default file name for postscript files. this name is used when no name is specified in thecreatewidgetcall. the default file name isout.ps. π¨οΈ-Vβ prints the version. π·οΈ-?β prints the usage and exits. π
π SEE ALSO π
lefty user guide.π
iykyk. go read it, bestie, it's the director's cut. π¬
and that's the whole page, fr fr β from the General Commands Manual, no cap, and yes the title line at the bottom just says LEFTY(1) because that's how manpages do. same energy top and bottom. periodt. π
β¨π¦π
π¦ where this page comes from
- centos-stream 9: graphviz 2.44.0-26.el9 Β· EPL-1.0
- centos-stream 9: graphviz 2.44.0-26.el9 Β· EPL-1.0
- debian bookworm: graphviz 2.42.2-7+deb12u1 Β· EPL-1.0
- debian trixie: graphviz 2.42.4-3 Β· EPL-1.0
- opensuse-leap 16.0: graphviz-x11 2.49.3-160000.2.2 Β· EPL-1.0
- opensuse-leap 16.0: graphviz-x11 2.49.3-160000.2.2 Β· EPL-1.0
- opensuse-leap 16.0: graphviz-x11 2.49.3-160000.2.2 Β· EPL-1.0
- opensuse-leap 16.0: graphviz-x11 2.49.3-160000.2.2 Β· EPL-1.0
- ubuntu jammy: graphviz 2.42.2-6 Β· EPL-1.0
- ubuntu jammy: graphviz 2.42.2-6ubuntu0.1 Β· EPL-1.0
- ubuntu noble: graphviz 2.42.2-9build1 Β· EPL-1.0
- ubuntu noble: graphviz 2.42.2-9ubuntu0.1 Β· EPL-1.0
- ubuntu questing: graphviz 2.42.4-3build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms