home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / x / volume21 / xfig / patch02e < prev    next >
Encoding:
Text File  |  1993-10-21  |  34.8 KB  |  1,062 lines

  1. Newsgroups: comp.sources.x
  2. From: envbvs@epb12.lbl.gov (Brian V. Smith)
  3. Subject: v21i025:  xfig - Draw amd manipulate objects in an X-Window, Patch02e/16
  4. Message-ID: <1993Oct21.185812.6906@sparky.sterling.com>
  5. X-Md4-Signature: 55b6e9ea0652c8d8a68f962b59a426d6
  6. Sender: chris@sparky.sterling.com (Chris Olson)
  7. Organization: Sterling Software
  8. Date: Thu, 21 Oct 1993 18:58:12 GMT
  9. Approved: chris@sterling.com
  10.  
  11. Submitted-by: envbvs@epb12.lbl.gov (Brian V. Smith)
  12. Posting-number: Volume 21, Issue 25
  13. Archive-name: xfig/patch02e
  14. Environment: patch, X11, xfig
  15. Patch-To: xfig: Volume 19, Issue 113-139
  16.  
  17. #! /bin/sh
  18. # This is a shell archive.  Remove anything before this line, then feed it
  19. # into a shell via "sh file" or similar.  To overwrite existing files,
  20. # type "sh file -c".
  21. # Contents:  xfig.13
  22. # Wrapped by chris@sparky on Thu Oct 21 13:40:05 1993
  23. PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin ; export PATH
  24. echo If this archive is complete, you will see the following message:
  25. echo '          "shar: End of archive 5 (of 16)."'
  26. if test -f 'xfig.13' -a "${1}" != "-c" ; then 
  27.   echo shar: Will not clobber existing file \"'xfig.13'\"
  28. else
  29.   echo shar: Extracting \"'xfig.13'\" \(32447 characters\)
  30.   sed "s/^X//" >'xfig.13' <<'END_OF_FILE'
  31. X! of the indicator buttons visible at all times.
  32. X! This takes up more screen real estate,
  33. X! but allows the user to see all settable parameters.
  34. X! .\"-------
  35. X! .At
  36. X! .BR \-sp [ ecialtext ]
  37. X! .Ap
  38. X! Start
  39. X! .I xfig
  40. X! with the
  41. X! .I "special text"
  42. X! mode for text objects.
  43. X! .\"-------
  44. X! .At
  45. X! .BR \-startf [ ontsize ]
  46. X! .I pointsize
  47. X! .Ap
  48. X  Set the default font size for text objects (default = 12pt).
  49. X! .\"-------
  50. X! .At
  51. X! .BR \-startl [ atexFont ]
  52. X! .I font
  53. X! .Ap
  54. X! Set the starting font name for
  55. X! .I LaTeX
  56. X! fonts.
  57. X! .\"-------
  58. X! .At
  59. X! .BR \-startp [ sFont ]
  60. X! .I font
  61. X! .Ap
  62. X! Set the starting font name for
  63. X! .I PostScript
  64. X! fonts.
  65. X! .\"-------
  66. X! .At
  67. X! .BR \-te [ xtoutline ]
  68. X! .Ap
  69. X! Specifies that
  70. X! .I xfig
  71. X! will draw a red (on color machines) outline
  72. X! of the ``actual'' bounding box of text objects.
  73. X! This is not very useful anymore.
  74. X! In the past it was useful to show you
  75. X! the outline of rotated text since
  76. X! .I xfig
  77. X! didn't display rotated text then.
  78. X! .\"-------
  79. X! .At
  80. X! .BR \-tr [ ack ]
  81. X! .Ap
  82. X  Turn on cursor (mouse) tracking arrows (default).
  83. X! .\"-------
  84. X! .At
  85. X! .BR \-users [ cale ]
  86. X! .I scale
  87. X! .Ap
  88. X! Set the multiplier for displayed line lengths etc.
  89. X! This factor is multiplied by the actual length,
  90. X! radius or diameter of the object currently
  91. X! being drawn on the canvas.
  92. X! It is useful for making scale drawings, where
  93. X  e.g. 1 inch = 1 foot (userscale = 12.0) or 1cm = 1m (userscale = 100.0).
  94. X! .\"-------
  95. X! .At
  96. X! .BR \-useru [ nit ]
  97. X! .I units
  98. X! .Ap
  99. X! The
  100. X! .I units
  101. X! string is printed with the length information when drawing objects.
  102. X! For example if the
  103. X! .I userscale
  104. X! = 1.0 and the
  105. X! .I userunit
  106. X! =
  107. X! .I ft
  108. X! then a line which is 3 inches long on the canvas would be displayed as
  109. X! ``length = 3 ft'' when it is being drawn.
  110. X! .IP
  111. X! After
  112. X! .I xfig
  113. X! is started you may change the
  114. X! .I userscale
  115. X! and the
  116. X! .I userunit
  117. X! from a popup menu available by pressing mouse button 3 in the
  118. X! .I units
  119. X! box where the two rulers meet.
  120. X  .SH "GRAPHICAL OBJECTS"
  121. X! The objects in
  122. X! .I xfig
  123. X! are divided into
  124. X! .B "primitive objects"
  125. X! and
  126. X! .BR "compound objects" .
  127. X! The primitive objects are:
  128. X! .IR ARC ,
  129. X! .IR CIRCLE ,
  130. X! .IR "CLOSED SPLINE" ,
  131. X! .IR ELLIPSE ,
  132. X! .IR POLYLINE ,
  133. X! .IR POLYGON ,
  134. X! .IR "ENCAPSULATED POSTSCRIPT" ,
  135. X! .IR BOX ,
  136. X! .IR ARC-BOX ,
  137. X! .IR SPLINE ,
  138. X! and
  139. X! .IR TEXT .
  140. X  .PP
  141. X  A primitive object can be moved, rotated, flipped vertically or horizontally,
  142. X  scaled, copied, aligned within a compound object or erased.
  143. X! The
  144. X! .I TEXT
  145. X! primitive may not be flipped.
  146. X  The attributes of any primitive object can be edited using a popup
  147. X  panel (discussed below), so you can, for instance, set the position
  148. X  of an object manually.
  149. X  .PP
  150. X! A compound object is composed of primitive objects.
  151. X! The primitive objects
  152. X! that constitute a compound can not be individually modified,
  153. X! but they can be manipulated as an entity;
  154. X! a compound can be moved, rotated, flipped
  155. X! vertically or horizontally, scaled, copied or erased.
  156. X! A compound that contains any boxes or arc-boxes
  157. X! may only be rotated by 90 degrees.
  158. X  .PP
  159. X! Objects may overlap other objects according to their ``depth''.
  160. X! Objects with larger depth number are obscured by objects with smaller depth.
  161. X  .PP
  162. X! .I Regular
  163. X! polygons may be created using a special drawing mode, but a
  164. X! general
  165. X! .I POLYGON
  166. X! is created as a result, which may then be modified, i.e.
  167. X  the individual vertices may be moved if desired.
  168. X  .SH "DISPLAY WINDOWS"
  169. X! Ten regions comprise the display area of
  170. X! .IR xfig :
  171. X! the command region, top ruler, side ruler, drawing mode region,
  172. X  editing mode region, filename region, message region,
  173. X  mouse function indicator region and canvas region,
  174. X  and indicator region with buttons to set and show current line thickness,
  175. X***************
  176. X*** 274,405 ****
  177. X  .SH "COMMAND PANEL FUNCTIONS"
  178. X  .TP
  179. X  .I Quit
  180. X! Exit from \fIxfig\fP, discarding the figure. If the figure has been modified and
  181. X  not saved, the user will be asked to
  182. X  confirm the action, by clicking mouse button 1 on a confirm/cancel popup menu.
  183. X  .TP
  184. X! .I Delete ALL
  185. X  Delete all objects from the canvas window (may be undone).
  186. X  .TP
  187. X  .I Undo
  188. X  Undo the last object creation, deletion or modification.
  189. X  .TP
  190. X  .I Redraw
  191. X! Redraw the canvas.
  192. X  .TP
  193. X  .I Paste
  194. X  Paste the object previously copied into the cut/paste file into the current
  195. X  figure (at its original position).
  196. X  .TP
  197. X  .I File
  198. X! Pressing mouse button 3 on this button invokes \fISave\fP function without
  199. X! popping up the file panel.
  200. X  .br
  201. X! Mouse button 1 or \fI<Meta>f\fP pops up a panel which contains several
  202. X! file-related functions:
  203. X  .PP
  204. X  .po +.5i
  205. X  .nr LL 6i
  206. X  .TP
  207. X! .I Current Filename
  208. X  This is read-only AsciiTextWidget which contains the filename that will be used
  209. X! to write output to a file \fIif there is no name specified in\fP the
  210. X! \fIFilename\fP panel.
  211. X  .TP
  212. X  .I Filename
  213. X  This is an editable AsciiTextWidget which contains the filename selected
  214. X! either by clicking on a filename from the \fIAlternatives\fP list or
  215. X! by typing a name in directly.
  216. X! Pressing return in the Filename window will \fILoad\fP the file and copy
  217. X! the name to the \fICurrent Filename\fP widget.
  218. X  .TP
  219. X! .I (File) Alternatives
  220. X  Pressing mouse button 1 on a filename in the file alternatives
  221. X! window will select that file by copying the filename into \fIFilename\fP window.
  222. X! Pressing return in this window will \fILoad\fP the file specified in the
  223. X! \fIFilename\fP window (if any) or the \fICurrent Filename\fP widget.
  224. X  .TP
  225. X! .I Filename Mask
  226. X  A wildcard mask may be typed into this editable AsciiTextWidget to restrict
  227. X! the search of filenames to a subset ala the \fIls\fP command.
  228. X  Pressing return in this window will automatically
  229. X  rescan the current directory.
  230. X  This string may be set by setting the X toolkit resource
  231. X! \fB*file_panel*mask*string\fP.
  232. X  .TP
  233. X! .I Current Directory
  234. X  This is an editable AsciiTextWidget which shows the current directory.
  235. X! It may be modified by the user to manually set a directory name.  When
  236. X! return is pressed in this window the directory specified is scanned for
  237. X! files matching the \fIFilenamemask\fP, if any.
  238. X! 
  239. X! The ~ (tilde) character may be used to specify a user's home directory, ala
  240. X  unix shell tilde expansion.
  241. X  .TP
  242. X! .I (Directory) Alternatives
  243. X  Pressing mouse button 1 on a directory name in the directory
  244. X! alternatives list will do a "change directory" to that directory.
  245. X! 
  246. X  Pressing mouse button 3 in either the file or
  247. X! \fIDirectory Alternatives\fP window will do a "change directory" to the
  248. X! parent directory.
  249. X  .TP
  250. X  .I Home
  251. X! Pressing this button will change the directory to the \f3$HOME\f1 directory
  252. X! of the user.
  253. X  .TP
  254. X  .I Rescan
  255. X! Pressing this button or \fI<Meta>r\fP will rescan the
  256. X! current directory.
  257. X  .TP
  258. X  .I Cancel
  259. X! Pressing this button or \fI<Meta>c\fP will pop down the \fIFile\fP panel
  260. X! without making any changes to the directory or file name.
  261. X  .TP
  262. X  .I Save
  263. X! Pressing this button or \fI<Meta>s\fP will save the current contents of the
  264. X  canvas in the file specified in the
  265. X! \fIFilename\fP window \fIif any\fP, or the name specified in the
  266. X! \fICurrent Filename\fP if the former is empty.
  267. X  If the file already exists a confirmation popup menu will appear
  268. X  asking the user to confirm or cancel the save.
  269. X! If there is a filename in the \fIFilename\fP window it is copied to the
  270. X! \fICurrent Filename\fP window.
  271. X! 
  272. X  The current Export directory is updated to the current File directory when
  273. X  Save is pressed.
  274. X  .TP
  275. X  .I Load
  276. X! Pressing this button or \fI<Meta>l\fP will clear the canvas of any
  277. X  current figure and read the figure from the filename specified
  278. X! in the \fIFilename\fP menu item \fIif any\fP, or the name
  279. X! specified in the \fICurrent Filename\fP if the former is empty.
  280. X  If there is a figure currently on the canvas and any modifications
  281. X  have been made to it and not saved, a popup query
  282. X  window will first appear asking if the user wishes to discard the current
  283. X! figure or cancel the \fILoad\fP operation.
  284. X! 
  285. X  The current Export directory is updated to the current File directory when
  286. X  Load is pressed.
  287. X! 
  288. X! A popup message window will appear and diagnostic messages will be written
  289. X! if \fIxfig\fP changes any "illegal" object values to legal values.  For example,
  290. X! older versions of \fIxfig\fP were lax about initializing unused parts such as
  291. X! \fIdepth\fP, and would produce very large, random values.
  292. X! \fIXfig\fP now will "clean up" bad values and inform you when it does so.
  293. X! Also, if you read in an older file format, \fIxfig\fP will inform you that
  294. X! it is converting it to the current format for that version of \fIxfig\fP.
  295. X  .br
  296. X  This window can be popped down by clicking the mouse button on the
  297. X! \fIDismiss\fP button.
  298. X  .TP
  299. X! .I Merge Read
  300. X! Pressing this button or \fI<Meta>r\fP will read the figure from the filename
  301. X! specified in the \fIFilename\fP window \fIif any\fP, or the name
  302. X! specified in the \fICurrent Filename\fP if the former is empty,
  303. X  and merge it with the figure already shown on the canvas.
  304. X! 
  305. X! See \fILoad\fP above for a description of the popup message window.
  306. X  .PP
  307. X  .po -.5i
  308. X  .nr LL 6.5i
  309. X--- 617,835 ----
  310. X  .SH "COMMAND PANEL FUNCTIONS"
  311. X  .TP
  312. X  .I Quit
  313. X! Exit from
  314. X! .IR xfig ,
  315. X! discarding the figure.
  316. X! If the figure has been modified and
  317. X  not saved, the user will be asked to
  318. X  confirm the action, by clicking mouse button 1 on a confirm/cancel popup menu.
  319. X+ The accelerator
  320. X+ .I <Meta>q
  321. X+ will also perform this function.
  322. X+ This and all other accelerators are defined in the
  323. X+ .I app-defaults
  324. X+ file and may be changed if desired.
  325. X  .TP
  326. X! .I "Delete ALL"
  327. X  Delete all objects from the canvas window (may be undone).
  328. X+ The accelerator
  329. X+ .I <Meta>d
  330. X+ will also perform this function.
  331. X  .TP
  332. X  .I Undo
  333. X  Undo the last object creation, deletion or modification.
  334. X+ The accelerator
  335. X+ .I <Meta>u
  336. X+ will also perform this function.
  337. X  .TP
  338. X  .I Redraw
  339. X! Redraw the canvas.  There are also two accelerators which do a redraw -
  340. X! .I <Meta>r
  341. X! and
  342. X! .I <Ctrl>l.
  343. X  .TP
  344. X  .I Paste
  345. X  Paste the object previously copied into the cut/paste file into the current
  346. X  figure (at its original position).
  347. X+ The accelerator
  348. X+ .I <Meta>t
  349. X+ will also perform this function.
  350. X  .TP
  351. X  .I File
  352. X! Pressing mouse button 3 on this button invokes
  353. X! .I Save
  354. X! function without popping up the file panel.
  355. X  .br
  356. X! Mouse button 1 or
  357. X! .I <Meta>f
  358. X! pops up a panel which contains several file-related functions:
  359. X  .PP
  360. X  .po +.5i
  361. X  .nr LL 6i
  362. X  .TP
  363. X! .I "Current Filename"
  364. X  This is read-only AsciiTextWidget which contains the filename that will be used
  365. X! to write output to a file
  366. X! .I "if there is no name specified in"
  367. X! the
  368. X! .I Filename
  369. X! panel.
  370. X  .TP
  371. X  .I Filename
  372. X  This is an editable AsciiTextWidget which contains the filename selected
  373. X! either by clicking on a filename from the
  374. X! .I Alternatives
  375. X! list or by typing a name in directly.
  376. X! Pressing return in the Filename window will
  377. X! .I Load
  378. X! the file and copy the name to the
  379. X! .I "Current Filename"
  380. X! widget.
  381. X  .TP
  382. X! .I "(File) Alternatives"
  383. X  Pressing mouse button 1 on a filename in the file alternatives
  384. X! window will select that file by copying the filename into
  385. X! .I Filename
  386. X! window.
  387. X! Pressing return in this window will
  388. X! .I Load
  389. X! the file specified in the
  390. X! .I Filename
  391. X! window (if any) or the
  392. X! .I "Current Filename"
  393. X! widget.
  394. X  .TP
  395. X! .I "Filename Mask"
  396. X  A wildcard mask may be typed into this editable AsciiTextWidget to restrict
  397. X! the search of filenames to a subset ala the
  398. X! .I ls
  399. X! command.
  400. X  Pressing return in this window will automatically
  401. X  rescan the current directory.
  402. X  This string may be set by setting the X toolkit resource
  403. X! .BR Fig*file_panel*mask*string .
  404. X  .TP
  405. X! .I "Current Directory"
  406. X  This is an editable AsciiTextWidget which shows the current directory.
  407. X! It may be modified by the user to manually set a directory name.
  408. X! When return is pressed in this window the directory specified is scanned for
  409. X! files matching the
  410. X! .IR Filenamemask ,
  411. X! if any.
  412. X! .IP \&
  413. X! The
  414. X! .B ~
  415. X! (tilde) character may be used to specify a user's home directory, ala
  416. X  unix shell tilde expansion.
  417. X  .TP
  418. X! .I "(Directory) Alternatives"
  419. X  Pressing mouse button 1 on a directory name in the directory
  420. X! alternatives list will do a ``change directory'' to that directory.
  421. X! .IP \&
  422. X  Pressing mouse button 3 in either the file or
  423. X! .I "Directory Alternatives"
  424. X! window will do a ``change directory'' to the parent directory.
  425. X  .TP
  426. X  .I Home
  427. X! Pressing this button will change the directory to the
  428. X! .I $HOME
  429. X! directory of the user.
  430. X  .TP
  431. X  .I Rescan
  432. X! Pressing this button or
  433. X! .I <Meta>r
  434. X! will rescan the current directory.
  435. X  .TP
  436. X  .I Cancel
  437. X! Pressing this button or
  438. X! .I <Meta>c
  439. X! will pop down the
  440. X! .I File
  441. X! panel without making any changes to the directory or file name.
  442. X  .TP
  443. X  .I Save
  444. X! Pressing this button or
  445. X! .I <Meta>s
  446. X! will save the current contents of the
  447. X  canvas in the file specified in the
  448. X! .I Filename
  449. X! window
  450. X! .IR "if any" ,
  451. X! or the name specified in the
  452. X! .I "Current Filename"
  453. X! if the former is empty.
  454. X  If the file already exists a confirmation popup menu will appear
  455. X  asking the user to confirm or cancel the save.
  456. X! If there is a filename in the
  457. X! .I Filename
  458. X! window it is copied to the
  459. X! .I "Current Filename"
  460. X! window.
  461. X! .IP \&
  462. X  The current Export directory is updated to the current File directory when
  463. X  Save is pressed.
  464. X  .TP
  465. X  .I Load
  466. X! Pressing this button or
  467. X! .I <Meta>l
  468. X! will clear the canvas of any
  469. X  current figure and read the figure from the filename specified
  470. X! in the
  471. X! .I Filename
  472. X! menu item
  473. X! .IR "if any" ,
  474. X! or the name specified in the
  475. X! .I "Current Filename"
  476. X! if the former is empty.
  477. X  If there is a figure currently on the canvas and any modifications
  478. X  have been made to it and not saved, a popup query
  479. X  window will first appear asking if the user wishes to discard the current
  480. X! figure or cancel the
  481. X! .I Load
  482. X! operation.
  483. X! .IP \&
  484. X  The current Export directory is updated to the current File directory when
  485. X  Load is pressed.
  486. X! .IP \&
  487. X! A popup message window will appear and diagnostic messages
  488. X! will be written if
  489. X! .I xfig
  490. X! changes any ``illegal'' object values to legal values.
  491. X! For example,
  492. X! older versions of
  493. X! .I xfig
  494. X! were lax about initializing unused parts such as
  495. X! .IR depth ,
  496. X! and would produce very large, random values.
  497. X! .I Xfig
  498. X! now will ``clean up'' bad values and inform you when it does so.
  499. X! Also, if you read in an older file format,
  500. X! .I xfig
  501. X! will inform you that
  502. X! it is converting it to the current format for that version of
  503. X! .IR xfig .
  504. X  .br
  505. X  This window can be popped down by clicking the mouse button on the
  506. X! .I Dismiss
  507. X! button.
  508. X  .TP
  509. X! .I "Merge Read"
  510. X! Pressing this button or
  511. X! .I <Meta>r
  512. X! will read the figure from the filename
  513. X! specified in the
  514. X! .I Filename
  515. X! window
  516. X! .IR "if any" ,
  517. X! or the name
  518. X! specified in the
  519. X! .I "Current Filename"
  520. X! if the former is empty,
  521. X  and merge it with the figure already shown on the canvas.
  522. X! .IP \&
  523. X! See
  524. X! .I Load
  525. X! above for a description of the popup message window.
  526. X  .PP
  527. X  .po -.5i
  528. X  .nr LL 6.5i
  529. X***************
  530. X*** 406,415 ****
  531. X  .TP
  532. X  .I Export
  533. X  Will let you export the figure to an output file in one of several formats.
  534. X! Pressing mouse button 3 on this button invokes \fIExport\fP function without
  535. X! popping up the export panel.
  536. X  .br
  537. X! Mouse button 1 or \fI<Meta>e\fP pops up a directory browser widget and
  538. X  a menu with several export-related functions:
  539. X  .PP
  540. X  .po +.5i
  541. X--- 836,848 ----
  542. X  .TP
  543. X  .I Export
  544. X  Will let you export the figure to an output file in one of several formats.
  545. X! Pressing mouse button 3 on this button invokes
  546. X! .I Export
  547. X! function without popping up the export panel.
  548. X  .br
  549. X! Mouse button 1 or
  550. X! .I <Meta>e
  551. X! pops up a directory browser widget and
  552. X  a menu with several export-related functions:
  553. X  .PP
  554. X  .po +.5i
  555. X***************
  556. X*** 417,505 ****
  557. X  .TP
  558. X  .I Magnification
  559. X  This is an editable AsciiTextWidget which contains the magnification to use
  560. X! when translating figure to the output language.  The default is 100%.
  561. X  .TP
  562. X  .I Orientation
  563. X  This button will toggle the output orientation between Landscape (horizontal)
  564. X! and Portrait (vertical).  The default orientation is the same as the mode
  565. X! that \fIxfig\fP was started with.
  566. X  .TP
  567. X  .I Justification
  568. X! This window will only be sensitive when the language selected is "ps" (\fIPostScript\fP).
  569. X! You may choose that the figure is \fIflush left\fP or \fIcentered\fP in the
  570. X  output file.
  571. X  .TP
  572. X  .I Language
  573. X! The translation language to use for \fIxfig\fP output when output is
  574. X! directed to a file.  The default is \fIPostScript\fP.
  575. X! The figure may be saved as an X11 bitmap by choosing \fIXbitmap\fP as the
  576. X! output language.
  577. X  The bitmap is created from the figure, the size of which is determined
  578. X  by the enclosing rectangle of all the figure plus a small border.
  579. X  .TP
  580. X! .I Default Output Filename
  581. X  This is read-only AsciiTextWidget which contains the filename that will be used
  582. X! to write output to a file \fIif there is no name specified in\fP Output File.
  583. X  The default is the figure name plus an extension that reflects the output
  584. X! language used, e.g. myfigure.ps if PostScript is the current language used.
  585. X  If the file already exists a confirmation popup menu will appear
  586. X  asking the user to confirm or cancel the save.
  587. X  .TP
  588. X! .I Output Filename
  589. X  This is an editable AsciiTextWidget which contains the filename to use
  590. X  to write output to a file.
  591. X! Pressing return in this window will \fIExport\fP the file and copy
  592. X! the name to the \fIDefault Output Filename\fP widget.
  593. X  If the file already exists a confirmation popup menu will appear
  594. X  asking the user to confirm or cancel the save.
  595. X  .TP
  596. X! .I (File) Alternatives
  597. X  Pressing mouse button 1 on a filename in the file alternatives
  598. X! window will select that file by copying the filename into \fIFilename\fP window.
  599. X! Pressing return in this window will \fIExport\fP the file and copy
  600. X! the name to the \fIDefault Output Filename\fP widget.
  601. X  .TP
  602. X! .I Filename Mask
  603. X  A wildcard mask may be typed into this editable AsciiTextWidget to restrict
  604. X! the search of filenames to a subset ala the \fIls\fP command.
  605. X  Pressing return in this window will automatically
  606. X  rescan the current directory.
  607. X  This string may be set by setting the X toolkit resource
  608. X! \fB*export_panel*mask*string\fP.
  609. X  .TP
  610. X! .I Current Directory
  611. X  This is an editable AsciiTextWidget which shows the current directory.
  612. X! It may be modified by the user to manually set a directory name.  When
  613. X  return is pressed in this window the directory specified is scanned for
  614. X! files matching the \fIFilenamemask\fP, if any.
  615. X! 
  616. X  It is automatically updated
  617. X  to follow the current File directory when a File Load or Save is done.
  618. X! 
  619. X! The ~ (tilde) character may be used to specify a user's home directory, ala
  620. X  unix shell tilde expansion.
  621. X  .TP
  622. X! .I (Directory) Alternatives
  623. X  Pressing mouse button 1 on a directory name in the directory
  624. X! alternatives list will do a "change directory" to that directory.
  625. X! 
  626. X  Pressing mouse button 3 in either the file or
  627. X! \fIDirectory Alternatives\fP window will do a "change directory" to the
  628. X  parent directory.
  629. X  .TP
  630. X  .I Home
  631. X! Pressing this button will change the directory to the \f3$HOME\f1 directory
  632. X! of the user.
  633. X  .TP
  634. X  .I Rescan
  635. X! Pressing this button or \fI<Meta>r\fP will rescan the current directory.
  636. X  .TP
  637. X  .I Cancel
  638. X! Pressing this button or \fI<Meta>c\fP will pop down the \fIExport\fP menu
  639. X! without doing any print operation.
  640. X  .TP
  641. X  .I Export
  642. X! Pressing this button or \fI<Meta>e\fP will write (export) the figure
  643. X  to the file using the selected language.
  644. X  If the file already exists, a confirmation window will popup to ask the
  645. X  user to confirm the write or cancel.
  646. X--- 850,981 ----
  647. X  .TP
  648. X  .I Magnification
  649. X  This is an editable AsciiTextWidget which contains the magnification to use
  650. X! when translating figure to the output language.
  651. X! The default is 100%.
  652. X  .TP
  653. X  .I Orientation
  654. X  This button will toggle the output orientation between Landscape (horizontal)
  655. X! and Portrait (vertical).
  656. X! The default orientation is the same as the mode that
  657. X! .I xfig
  658. X! was started with.
  659. X  .TP
  660. X  .I Justification
  661. X! This window will only be sensitive when the language selected is ``ps''
  662. X! .RI ( PostScript ).
  663. X! You may choose that the figure is
  664. X! .I "flush left"
  665. X! or
  666. X! .I centered
  667. X! in the
  668. X  output file.
  669. X  .TP
  670. X  .I Language
  671. X! The translation language to use for
  672. X! .I xfig
  673. X! output when output is directed to a file.
  674. X! The default is
  675. X! .IR PostScript .
  676. X! The figure may be saved as an X11 bitmap by choosing
  677. X! .I Xbitmap
  678. X! as the output language.
  679. X  The bitmap is created from the figure, the size of which is determined
  680. X  by the enclosing rectangle of all the figure plus a small border.
  681. X  .TP
  682. X! .I "Default Output Filename"
  683. X  This is read-only AsciiTextWidget which contains the filename that will be used
  684. X! to write output to a file
  685. X! .I "if there is no name specified in"
  686. X! Output File.
  687. X  The default is the figure name plus an extension that reflects the output
  688. X! language used, e.g.
  689. X! .B myfigure.ps
  690. X! if
  691. X! .I PostScript
  692. X! is the current language used.
  693. X  If the file already exists a confirmation popup menu will appear
  694. X  asking the user to confirm or cancel the save.
  695. X  .TP
  696. X! .I "Output Filename"
  697. X  This is an editable AsciiTextWidget which contains the filename to use
  698. X  to write output to a file.
  699. X! Pressing return in this window will
  700. X! .I Export
  701. X! the file and copy the name to the
  702. X! .I "Default Output Filename"
  703. X! widget.
  704. X  If the file already exists a confirmation popup menu will appear
  705. X  asking the user to confirm or cancel the save.
  706. X  .TP
  707. X! .I "(File) Alternatives"
  708. X  Pressing mouse button 1 on a filename in the file alternatives
  709. X! window will select that file by copying the filename into
  710. X! .I Filename
  711. X! window.
  712. X! Pressing return in this window will
  713. X! .I Export
  714. X! the file and copy
  715. X! the name to the
  716. X! .I "Default Output Filename"
  717. X! widget.
  718. X  .TP
  719. X! .I "Filename Mask"
  720. X  A wildcard mask may be typed into this editable AsciiTextWidget to restrict
  721. X! the search of filenames to a subset ala the
  722. X! .I ls
  723. X! command.
  724. X  Pressing return in this window will automatically
  725. X  rescan the current directory.
  726. X  This string may be set by setting the X toolkit resource
  727. X! .BR Fig*export_panel*mask*string .
  728. X  .TP
  729. X! .I "Current Directory"
  730. X  This is an editable AsciiTextWidget which shows the current directory.
  731. X! It may be modified by the user to manually set a directory name.
  732. X! When
  733. X  return is pressed in this window the directory specified is scanned for
  734. X! files matching the
  735. X! .IR Filenamemask ,
  736. X! if any.
  737. X! .IP \&
  738. X  It is automatically updated
  739. X  to follow the current File directory when a File Load or Save is done.
  740. X! .IP \&
  741. X! The
  742. X! .B ~
  743. X! (tilde) character may be used to specify a user's home directory, ala
  744. X  unix shell tilde expansion.
  745. X  .TP
  746. X! .I "(Directory) Alternatives"
  747. X  Pressing mouse button 1 on a directory name in the directory
  748. X! alternatives list will do a ``change directory'' to that directory.
  749. X! .IP \&
  750. X  Pressing mouse button 3 in either the file or
  751. X! .I "Directory Alternatives"
  752. X! window will do a ``change directory'' to the
  753. X  parent directory.
  754. X  .TP
  755. X  .I Home
  756. X! Pressing this button will change the directory to the
  757. X! .I $HOME
  758. X! directory of the user.
  759. X  .TP
  760. X  .I Rescan
  761. X! Pressing this button or
  762. X! .I <Meta>r
  763. X! will rescan the current directory.
  764. X  .TP
  765. X  .I Cancel
  766. X! Pressing this button or
  767. X! .I <Meta>c
  768. X! will pop down the
  769. X! .I Export
  770. X! menu without doing any print operation.
  771. X  .TP
  772. X  .I Export
  773. X! Pressing this button or
  774. X! .I <Meta>e
  775. X! will write (export) the figure
  776. X  to the file using the selected language.
  777. X  If the file already exists, a confirmation window will popup to ask the
  778. X  user to confirm the write or cancel.
  779. X***************
  780. X*** 509,518 ****
  781. X  .nr LL 6.5i
  782. X  .TP
  783. X  .I Print
  784. X! Pressing mouse button 3 on this button invokes \fIPrint to Printer\fP function
  785. X! without popping up the print panel.  Pressing the \fIShift\fP key and
  786. X! mouse button 3 invokes the \fIPrint to Batch\fP function.
  787. X! Pressing mouse button 1 or \fI<Meta>p\fP pops up a menu with several
  788. X  print-related functions:
  789. X  .PP
  790. X  .po +.5i
  791. X--- 985,1001 ----
  792. X  .nr LL 6.5i
  793. X  .TP
  794. X  .I Print
  795. X! Pressing mouse button 3 on this button invokes
  796. X! .I "Print to Printer"
  797. X! function without popping up the print panel.
  798. X! Pressing the
  799. X! .I Shift
  800. X! key and mouse button 3 invokes the
  801. X! .I "Print to Batch"
  802. X! function.
  803. X! Pressing mouse button 1 or
  804. X! .I <Meta>p
  805. X! pops up a menu with several
  806. X  print-related functions:
  807. X  .PP
  808. X  .po +.5i
  809. X***************
  810. X*** 524,586 ****
  811. X  .TP
  812. X  .I Orientation
  813. X  This button will toggle the output orientation between Landscape (horizontal)
  814. X! and Portrait (vertical).  The default orientation is the same as the mode
  815. X! that \fIxfig\fP was started with.
  816. X  .TP
  817. X  .I Justification
  818. X  This button will bring up a sub-menu from which you may choose
  819. X! \fIcenter\fP or \fIflush left\fP to justify the figure on the page.  The
  820. X! default is \fIflush left\fP.
  821. X  .TP
  822. X  .I Printer
  823. X  This is an AsciiTextWidget which contains the printer to
  824. X! use if output is directed to a printer.  The name of the printer may
  825. X! be set setting the X toolkit resource \fB*printer*string\fP.
  826. X! If no resource is set, the environment variable \fBPRINTER\fP is used.
  827. X  .TP
  828. X! .I Print Job Params
  829. X  This is an AsciiTextWidget which into which you may put any extra
  830. X  command-line parameters that your lpr or lp program needs for printing.
  831. X  .TP
  832. X! .I Figures in batch
  833. X  This indicator shows how many figures have been put in the batch file
  834. X  for printing
  835. X  .TP
  836. X  .I Dismiss
  837. X! Pressing this button or \fI<Meta>c\fP will pop down the \fIPrint\fP menu.
  838. X  .TP
  839. X! .TP
  840. X! .I Print FIGURE/BATCH to Printer
  841. X! Pressing this button or \fI<Meta>p\fP will send the current figure
  842. X  (or the batch file if it is has any figures in it) to the printer,
  843. X! by passing it through \fIfig2dev\fP to convert it to PostScript
  844. X! then to the unix \fIlpr\fP (on BSD equivalent Unixes)
  845. X! or \fIlp\fP (on SYSV systems) program.  If the batch file is printed by this
  846. X  button then it is removed after printing.
  847. X  The message in the button changes to reflect whether the batch file
  848. X  will be printed (when there are any figures in the batch file)
  849. X  or the current figure.
  850. X! 
  851. X  Note that the figure that is printed is what you see on the canvas,
  852. X! not necessarily the figure file.  I.e., if you haven't saved the figure
  853. X  since the last changes, the figure from the canvas is printed.
  854. X! \fIXfig\fP writes the figure to a temporary file to do this.
  855. X! The name of the file is \fIXFIGTMPDIR\fB/xfig-print\fR\fIPID\fP, where
  856. X! \fIXFIGTMPDIR\fP is the value of the environment variable by that name and
  857. X! \fIPID\fP is the process ID of \fIxfig\fP.  If the environment variable
  858. X! \fIXFIGTMPDIR\fP is empty or not set, the \fB/tmp\fR directory is used.
  859. X! .I Print FIGURE to Batch
  860. X! Pressing this button or \fI<Meta>b\fP will append the figure (in PostScript form)
  861. X  to a batch file.
  862. X! The \fIPrint to Printer\fP button will send the batch file to the printer.
  863. X  .TP
  864. X! .I Clear Batch
  865. X! Pressing this button or \fI<Meta>x\fP will erase the accumulated figures from
  866. X! the batch file.
  867. X  .PP
  868. X  .po -.5i
  869. X  .nr LL 6.5i
  870. X- 
  871. X  .SH "INDICATOR PANEL COMMAND DESCRIPTIONS"
  872. X  .PP
  873. X  The indicator panel contains buttons to set certain drawing parameters
  874. X--- 1007,1109 ----
  875. X  .TP
  876. X  .I Orientation
  877. X  This button will toggle the output orientation between Landscape (horizontal)
  878. X! and Portrait (vertical).
  879. X! The default orientation is the same as the mode that
  880. X! .I xfig
  881. X! was started with.
  882. X  .TP
  883. X  .I Justification
  884. X  This button will bring up a sub-menu from which you may choose
  885. X! .I center
  886. X! or
  887. X! .I "flush left"
  888. X! to justify the figure on the page.
  889. X! The default is
  890. X! .IR "flush left" .
  891. X  .TP
  892. X  .I Printer
  893. X  This is an AsciiTextWidget which contains the printer to
  894. X! use if output is directed to a printer.
  895. X! The name of the printer may be set setting the X toolkit resource
  896. X! .BR Fig*printer*string .
  897. X! If no resource is set, the environment variable
  898. X! .I PRINTER
  899. X! is used.
  900. X  .TP
  901. X! .I "Print Job Params"
  902. X  This is an AsciiTextWidget which into which you may put any extra
  903. X  command-line parameters that your lpr or lp program needs for printing.
  904. X  .TP
  905. X! .I "Figures in batch"
  906. X  This indicator shows how many figures have been put in the batch file
  907. X  for printing
  908. X  .TP
  909. X  .I Dismiss
  910. X! Pressing this button or
  911. X! .I <Meta>c
  912. X! will pop down the
  913. X! .I Print
  914. X! menu.
  915. X  .TP
  916. X! .I "Print FIGURE/BATCH to Printer"
  917. X! Pressing this button or
  918. X! .I <Meta>p
  919. X! will send the current figure
  920. X  (or the batch file if it is has any figures in it) to the printer,
  921. X! by passing it through
  922. X! .I fig2dev
  923. X! to convert it to
  924. X! .I PostScript
  925. X! then to the unix
  926. X! .I lpr
  927. X! (on BSD equivalent Unixes)
  928. X! or
  929. X! .I lp
  930. X! (on SYSV systems) program.
  931. X! If the batch file is printed by this
  932. X  button then it is removed after printing.
  933. X  The message in the button changes to reflect whether the batch file
  934. X  will be printed (when there are any figures in the batch file)
  935. X  or the current figure.
  936. X! .IP \&
  937. X  Note that the figure that is printed is what you see on the canvas,
  938. X! not necessarily the figure file.
  939. X! I.e., if you haven't saved the figure
  940. X  since the last changes, the figure from the canvas is printed.
  941. X! .I Xfig
  942. X! writes the figure to a temporary file to do this.
  943. X! The name of the file is
  944. X! .IB XFIGTMPDIR /xfig-print\c
  945. X! .IR PID ,
  946. X! where
  947. X! .I XFIGTMPDIR
  948. X! is the value of the environment variable by that name and
  949. X! .I PID
  950. X! is the process ID of
  951. X! .IR xfig .
  952. X! If the environment variable
  953. X! .I XFIGTMPDIR
  954. X! is empty or not set, the
  955. X! .B /tmp
  956. X! directory is used.
  957. X! .I "Print FIGURE to Batch"
  958. X! Pressing this button or
  959. X! .I <Meta>b
  960. X! will append the figure (in
  961. X! .I PostScript
  962. X! form)
  963. X  to a batch file.
  964. X! The
  965. X! .I "Print to Printer"
  966. X! button will send the batch file to the printer.
  967. X  .TP
  968. X! .I "Clear Batch"
  969. X! Pressing this button or
  970. X! .I <Meta>x
  971. X! will erase the accumulated figures from the batch file.
  972. X  .PP
  973. X  .po -.5i
  974. X  .nr LL 6.5i
  975. X  .SH "INDICATOR PANEL COMMAND DESCRIPTIONS"
  976. X  .PP
  977. X  The indicator panel contains buttons to set certain drawing parameters
  978. X***************
  979. X*** 589,595 ****
  980. X  Pressing mouse button 1 on the indicator will pop up a panel
  981. X  in which either a value may be typed (e.g. for a line thickness) or the
  982. X  mouse may be clicked on one of several buttons (e.g. for grid style or
  983. X! font name).  For those that expect a value, pressing return in the value
  984. X  part of the window will set the new value and pop down the menu.
  985. X  .PP
  986. X  Pressing mouse button 2 on an indicator will decrement the value
  987. X--- 1112,1119 ----
  988. X  Pressing mouse button 1 on the indicator will pop up a panel
  989. X  in which either a value may be typed (e.g. for a line thickness) or the
  990. X  mouse may be clicked on one of several buttons (e.g. for grid style or
  991. X! font name).
  992. X! For those that expect a value, pressing return in the value
  993. X  part of the window will set the new value and pop down the menu.
  994. X  .PP
  995. X  Pressing mouse button 2 on an indicator will decrement the value
  996. X***************
  997. X*** 598,607 ****
  998. X  mouse button 3 will increment the value or cycle through the options
  999. X  in the other direction.
  1000. X  .TP
  1001. X! .I ZOOM SCALE
  1002. X  The canvas zoom scale may be set/increased/decreased with this button.
  1003. X! The zoom scale is displayed within the zoom button. Ruler,
  1004. X! grid and linewidth are scaled, too.
  1005. X  Pressing mouse button 2 will decrease the zoom factor by 1.0 unless it
  1006. X  is less than 1.0 already in which case it will reduce to the nearest 0.25.
  1007. X  Pressing mouse button 3 will increase the zoom factor by 1.0 unless it
  1008. X--- 1122,1131 ----
  1009. X  mouse button 3 will increment the value or cycle through the options
  1010. X  in the other direction.
  1011. X  .TP
  1012. X! .I "ZOOM SCALE"
  1013. X  The canvas zoom scale may be set/increased/decreased with this button.
  1014. X! The zoom scale is displayed within the zoom button.
  1015. X! Ruler, grid and linewidth are scaled, too.
  1016. X  Pressing mouse button 2 will decrease the zoom factor by 1.0 unless it
  1017. X  is less than 1.0 already in which case it will reduce to the nearest 0.25.
  1018. X  Pressing mouse button 3 will increase the zoom factor by 1.0 unless it
  1019. X***************
  1020. X*** 608,637 ****
  1021. X  is less than 1.0 in which case it will increase it to the nearest 0.25.
  1022. X  Pressing the control key and mouse button 3 together will
  1023. X  set the zoom scale to 1.
  1024. X! .sp
  1025. X  The figure may also be zoomed by defining a zoom rectangle by pressing
  1026. X! the control key and mouse button 1 together.  This will define one corner
  1027. X! of the zoom rectangle.  Move the mouse and click mouse button 1 again to
  1028. X  define the opposite corner of the zoom rectangle.
  1029. X  .TP
  1030. X! .I GRID MODE
  1031. END_OF_FILE
  1032.   if test 32447 -ne `wc -c <'xfig.13'`; then
  1033.     echo shar: \"'xfig.13'\" unpacked with wrong size!
  1034.   fi
  1035.   # end of 'xfig.13'
  1036. fi
  1037. echo shar: End of archive 5 \(of 16\).
  1038. cp /dev/null ark5isdone
  1039. MISSING=""
  1040. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ; do
  1041.     if test ! -f ark${I}isdone ; then
  1042.     MISSING="${MISSING} ${I}"
  1043.     fi
  1044. done
  1045. if test "${MISSING}" = "" ; then
  1046.     echo You have unpacked all 16 archives.
  1047.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1048.     echo Creating merged patch file xfig.p2
  1049.     cat xfig.[01][0-9] > xfig.p2
  1050.     rm -f xfig.[01][0-9]
  1051. else
  1052.     echo You still must unpack the following archives:
  1053.     echo "        " ${MISSING}
  1054. fi
  1055. exit 0
  1056. exit 0 # Just in case...
  1057. -- 
  1058.   // chris@Sterling.COM           | Send comp.sources.x submissions to:
  1059. \X/  Amiga - The only way to fly! |    sources-x@sterling.com
  1060.  "It's intuitively obvious to the |
  1061.   most casual observer..."        | GCS d+/-- p+ c++ l+ m+ s++/+ g+ w+ t+ r+ x+
  1062.