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