Content-type: text/html Manpage of EDIT

EDIT

Section: PD Piglet Users Manual (1P)
Updated: PD Piglet Users Manual
Index Return to Main Contents
 

NAME

EDIT - Edit a new or old device  

SYNOPSIS

EDI <device>  

DESCRIPTION

Edit a new or old device. If the <device> argument is given, a nested edit is performed. The current device is pushed onto a stack and the newly specified device becomes the currently edited cell. When an edit is terminated with an EXIT, the stack is popped and Piglet returns to editing the previous device. There is no limit to the number of edits that can be stacked, except for the the constraint that no individual cell may appear more than once in the edit stack.

If the newly specified device is already in memory, the user will be asked:

    "Cell already in memory, read in a new copy?: (y/n)?"
If "y" is typed, the memory copy will be discarded and a new copy read in from disk. If "n" is typed, the old memory copy will be used, continuing the edit from where it was last EXIted.

If the device is not already in memory, a search will be made for a definition of the device on disk. If found, the disk definition will be read into memory and used. If the device is neither in memory nor on disk, a new empty device will be created with the name <device>.

If a previously defined version of the device is found, the grid, grid color, lock angle, level and window settings will all be returned to their last settings. This information is persistent, and is stored on disk in the ".d" file whenever a device is SAVed.

Piglet keeps track of the modification state of every device in memory. If a user attempts to EXIt a modified device, the EXIt is aborted and a warning is printed suggesting that the device should be saved before exiting. Typing EXIt twice in a row will force an exit leaving the device in memory, but with the modification bit still set. The user may return to editing the device at any time. If the user attempts to leave the editor with QUIT or BYE, a list of all currently modified devices in memory will be printed warning the user that the devices have not been properly saved. If a second QUIT or BYE is typed, the editor will be killed and all unsaved changes will be permanently lost.

 

SEE ALSO

piglet(1p) add_arc(1p) add_circle(1p) add_instance(1p) add_line(1p) add_note(1p) add_oval(1p) add_polygon(1p) add_rectangle(1p) add_text(1p) archive(1p) area(1p) background(1p) bye(1p) change(1p) copy(1p) date(1p) define(1p) delete(1p) display(1p) distance(1p) dump(1p) echo(1p) edit(1p) equate(1p) exit(1p) files(1p) fsize(1p) grid(1p) group(1p) help(1p) identify(1p) input(1p) interrupt(1p) layer(1p) level(1p) list(1p) lock(1p) macro(1p) menu(1p) move(1p) plot(1p) point(1p) process(1p) purge(1p) quit(1p) redo(1p) retrieve(1p) save(1p) search(1p) set(1p) shell(1p) show(1p) smash(1p) split(1p) step(1p) stretch(1p) trace(1p) tslant(1p) undo(1p) units(1p) version(1p) window(1p) wrap(1p) memory(1p) time(1p)  

AUTHOR

Rick Walker (walker AT omnisterra DOT com)

The PD Piglet homepage is at http://www.omnisterra.com/walker/linux/piglet/intro.htm.


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 19:41:46 GMT, May 14, 2010