home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 Shareware (Platinum Edition) / QUEPLAT95.ISO / files / utildisk / pmdiff30 / pmdiff.hlp (.txt) < prev    next >
Encoding:
OS/2 Help File  |  1995-06-25  |  18.3 KB  |  462 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Disclaimer ΓòÉΓòÉΓòÉ
  3.  
  4. This product is supplied with no warranty, either expressed or implied. The 
  5. Authors (Daniel J Neades and Jason R Shannon) will not accept responsibility 
  6. for any adverse consequences that may arise from the use or misuse of PMdiff or 
  7. its associated program and data files. Such adverse consequences include, but 
  8. are not limited to, loss of profit, and loss of data. 
  9.  
  10. The Authors specifically disclaim all warranties, expressed or implied, 
  11. including but not limited to, any implied warranty of merchantability or 
  12. fitness for a particular purpose. 
  13.  
  14.  
  15. ΓòÉΓòÉΓòÉ 2. Copyright ΓòÉΓòÉΓòÉ
  16.  
  17. PMdiff is Copyright 1993-1995 Daniel J Neades and Jason R Shannon. 
  18.  
  19. PMdiff exists in evaluation and licensed versions. The product information 
  20. dialog specifies the type of each copy. 
  21.  
  22. Evaluation copies of PMdiff are supplied for evaluation only. You may 
  23. distribute them freely, but they are not to be used commercially. After 21 days 
  24. of evaluation, you must cease using PMdiff unless you register it. 
  25.  
  26. Licensed copies of PMdiff may be used commerically, but not freely distributed. 
  27. Each licensed copy may be used by only one person at any particular time. 
  28.  
  29. The copyright of PMdiff is held by the authors, Daniel J Neades and Jason R 
  30. Shannon. 
  31.  
  32.  
  33. ΓòÉΓòÉΓòÉ 3. Licensing PMdiff ΓòÉΓòÉΓòÉ
  34.  
  35. PMdiff is useful to almost everyone who uses IBM OS/2 and Microsoft Windows NT. 
  36. It is particularly attractive to software engineers who often wish to compare 
  37. different versions of source code files. 
  38.  
  39. If you sell software development tools, you may wish to consider bundling 
  40. PMdiff with your product to give it the competitive edge. 
  41.  
  42. You can ship the evaluation version of PMdiff with your products free of charge 
  43. (but please contact us to obtain permission first). 
  44.  
  45. The licensed version of PMdiff may be shipped with your products under 
  46. negotiable terms. To contact us, see Contacting the Authors. 
  47.  
  48. Alternatively, see How to Register if you simply wish to continue using PMdiff. 
  49.  
  50.  
  51. ΓòÉΓòÉΓòÉ 4. How to Register and receive support ΓòÉΓòÉΓòÉ
  52.  
  53. PMdiff version 3.0 is shareware. This means that you can use the program for a 
  54. limited time (21 days) before you decide whether you want to keep it. If you 
  55. want to continue using PMdiff after that time you are expected to register it. 
  56.  
  57. The licensed version of PMdiff (which will be sent to you when you register) 
  58. allows you to save your preferences between sessions and save merged files. 
  59. Otherwise, it is identical to (or better than) the evaluation version. 
  60.  
  61. Once you have registered, technical support is available from the authors via 
  62. e-mail. Voice telephone support is not provided. 
  63.  
  64. PMdiff can be registered by sending the registration fee to one of the authors 
  65. (see Contacting the Authors). The file orderfrm.txt supplied with PMdiff can be 
  66. used to order the software. 
  67.  
  68. Acceptable methods of payment are listed below in order of preference (most 
  69. preferred method first). 
  70.  
  71.     ╨¼20 cheque (payable to D J Neades) drawn on UK bank 
  72.     ╨¼20 UK Postal Order 
  73.     ╨¼20 Eurocheque (payable to D J Neades) 
  74.     US$30 cheque (payable to D J Neades) 
  75.  
  76.  Sending cash through the mail is probably not a good idea. 
  77.  
  78.  If you already own PMdiff 2.7, you can upgrade to version 3.0 for ╨¼10 (US$15). 
  79.  
  80.  Note 
  81.  PMdiff 3.0 is also available as a native 32 bit Microsoft Windows NT 
  82.  application. 
  83.  
  84.  
  85. ΓòÉΓòÉΓòÉ 5. Contacting the Authors ΓòÉΓòÉΓòÉ
  86.  
  87. You may register a single copy of PMdiff or initiate licensing negotiations 
  88. with either of the authors. You can contact them at the address below: 
  89.  
  90.     PMdiff 
  91.     27 Kennmoor Close 
  92.     Warmley 
  93.     Bristol BS15 5BD 
  94.     United Kingdom 
  95.  
  96.  You may also contact the authors via Internet email. Send mail to 
  97.  pmdiff@arac.demon.co.uk. 
  98.  
  99.  
  100. ΓòÉΓòÉΓòÉ 6. General Help ΓòÉΓòÉΓòÉ
  101.  
  102. PMdiff presents the differences between two files in a graphical format, 
  103. allowing you to browse through the files. Lines are drawn between corresponding 
  104. changes in the two files. 
  105.  
  106. Choose one of the following hyperlinks for help about performing specific 
  107. actions in PMdiff. 
  108.  
  109.     How to register PMdiff and receive support 
  110.     How to license PMdiff 
  111.  
  112.     Loading files 
  113.     Scrolling files 
  114.     Merging files 
  115.     Moving the lines window 
  116.     Changing fonts 
  117.     Changing colours 
  118.     Using the keyboard 
  119.  
  120.  
  121. ΓòÉΓòÉΓòÉ 7. Actions ΓòÉΓòÉΓòÉ
  122.  
  123. Select an appropriate topic for information about how to perform a particular 
  124. task. 
  125.  
  126.  
  127. ΓòÉΓòÉΓòÉ 7.1. Loading Files ΓòÉΓòÉΓòÉ
  128.  
  129. Files can be loaded into PMdiff in one of three ways: 
  130.  
  131.     By specifying them on the command line when you start PMdiff. 
  132.  
  133.     By using the File Open dialog. 
  134.  
  135.     By using drag and drop to copy the file(s) from a Workplace Shell folder to 
  136.     either of the file display windows, or onto a PMdiff program object on the 
  137.     desktop. 
  138.  
  139.  
  140. ΓòÉΓòÉΓòÉ 7.2. Scrolling Files ΓòÉΓòÉΓòÉ
  141.  
  142. You can scroll files vertically and horizontally using the scroll bars. 
  143. Scrolling one file may result in the other also being scrolled, depending on 
  144. the settings in the Linking page of the Preferences notebook. 
  145.  
  146. Moving the scroll bars with mouse button 2 instead of mouse button 1 will 
  147. result in any linking being delayed until button 2 is released. 
  148.  
  149. There are two double-arrowed buttons beneath each vertical scroll bar. These 
  150. allow you to jump to the next and previous differences quickly. 
  151.  
  152. Note 
  153. The evaluation version of PMdiff pops up a dialog box every time you move to 
  154. the next or previous difference. See How to Register for details on how to 
  155. register PMdiff and receive a version that does not have this annoying feature. 
  156.  
  157.  
  158. ΓòÉΓòÉΓòÉ 7.3. Merging files ΓòÉΓòÉΓòÉ
  159.  
  160. If you enable the file merge facility (see options) then you can select the 
  161. text that you want from both files and save a file containing it. A raised 
  162. vertical bar is drawn in the central lines window next to the text that will be 
  163. saved. 
  164.  
  165. ou can select or deselect text by clicking on it with mouse button 1. The 
  166. raised vertical bar in the central lines window adjacent to the text will 
  167. appear or disappear to show whether the text is selected. 
  168.  
  169. When you have chose the changes that you wish to keep, select Save merged file 
  170. from the File menu, or from the pop-up menus. If you select Save merged file 
  171. from the pop-up menu for the left file, the save filename will default to the 
  172. name of the left file. Using the right file pop-up menu will use the right 
  173. filename as the default save name. Of course, you can enter a different 
  174. filename if wish. 
  175.  
  176. Note 
  177. The evaluation version of PMdiff does not allow you to save merged file 
  178. changes. See How to Register for details on how to register PMdiff and receive 
  179. a version with save enabled. 
  180.  
  181.  
  182. ΓòÉΓòÉΓòÉ 7.4. Moving the Lines Window ΓòÉΓòÉΓòÉ
  183.  
  184. You can change the relative widths of the two file display windows. To do this, 
  185. move the pointer over the double-headed arrow above the lines window, click and 
  186. hold down mouse button 2, and drag the window to the left or right. Release the 
  187. button when you have moved the lines window to the desired place. 
  188.  
  189. To re-centre the lines window, double-click either mouse button on the double 
  190. headed arrow. 
  191.  
  192. See the help for the Lines page of the Preferences notebook for information on 
  193. how to change the width of the central lines window. 
  194.  
  195.  
  196. ΓòÉΓòÉΓòÉ 7.5. Colours ΓòÉΓòÉΓòÉ
  197.  
  198. You can change the colours used by PMdiff by dragging colours from the OS/2 
  199. Colour Palette and dropping on PMdiff. It is possible to change the foreground 
  200. and background colours for each of the four different text types. Simply drop 
  201. the desired colour on the type of text that you wish to change. The colour of 
  202. the linking lines can also be changed by dropping a colour onto the central 
  203. lines window. 
  204.  
  205.  
  206. ΓòÉΓòÉΓòÉ 7.6. Fonts ΓòÉΓòÉΓòÉ
  207.  
  208. You can change the font used to display files by dragging from the OS/2 Font 
  209. Palette and dropping on either of the file windows. You can also change the 
  210. font used in the status lines above the file windows. 
  211.  
  212.  
  213. ΓòÉΓòÉΓòÉ 7.7. Shortcuts ΓòÉΓòÉΓòÉ
  214.  
  215. Most menu items have short-cut keys, which are described next to the menu item 
  216. which they emulate. In addition, there is a pop-up menu available by pressing 
  217. mouse button 2 when the pointer is over either of the file display windows. 
  218.  
  219. PMdiff supports extensive use of the keyboard for moving around files. The Page 
  220. Up, Page Down and the up and down arrow keys move the file display up and down. 
  221. Holding down the Ctrl key with the up and down arrows moves between the next 
  222. and previous differences. 
  223.  
  224. Note 
  225. Keyboard actions affect the last file display that was clicked upon using mouse 
  226. button 1. Alternatively, you can use the Tab key to switch active windows. If 
  227. you have pressed Tab, then the file with input focus is shown with a dotted 
  228. border. This input focus emphasis is not drawn by default (and is removed if 
  229. you click on either file with the mouse) so that the display remains as 
  230. uncluttered as possible. 
  231.  
  232.  
  233. ΓòÉΓòÉΓòÉ 8. Extended Lines ΓòÉΓòÉΓòÉ
  234.  
  235. Selecting Extend lines from the popup menu toggles extended lines on or off. 
  236. The current state is indicated by the presence or absence of a checkmark next 
  237. to the menu item. This option mirrors the checkbox on the Lines page of the 
  238. Preferences notebook. 
  239.  
  240.  
  241. ΓòÉΓòÉΓòÉ 9. Expand Tabs ΓòÉΓòÉΓòÉ
  242.  
  243. Selecting Expand tabs from the popup menu toggles tab expansion on or off. The 
  244. current state is indicated by the presence or absence of a checkmark next to 
  245. the menu item. This option mirrors the checkbox on the Options page of the 
  246. Preferences notebook. 
  247.  
  248. Note that selecting this menu item will changes in tab expansion to take 
  249. immediate effect, unlike checking or unchecking the option on the Options 
  250. notebook page. 
  251.  
  252.  
  253. ΓòÉΓòÉΓòÉ 10. File Menu ΓòÉΓòÉΓòÉ
  254.  
  255. The File menu allows you to load files into PMdiff, configure PMdiff 
  256. preferences and perform other miscellaneous operations. The following items are 
  257. available: 
  258.  
  259.     Open left 
  260.     Open right 
  261.     Save merged files 
  262.     Swap 
  263.     Rediff 
  264.     Preferences 
  265.     Exit 
  266.  
  267.  
  268. ΓòÉΓòÉΓòÉ 10.1. File->Open left and File->Open right ΓòÉΓòÉΓòÉ
  269.  
  270. Selecting Open left or Open right from the File menu brings up a standard file 
  271. dialog. From this you can select a file to load into either the left or right 
  272. PMdiff file display windows. 
  273.  
  274.  
  275. ΓòÉΓòÉΓòÉ 10.2. File->Save merged files ΓòÉΓòÉΓòÉ
  276.  
  277. If file merging is enabled, selecting Saved merged files from the File menu 
  278. brings up a standard file save dialog. From this you can select the name of the 
  279. file which is to contain the merged changes of the two open files. 
  280.  
  281.  
  282. ΓòÉΓòÉΓòÉ 10.3. File->Swap ΓòÉΓòÉΓòÉ
  283.  
  284. Selecting Swap from the File menu swaps the contents of the two PMdiff file 
  285. display windows. 
  286.  
  287. You may only select Swap if you have loaded at least one file into PMdiff and 
  288. if PMdiff is not currently working out the differences between two files. 
  289.  
  290.  
  291. ΓòÉΓòÉΓòÉ 10.4. File->Rediff ΓòÉΓòÉΓòÉ
  292.  
  293. Selecting this menu item forces PMdiff to reload and rediff the currently 
  294. displayed files. This is useful if you have modified one or other of the files 
  295. since they were first loaded. 
  296.  
  297. Note that it is not possible to select Rediff if PMdiff is already in the 
  298. process of working out the differences between two files. 
  299.  
  300.  
  301. ΓòÉΓòÉΓòÉ 10.5. File->Preferences ΓòÉΓòÉΓòÉ
  302.  
  303. PMdiff allows many options to be configured to suit your preferences. Selecting 
  304. Preferences brings up the PMdiff Preferences notebook. This has four pages: 
  305.  
  306.     Linking 
  307.     Styles 
  308.     Lines 
  309.     Options 
  310.  
  311.  
  312. ΓòÉΓòÉΓòÉ 10.6. File->Exit ΓòÉΓòÉΓòÉ
  313.  
  314. Selecting Exit ends your current PMdiff session. 
  315.  
  316.  
  317. ΓòÉΓòÉΓòÉ 11. Help Menu ΓòÉΓòÉΓòÉ
  318.  
  319. The Help menu allows you to access help about various aspects of PMdiff. The 
  320. following items are available: 
  321.  
  322.     Help index 
  323.     General help 
  324.     Using help 
  325.     Product information 
  326.  
  327.  
  328. ΓòÉΓòÉΓòÉ 11.1. Help->Help index ΓòÉΓòÉΓòÉ
  329.  
  330. Selecting the Help index menu item gives you an index of all PMdiff help 
  331. topics. 
  332.  
  333.  
  334. ΓòÉΓòÉΓòÉ 11.2. Help->General help ΓòÉΓòÉΓòÉ
  335.  
  336. Selecting General help gives you an overview of PMdiff. 
  337.  
  338.  
  339. ΓòÉΓòÉΓòÉ 11.3. Help->Using help ΓòÉΓòÉΓòÉ
  340.  
  341. Select Using help if you are unfamiliar with the OS/2 on-line help system. 
  342.  
  343.  
  344. ΓòÉΓòÉΓòÉ 11.4. Help->Product information ΓòÉΓòÉΓòÉ
  345.  
  346. Product information brings up a dialog box containing information on PMdiff. Of 
  347. particular note is the version number. 
  348.  
  349. Push the OK button to dismiss the dialog. 
  350.  
  351.  
  352. ΓòÉΓòÉΓòÉ 12. Preferences notebook ΓòÉΓòÉΓòÉ
  353.  
  354. The Preferences notebook allows you to configure PMdiff to suit your 
  355. requirements. The notebook consists of four pages; simply click on a page tab 
  356. in order to turn to that page. Any changes that you make using the notebook 
  357. take immediate effect. 
  358.  
  359. For help on individual pages select a hyperlink from the list below: 
  360.  
  361.     Linking 
  362.     Styles 
  363.     Lines 
  364.     Options 
  365.  
  366.  
  367. ΓòÉΓòÉΓòÉ 12.1. Preferences notebook: Linking Page ΓòÉΓòÉΓòÉ
  368.  
  369. This page allows you to change the way in which PMdiff links the two file 
  370. display windows together. 
  371.  
  372. Vertical Linking 
  373. By default, when you vertically scroll one file, PMdiff automatically scrolls 
  374. the other so that correspondances between the two files are vertically aligned 
  375. in the centre of the file display windows. This is Centre vertical linking. 
  376.  
  377. As an alternative to Centre linking, you can tell PMdiff to align 
  378. correspondances at the top or bottom of the file display windows, depending on 
  379. the direction of movement. To do this, select Top/Bottom linking. If you scroll 
  380. upward (toward the top of the file) then correspondances are aligned at the top 
  381. of the windows. Scrolling downward aligns correspondances at the bottom of the 
  382. file display windows. 
  383.  
  384. Finally, you may disable vertical linking completely by selecting the Unlinked 
  385. option. Note that you can temporarily achieve the same effect by using mouse 
  386. button 2 to move the scroll bar instead of button 1. Linking will then not take 
  387. place until you release the button. 
  388.  
  389. Horizontal Linking 
  390. Horizontal linking can be either on or off. If it is on, then scrolling one 
  391. file horizontally will result in the other also being scrolled. Otherwise, the 
  392. two files are not horizontally linked. 
  393.  
  394. Pushing the Default button resets horizontal and vertical linking to the PMdiff 
  395. defaults. 
  396.  
  397.  
  398. ΓòÉΓòÉΓòÉ 12.2. Preferences notebook: Styles Page ΓòÉΓòÉΓòÉ
  399.  
  400. This notebook page allows you to configure your choice of styles for the four 
  401. different types of text that PMdiff displays: Unchanged, Changed, Inserted and 
  402. Deleted. 
  403.  
  404. Unchanged text is that which is the same in both of the files being compared. 
  405. Changed text is text which has been replaced in the transition from one file to 
  406. another. Inserted text is that which is not present in the left file, but has 
  407. been inserted into the one on the right. Deleted text is present in the left 
  408. file, but not in the right. 
  409.  
  410. For each of the four text types you may choose any combination of Bold, Italic, 
  411. Underscore and Strikeout styles. 
  412.  
  413. Pushing the Default button resets all character styles to the PMdiff defaults. 
  414.  
  415. Clicking on Reset colours will undo any changes that you have made to the 
  416. PMdiff colour scheme. For slow computers, it is recommended that do not change 
  417. the background colours since this slows down the display. 
  418.  
  419. See also 
  420.     Changing fonts 
  421.     Changing colours 
  422.  
  423.  
  424. ΓòÉΓòÉΓòÉ 12.3. Preferences notebook: Lines Page ΓòÉΓòÉΓòÉ
  425.  
  426. Using this notebook page you can alter the width (in pixels) of the central 
  427. lines section (in which the lines showing correspondances between the left and 
  428. right files are drawn). 
  429.  
  430. In addition, you can optionally extend the lines in the lines section over the 
  431. text in the file display window. 
  432.  
  433.  
  434. ΓòÉΓòÉΓòÉ 12.4. Preferences notebook: Options Page ΓòÉΓòÉΓòÉ
  435.  
  436. The White space section tells PMdiff how to treat white space when comparing 
  437. files. White space can be treated as significant, ignored at the start of lines 
  438. or ignored totally. 
  439.  
  440. The Miscellaneous section allows you to: 
  441.     select whether CR and LF characters are explicitly shown 
  442.     enable or disable the display of line numbers 
  443.     enable the file merge feature. 
  444.  
  445.  The Tabs section on this notebook page allows you to expand tabs to a given 
  446.  number of spaces. Note that this option is only really useful if you have 
  447.  instructed PMdiff to use a mono-spaced font. 
  448.  
  449.  Save on exit allows you to choose whether to save your PMdiff preferences when 
  450.  you leave PMdiff. It also allows you to store the window size and position on 
  451.  exit. 
  452.  
  453.  Note 
  454.  The evaluation version of PMdiff does not allow you to save either the 
  455.  preferences or window position. See How to Register for details on how to 
  456.  register PMdiff and receive a version with save enabled. 
  457.  
  458.  
  459. ΓòÉΓòÉΓòÉ 13. File Open Dialog ΓòÉΓòÉΓòÉ
  460.  
  461. The file dialog allows you to load a file into PMdiff. It works in exactly the 
  462. same way as all other OS/2 standard file dialogs.