home *** CD-ROM | disk | FTP | other *** search
/ Kids Cube / 1_Art.iso / pep / chapt1.txt < prev    next >
Text File  |  1994-10-25  |  30KB  |  522 lines

  1. <Chapter 1:  Introduction>
  2.  
  3. Copyright (c) 1994 Trionum Inc. All rights reserved.
  4.  
  5. TRIONUM, PEP and ORCHIS are trademarks of Trionum Inc. All other brand
  6. and product names are trademarks or registered trademarks of their
  7. respective companies.
  8.  
  9. <Section 1.1:  What is PEP?>
  10.      The name PEP is an acronym for "Picture Editing Package". PEP is a
  11. drawing program for personal computers. You can use it to create pictures
  12. composed of text and graphics, display these pictures on your computer's
  13. monitor, print them on your printer, and save them in files compatible
  14. with other software packages. All of the illustrations in this manual, for
  15. example, were drawn using PEP.
  16.  
  17. <Section 1.2:  Getting Started>
  18.      In order to install and use PEP, you will need to be familiar with
  19. the basic commands of the DOS operating system. If you have any questions
  20. about using DOS, consult your operating system manual.
  21.  
  22. <Section 1.2.1:  Hardware and Software Required>
  23.      In order to run PEP you need an IBM PC, XT, AT, PS-2 or compatible
  24. computer running DOS 2.0 or a later version of DOS. You also need a
  25. graphics display, either the color graphics adapter (CGA), the extended
  26. graphics adapter (EGA), the video graphics array card (VGA), or the
  27. HERCULES card.
  28.  
  29.      You do not need a floating point processor, a hard disk, or a mouse.
  30. If you have a mouse, you will be able to use it with PEP.
  31.  
  32.      In order to print directly from PEP, you need one of the following
  33. printers: an HP DeskJet, an HP LaserJet, a Canon Bubble Jet, a Postscript
  34. printer such as the Apple LaserWriter, an Epson printer, an IBM graphics
  35. printer, an IBM Color Printer, or a printer compatible with one of these.
  36. In addition, you can output pictures from PEP to both PCX files (a popular
  37. bitmap format) <[13.1]> and EPS files (the encapsulated Postscript format)
  38. <[16.10]>. Many word processors and desktop publishing packages accept
  39. graphics in these formats. Pictures that you draw in PEP can be included,
  40. in this way, into documents created by any of these compatible packages.
  41. If you are using Lotus Manuscript or Samna Word, these two word processors
  42. will accept graphics directly from PEP in the original PDL file format.
  43.  
  44. <Section 1.2.2:  Installation>
  45.      Before you can use PEP, you must install it on your computer. This
  46. means that you must first tell PEP about the hardware configuration that
  47. you have: the type of display, the type of printer, and so forth. The
  48. utility INSTALL.EXE supplied with PEP will guide you through this simple
  49. installation process. Full instructions for installing PEP are provided in
  50. Chapter <[17]>.
  51.  
  52. <Section 1.2.3:  About this Manual>
  53.      After this introductory chapter, is the main part of the PEP manual,
  54. namely the command descriptions in Chapters <[2]> through <[14]>. In those
  55. chapters, you will find a complete explanation of each of the commands
  56. available in PEP. In this present chapter, we provide the definitions and
  57. background information necessary to understand the chapters that follow.
  58. We strongly recommend that you read this chapter carefully before trying
  59. to use PEP. Then if you need information about a particular command, you
  60. will be ready to turn directly to the relevant section in the reference
  61. chapters.
  62.  
  63.      Chapter <[15]> describes the HELP system, which allows you to view
  64. this manual, while you are using PEP.
  65.  
  66.      After you have gained a little experience using PEP, you should look
  67. at Chapter <[16]>, the final chapter in the reference section. That
  68. chapter contains a number of hints and practical suggestions for
  69. approaching various problems. You may find this material helpful when you
  70. begin to apply PEP to real uses.
  71.  
  72. <Section 1.3:  Menus and Commands>
  73.      PEP commands are organized into a menu hierarchy. The menu that is
  74. displayed when you first load PEP is called the top menu. Certain commands
  75. in this menu cause new menus to be displayed. In some cases, these new
  76. menus also have commands leading to yet other menus, and so forth. Most of
  77. the time, however, you will be operating either in the top menu or in the
  78. menus one level down from the top.
  79.  
  80.      In each command menu, the first letters of the commands are all
  81. different. To execute a command just type its first letter. Alternatively,
  82. you can highlight a menu item by pointing to it with the cursor. Then, if
  83. you press RETURN (or the left mouse button), the highlighted command will
  84. be executed.
  85.  
  86. For example, in PEP's top menu, if you type "I" (for "Insert"), a new
  87. menu will appear as shown in <[FIG07]>. This new menu contains all of the
  88. commands for inserting the different kinds of elements. (It contains a
  89. number of other commands as well.) If you now type "L" (for "Line") you
  90. will be ready to insert one or more straight lines.
  91.  
  92.      Throughout this manual we will name a command by listing the steps to
  93. that command from the top menu. This command for inserting straight lines,
  94. for example, is called the INSERT/LINE command <[2.1]>.
  95.  
  96.      In addition to the commands in the menus, there are a number of
  97. commands that you can execute at any time regardless of your position in
  98. the menu hierarchy. These commands are executed either by striking a
  99. single key, or by holding down the ALT key and striking a key. In either
  100. case, they are called single keystroke commands. More specifically, these
  101. commands are invoked by pressing a function key, a combination of ALT plus
  102. a function key, or a combination of ALT plus a letter key. Many of these
  103. commands can also be executed within the command menu hierarchy. For
  104. example, the single keystroke command ALT-R turns on and off the display
  105. of rulers. This command performs the same function as the
  106. SETUP/WINDOW/RULERS command <[12.2.10]> in the menu hierarchy.
  107.  
  108.      You should become familiar with three function key commands that are
  109. useful for obtaining information about PEP and your current state within
  110. it. These are described briefly below. For complete information about
  111. these and the other single keystroke commands, see Chapter <[14]>.
  112.  
  113.      Pressing the help key (F1) activates the HELP system, which gives you
  114. on-line access to the complete PEP manual. The HELP system is described in
  115. Chapter <[15]>.
  116.  
  117.      Pressing the status key (F2) temporarily replaces the command menu
  118. with current status information.
  119.  
  120.      Pressing the menu cycle key (F3) temporarily replaces the command
  121. menu with quick reference lists of the single keystroke commands: first, a
  122. list of the function key commands, second, a list of the ALT-function key
  123. commands, and finally a list of the ALT-letter commands. Pressing F3 a
  124. fourth time restores the normal menu display.
  125.  
  126. <Section 1.4:  Windows>
  127.      The PEP screen is divided into a number of windows: a menu window, a
  128. text window, a button window, and one or more graphics windows. The menu
  129. window is used by PEP to display its commands and status information. The
  130. text window is used for prompts and error messages. The button window
  131. permits fast access to certain PEP functions via the mouse. The graphics
  132. windows are used for displaying and modifying your drawings.
  133.  
  134.      This subdivision of the screen is based on a system of
  135. non-overlapping areas called tiles. You can configure your screen by
  136. subdividing tiles, deleting tiles, moving tile boundaries, and assigning
  137. roles to tiles. These commands can be found in the SETUP/TILING menu
  138. <[12.1]>. In particular, it is possible to display multiple views of the
  139. open object in multiple screen tiles, each view at a different
  140. magnification. For example, one tile might be used for an overview, and
  141. another for editing in detail.
  142.  
  143.      One of the graphics tiles is displayed with a bolder boundary to
  144. distinguish it from the others. If you have a color display, the boundary
  145. of this tile will also be a different color, namely cyan, a light blue.
  146. This tile is called the active window. Any graphics tile can be the active
  147. window. You can determine which graphics tile is the active window by
  148. using the SETUP/WINDOW/NEXT (or ALT-N) command <[12.2.1]>.
  149.  
  150.      Once you have selected the active window, you can then modify its
  151. properties by using the commands in the SETUP/WINDOW menu <[12.2]>. There
  152. are also a number of single keystroke commands for the same purpose. For
  153. example, you can contract the display with the ALT-C command and expand it
  154. with ALT-E. You can shift the display by using shift and the keys of the
  155. numerical keypad (the NumPad keys) as shown in <[FIG17]>.
  156.  
  157.      Being able to control the active window display is crucial to using
  158. PEP effectively. We strongly recommend that new users, at a minimum,
  159. become familiar with the eight single keystroke commands listed below.
  160. They are described more fully in Chapter <[14]>, and additional
  161. information can be found in the discussion of the SETUP/WINDOW commands in
  162. Chapter <[12]>.
  163.  
  164.   ALT-C  Contract the active window display
  165.   ALT-E  Expand the active window display
  166.   ALT-R  Display rulers in the active window
  167.   ALT-G  Display the snap grid
  168.   ALT-T  Display the entire object or page
  169.   ALT-U  Put window upper left corner at the cursor
  170.   ALT-V  Display a simplified view of the object
  171.   ALT-W  Re-initialize active window properties
  172.  
  173.      The installation utility creates a default screen configuration for
  174. you, which you can then change if you like. <[FIG05]> shows the most
  175. commonly used configuration. However, if you are using a CGA display or
  176. are not using a mouse, your default configuration will be somewhat
  177. different.
  178.  
  179. <Section 1.5:  Scroll Bars>
  180.     A scroll bar is a tool for using the mouse to move the view in a given
  181. window. In PEP, scroll bars may appear in a menu window, in a graphics
  182. window, or in a help document window. In this section, we will assume that
  183. you have a mouse. (If you do not have a mouse, there are commands for
  184. adjusting window views from the keyboard. See Chapter <[14]> for the
  185. single keystroke commands relevant to graphic windows and menu windows.
  186. See Chapter <[15]> for the commands relevant to help document windows.)
  187.  
  188.     Assuming then that you have a mouse, scroll bars will be automatically
  189. created in menu windows and help document windows, but only when they are
  190. needed. For example, the FILE/LOAD command <[8.2]> displays a menu of all
  191. available picture files. If there is not enough room in the menu window to
  192. display all of the file names, a horizontal scroll bar is created at the
  193. bottom of the window. You can use this bar, as described below, to control
  194. which part of the file name list is to be displayed. In a graphic window,
  195. two scroll bars are required, a horizontal bar to control left/right
  196. motion and a vertical bar to control up/down motion. You can enable or
  197. disable the display of scroll bars in a graphic window by using the
  198. SETUP/WINDOW/BARS command <[12.2.11]> (or the [B]-button or ALT-B).
  199.  
  200.     A scroll bar contains three buttons, an arrow button at either end and
  201. an unmarked button that can moved freely along the bar between these. This
  202. latter button is called the slider. The position of the slider shows the
  203. current location of the window view in its range of possible positions.
  204. The size of the slider shows what fraction of the range is currently
  205. visible. For example, when you contract a graphic window (so that twice as
  206. much is displayed in it), the sliders expand to twice their former size.
  207.  
  208.     To adjust the window view by a small amount, click on the appropriate
  209. arrow button. One click will move a menu window or a help document window
  210. up or down by a single line of text. A graphic window will be moved by a
  211. small fraction of the total range of motion. If you hold down an arrow
  212. button (that is, you click on it and do not release the mouse button), the
  213. window motion will be automatically repeated.
  214.  
  215.     To adjust the window view by a larger amount, click on the scroll bar
  216. outside the slider (above or below the slider on a vertical bar, to the
  217. left or right on a horizontal bar). One click will move the window view by
  218. one half of the size of the window.
  219.  
  220.     If you click on the slider, the mouse becomes locked to the slider. By
  221. moving the mouse, you now move the slider. When you click a second time,
  222. the slider and the window view become fixed in their new positions.
  223.  
  224.     Note that when the slider is moved, the window is immediately
  225. redisplayed. This is called hot scrolling. By clicking once on the slider
  226. and moving the mouse, you can browse over the entire range of motion
  227. before clicking again to fix a new position. In a graphic window, with
  228. horizontal and vertical bars, you can switch from one bar to another while
  229. browsing in this fashion by pressing the SPACE bar or middle mouse button.
  230. In this way, you can quickly scan the entire picture to locate a new
  231. window position. Hot scrolling can be disabled by using the
  232. SETUP/SYSTEM/HOT-SCROLL command <[12.3.6]>.
  233.  
  234. <Section 1.6:  Moving the Cursor>
  235.      PEP's default cursor is a small solid box. Several other forms of
  236. cursor are also used: crosshairs, lines, and boxes of different types. The
  237. shape of the cursor depends on the operation you are performing. There are
  238. several ways to move the cursor in PEP. These are described below.
  239.  
  240. <Section 1.6.1:  Mouse>
  241.      If you have a mouse, you can move the cursor by simply moving the
  242. mouse.
  243.  
  244. <Section 1.6.2:  Cursor Motion Keys>
  245.      Eight NumPad keys can be used to move the cursor. The arrow keys move
  246. the cursor in the direction of the arrow. The corner keys (Home, PgUp,
  247. PgDn, and End) move the cursor diagonally (up-left, up-right, down-right,
  248. and down-left, respectively). See <[FIG08]>. These eight keys are called
  249. the cursor motion keys.
  250.  
  251.      How far the cursor moves with each keystroke is determined by the
  252. SETUP/SYSTEM/STEP command <[12.3.1]> (or the Grey-minus key). This command
  253. cycles through three modes: a single pixel mode and two multiple pixel
  254. modes: full-step and half-step. In single pixel mode, each keystroke moves
  255. the cursor one pixel on the screen. In the multiple modes, each stroke
  256. moves the cursor one multiple-pixel step. The default step size is 10
  257. pixels (5 pixels for a half step). You can change the size of the cursor
  258. step with the SETUP/NUMBERS/STEP-SIZE command <[12.4.1]>.
  259.  
  260. <Section 1.6.3:  Automatic Motion>
  261.      If you need to move the cursor over a large distance, using the
  262. cursor motion keys can be tedious. If you do not have a mouse, you may
  263. want to use the automatic cursor motion capability. You can start the
  264. cursor moving, accelerate it, change its direction, and stop the motion
  265. when the cursor arrives at its destination.
  266.  
  267.      To start the cursor moving, press the Grey-plus key, and then press
  268. one of the cursor motion keys. The cursor will begin to move at a constant
  269. speed in the direction indicated by the motion key. To make the cursor
  270. move faster, press the same key again. To change direction, press a
  271. different cursor motion key. To stop the cursor, press the Grey-plus key a
  272. second time.
  273.  
  274. <Section 1.6.4:  Grid Snapping>
  275.      PEP provides a snap grid capability to assist you in aligning picture
  276. elements with one another. You can control the horizontal and vertical
  277. spacing of the grid points by using the SETUP/NUMBERS/GRID-SPACE command
  278. <[12.4.2]>. You can make the grid visible in the active window by using
  279. the SETUP/WINDOW/GRID command <[12.2.9]> (or ALT-G). At any time, you can
  280. press the function key F8 to move the cursor from its current position to
  281. the nearest grid point. This is called manual snapping. By using the
  282. SETUP/SYSTEM/GRID command <[12.3.2]> (or ALT-S), you can turn on automatic
  283. snapping. When snapping is on, if you insert, move, or duplicate an
  284. element using the cursor, the element will be positioned on the grid, not
  285. at the cursor position, but at the grid point nearest to it. The snapping
  286. options are available whether or not the grid is visible.
  287.  
  288. <Section 1.6.5:  Stretchable Box Cursors>
  289.      In PEP, the cursors appear in a variety of forms: cross-hairs,
  290. horizontal and vertical hairlines, and rigid and stretchable boxes. In the
  291. case of stretchable boxes, which are used, for example, during editing to
  292. stretch a picture element, one corner of the box is mobilized at any given
  293. time. This corner can be moved by any of the methods just described. The
  294. mobile corner is distinguished by a small solid box marker. To change the
  295. mobile corner, press SPACE or the Grey-star key. The next corner
  296. counterclockwise is mobilized. <[FIG13]>.
  297.  
  298. <Section 1.7:  Objects and Picture Files>
  299.      PEP stores pictures in files called picture files. These files have
  300. the extension PDL, which stands for "Picture Description Language". To
  301. display, print, or modify the pictures in a picture file, you must first
  302. load that file into your computer's memory by using the FILE/LOAD command
  303. <[8.2]>. That file then becomes the loaded picture file.
  304.  
  305.      A PDL file might contain only one picture, but often it will contain
  306. more than one. Each file is actually a library of pictures, and each
  307. picture has its own name. A picture in a PDL file is called an object. To
  308. display, print, or modify an object, you must first select it using the
  309. OBJECT/OPEN command <[7.1]>. This displays the object on your screen,
  310. ready to be edited. We will refer to it as the open object.
  311.  
  312.      If you modify the open object, and want to save the changes to disk,
  313. this also is a two step process. First you close the open object using the
  314. OBJECT/CLOSE command <[7.2]>; then you save the file containing that
  315. object to disk using the FILE/SAVE command <[8.3]>.
  316.  
  317.      The basic units that make up objects are called elements. The
  318. elements of an object can be lines, arcs, text, filled regions, groups of
  319. elements, and other objects.
  320.  
  321.      Each object in a file is assigned an object name. The objects in a
  322. file may be independent of one another, or they may be interrelated, some
  323. objects being used as elements inside of others. In this case, we may
  324. refer to these elements as sub-objects of the objects in which they
  325. appear. These sub-objects may contain yet other objects. Objects may be
  326. nested to any depth.
  327.  
  328.      In summary, a typical editing session consists of loading a picture
  329. file from disk, opening an object for editing, modifying the open object
  330. (via insert, delete, and modify commands), printing the result, closing
  331. the open object, and saving the file back to disk.
  332.  
  333. <Section 1.8:  Coordinates>
  334.      Objects drawn in PEP are defined in a coordinate system that is
  335. independent of any output device. When the picture is printed or
  336. displayed, its size is determined by a pair of stretch factors. There is a
  337. horizontal stretch and a vertical stretch. If the stretches are both 1
  338. when the object is drawn, each point in the object is represented by
  339. exactly one pixel on the printer or the display. If the stretches are
  340. increased, the size of the object's image is made larger; if they are
  341. decreased, the image is made smaller. If you are printing, the object may
  342. also be rotated or drawn in mirror image.
  343.  
  344.      When we speak of object coordinates, we mean the device independent
  345. coordinates in which the object is defined. A pair (X,Y) of object
  346. coordinates defines the position of a single point in the object before
  347. stretches and rotations have applied. This happens in the following way.
  348. The X coordinate determines the horizontal position of the point. X equals
  349. 0 for points on the left edge of the object and X increases for points
  350. farther to the right. The Y coordinate determines the vertical position of
  351. a point. Y equals 0 for points at the top edge of the object, and Y
  352. increases for points farther down. The coordinates (0,0) represent the
  353. upper left corner. <[FIG12]>.
  354.  
  355.      You can, if you wish, always leave the printer stretches at their
  356. default values of 1. (This is what we recommend for most purposes anyway.)
  357. In this case, just think of the object coordinates as representing the
  358. locations of the individual pixels on the printed page.
  359.  
  360. <Section 1.9:  More about Menus and Commands>
  361.      The menus in PEP have a dual role. Primarily, they are lists of
  362. commands, but many menus also display status information. These two
  363. functions interact to produce commands of different types. These are
  364. described below. In some cases a single command plus associated status
  365. display requires more than one line in the menu. In these cases, the extra
  366. lines are indented to distinguish them from command names.
  367.  
  368.      <[FIG03]> shows a typical PEP menu. This one is the MODIFY/LINE-STYLE
  369. menu <[4.18]>. There are four commands (NIBTYPE, PENSIZE, DASHES, and
  370. QUIT), and six status data items. In this example, the status information
  371. contained in the menu reports the following facts: the current line is
  372. drawn with a pen whose shape is an ellipse, the pen size is 4 pixels wide
  373. and 2 pixels deep, the line is dashed, and the dashing pattern is 1 dot on
  374. for every 8 dots off. The PEP commands are explained one by one in the
  375. chapters that follow. To better understand the meaning of any particular
  376. command and its status items, consult the section devoted to that command
  377. in the appropriate chapter.
  378.  
  379. <Section 1.9.1:  Name Menus>
  380.      A second kind of menu is used when you are selecting from a list of
  381. names. For example, when loading a picture file, you are presented with a
  382. menu of all files in the current directory with the appropriate extension.
  383. In such a case, the first letters of the menu entries are usually not all
  384. different, so a slightly different method is used when choosing a item
  385. from a name menu. The items listed in a name menu are displayed
  386. alphabetically. The menu appears with an initial item highlighted. As you
  387. begin to type a name, at each keystroke the highlight moves to the first
  388. entry compatible with the keys typed so far. At any point, you can select
  389. the highlighted entry by pressing RETURN. The highlight can also be moved
  390. with the Up-Arrow, Down-Arrow, Home, and End keys. If the list of names is
  391. too large to fit in the menu window at one time, you can use Left-Arrow
  392. and Right-Arrow, or PgUp and PgDn to move the highlight into successive
  393. menu pages. Also, you can highlight an item by simply pointing to it with
  394. the cursor.
  395.  
  396. <Section 1.9.2:  Moving Up The Menu Hierarchy>
  397.      There are three ways to move up the menu hierarchy. Most menus
  398. include an explicit QUIT command; when you type Q (for QUIT), you are
  399. taken back to the previous menu, the next higher menu in the hierarchy.
  400. The second method is to use the super-escape key (Function key F10).
  401. Pressing this key takes you in a single step to the top level menu no
  402. matter where you are in the command structure. Finally, you can use the
  403. Escape key (ESC). Pressing this key takes you back one step in the command
  404. execution. Often, ESC is equivalent to QUIT, taking you back to the prior
  405. menu. Sometimes, however, it takes you back to an earlier stage in the
  406. same menu. For example, when you insert a line, you first choose a start
  407. point and then choose an end point. If you are at the second stage
  408. (choosing the end point), pressing ESC takes you back to the first stage
  409. (choosing the start point). In any case, if you continue to press ESC, you
  410. eventually return to the prior menu and ultimately to the top level menu.
  411. If you have a mouse, pressing the right mouse button is equivalent to
  412. using the ESC key.
  413.  
  414. <Section 1.9.3:  Multiple Choice Commands>
  415.      Some menu commands select a value from a small list of options. These
  416. multiple choice commands also display the currently selected value in the
  417. menu. The data is displayed either on the same line as the command name or
  418. on the following line in the menu. When you press the command letter, the
  419. next option in sequence is selected and displayed. Press the command
  420. letter repeatedly to cycle through the complete set of options until the
  421. desired choice appears in the menu.
  422.  
  423.      <[FIG24]> shows the SETUP/SYSTEM menu <[12.3]> and illustrates the
  424. operation of the SETUP/SYSTEM/GRID command <[12.3.2]>. This command
  425. enables and disables automatic grid snapping, a feature that assists in
  426. the positioning of newly inserted elements. If grid snapping is OFF, then
  427. pressing G (for GRID) in the SETUP/SYSTEM menu turns snapping ON. If
  428. snapping is ON, pressing G turns it OFF. The menu shows the current state.
  429. This is a typical example of a multiple choice command.
  430.  
  431. <Section 1.9.4:  Entering Names>
  432.      Some menu commands require you to type in a name as an argument. For
  433. example, FILE/SAVE <[8.3]> requires a file name. These are called string
  434. input commands. For these commands, when you press the command letter, a
  435. highlight appears in the menu. The highlighted area may have a default
  436. string already displayed in it; to choose this default simply press
  437. RETURN. Alternatively, you can type in a new name into the highlighted
  438. area. End the string by pressing RETURN. While typing into the echo area,
  439. you can correct mistakes by using the backspace key (delete last
  440. character) and ESC (delete entire string). Press ESC a second time to
  441. abort the command.
  442.  
  443. <Section 1.9.5:  Entering Numbers>
  444.      XY input commands are similar to string input commands. These
  445. commands require two numerical arguments. For example, PRINT/MARGINS
  446. <[6.10]> needs two arguments for the left (X) and top (Y) margins
  447. respectively. For such a command the following two lines of the menu
  448. display the current status of these arguments. When you press the command
  449. letter, these two lines change: they now begin with X= and Y=
  450. respectively. This is to indicate that X and Y have become valid command
  451. letters. To change the X value, press X to highlight the X line. Type the
  452. desired value exactly as described under string input commands. Similarly,
  453. press Y to start input for the Y argument. <[FIG04]> shows the
  454. MODIFY/LINE-STYLE menu <[4.18]> as it looks after you have pressed P (for
  455. PENSIZE) to enable input of the width (X) and depth (Y) of the current
  456. pen.
  457.  
  458.      A few XY input commands ask for stretch factors. For example,
  459. SETUP/WINDOW/STRETCHES <[12.2.13]> lets you set the magnification of the
  460. active graphics window display. The smallest possible stretch is 1/256;
  461. the largest is 255. You can type in an integer (e.g. 2), a fraction (e.g.
  462. 3/4), or a decimal (e.g. 2.75).
  463.  
  464.      The remaining XY input commands (the majority) ask for integer
  465. values. The legal range for arguments varies from command to command. You
  466. can type an integer directly, or you can enter a value in physical units:
  467. inches, centimeters, or points (a point is 1/72 of an inch). To enter a
  468. value in inches, add the letter "i" to the end of the input string. To
  469. enter a value in centimeters, add "c". To enter a value in points, add
  470. "p". As before, you can type an integer, a fraction or a decimal. For
  471. example, the following are legal input strings for numbers: 33 (thirty
  472. three abstract pixels or object coordinates), 3/4i (three fourths of an
  473. inch), 2.5c (two and one half centimeters). If you ask for inches,
  474. centimeters, or points your input is converted into object coordinates by
  475. applying the current dots-per-inch value in the X or Y direction as
  476. appropriate. This value defaults to your current printer density, but it
  477. can be changed by using the SETUP/NUMBERS/INCH command <[12.4.5]>.
  478.  
  479.      In a similar way, you can specify a multiple of the current cursor
  480. step size or the current snap grid interval by adding the letter "s" or
  481. "g" to an integer, fraction or decimal number. You can view and change the
  482. current value of the step size and grid interval by using the
  483. SETUP/NUMBERS/STEP-SIZE <[12.4.1]> and SETUP/NUMBERS/GRID-SPACE commands
  484. <[12.4.2]>.
  485.  
  486.      If you type in a number in any of these ways, the new value that you
  487. enter replaces the old X or Y value as formerly displayed in the menu.
  488. However, if the string that you enter begins with a plus sign or a minus
  489. sign, then the new value is added to, or subtracted from the former value.
  490. This is relative XY input.
  491.  
  492.      As an illustration, if you want to move an element to the right by
  493. one half of an inch, use the MODIFY/MOVE command <[4.1]>, press X to
  494. enable X coordinate input, and enter the string "+1/2i". The number of
  495. pixels in one half of an inch will then be added to the current X position
  496. of the element, moving it to the right as required.
  497.  
  498.      A few XY input commands allow you to enter four numbers rather than
  499. just two. For example, the PRINT/WINDOW command <[6.12]> lets you print a
  500. rectangular piece of the open object instead of printing the entire
  501. object. To specify the window, you need to enter four coordinates, the
  502. left, top, right, and bottom of the window. For these XY input commands,
  503. typing the command letter once enables XY input in the first of two XY
  504. coordinate pairs; typing the command letter a second time enables input
  505. into the second pair.
  506.  
  507. <Section 1.10:  More about the Mouse>
  508.      PEP has been designed so that you can use a mouse if you have one,
  509. but a mouse is by no means necessary. Every PEP function can be accessed
  510. directly from the keyboard. Cursor motion, in particular, can be
  511. controlled from the keyboard in a number of ways which have been described
  512. above.
  513.  
  514.      If you do have a mouse, pressing a mouse button is equivalent to
  515. pressing one key on the keyboard. Pressing the left mouse button is
  516. equivalent to pressing RETURN (carriage return). Pressing the right mouse
  517. button is equivalent to pressing ESC (the escape key). Pressing the middle
  518. mouse button (if your mouse has a middle button) is equivalent to pressing
  519. SPACE (the space bar). In the discussion below, we use the key names
  520. RETURN, ESC, and SPACE without explicitly mentioning the mouse. In each
  521. case you can use the equivalent mouse button instead. <[FIG06]>.