EnglishFrenchSpanish

OnWorks favicon

lefty - Online in the Cloud

Run lefty in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command lefty that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


lefty - A Programmable Graphics Editor

SYNOPSIS


lefty [ options ] [ file ]

DESCRIPTION


lefty is a two-view graphics editor for technical pictures. This editor has no hardwired
knowledge about specific picture layouts or editing operations. Each picture is described
by a program that contains functions to draw the picture and functions to perform editing
operations that are appropriate for the specific picture. Primitive user actions, like
mouse and keyboard events, are also bound to functions in this program. Besides the
graphical view of the picture itself, the editor presents a textual view of the program
that describes the picture. Programmability and the two-view interface allow the editor to
handle a variety of pictures, but are particularly useful for pictures used in technical
contexts, e.g., graphs and trees. Also, lefty can communicate with other processes. This
feature allows it to use existing tools to compute specific picture layouts and allows
external processes to use the editor as a front end to display their data structures
graphically.

USAGE


The file name is optional. It may be -, for reading from standard input. lefty uses two
environment variables, LEFTYPATH and LEFTYOPTIONS. LEFTYPATH is a colon separated list of
directories. When lefty tries to open a file, it searches that path for the file. When
lefty tries to start up another process, it searches LEFTYPATH first, then the standard
PATH variable. LEFTYOPTIONS can be used to set specific options. Options specified on the
command line override options set through this variable.

OPTIONS


-x Instructs the editor to exit after processing file.

-e <expression>
<expression> is parsed and executed.

-el <num>
Set error reporting level. The default value is 0. 0 never prints any messages. 1
prints severe errors, such as trying to return from a non function. 2 is 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 1
messages are real errors. The rest arise from legal lefty statements, but may be
caused by some logic errors.

-sd <num>
Specifies how much of the stack to show, when an error message is to be printed.
The default value is 2. With 0, no part of the stack is shown. With 1, only the
top stack frame is printed. With 2, the full stack is printed.

-sb <num>
Specifies how much of each function in the stack to show, when an error message is
to be printed. The default value is 2. With 0, no part of the function is shown.
With 1, only the line around the error is printed. With 2, the full function body
is printed.

-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 '', lefty will draw small boxes
instead of text.

-ps <file>
Specifies a default file name for postscript files. This name is used when no name
is specified in the createwidget call. The default file name is out.ps.

-V Prints the version.

-? Prints the usage and exits.

Use lefty online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 2
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 3
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 4
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 5
    MantisBT
    MantisBT
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    offerin...
    Download MantisBT
  • 6
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    notificat...
    Download LAN Messenger
  • More »

Linux commands

  • 1
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 2
    abilint
    abilint
    abilint - validate an abigail ABI
    representation abilint parses the native
    XML representation of an ABI as emitted
    by abidw. Once it has parsed the XML
    represe...
    Run abilint
  • 3
    coresendmsg
    coresendmsg
    coresendmsg - send a CORE API message
    to the core-daemon daemon ...
    Run coresendmsg
  • 4
    core_server
    core_server
    core_server - The primary server for
    SpamBayes. DESCRIPTION: Currently serves
    the web interface only. Plugging in
    listeners for various protocols is TBD.
    This ...
    Run core_server
  • 5
    fwflash
    fwflash
    fwflash - program to flash image file
    to a connected NXT device ...
    Run fwflash
  • 6
    fwts-collect
    fwts-collect
    fwts-collect - collect logs for fwts
    bug reporting. ...
    Run fwts-collect
  • More »

Ad