Displays differences of two text files in
- Size
- 148K (151,793 bytes)
- Added
- 2026-11-20 02:44
- Downloads
- 1
- Long Description
- -------------------------------------------------------------------------- WHAT IS IT ? -------------------------------------------------------------------------- AMuiDiff is a MUI based diff tool which compares couple of text files. It is a GUI for diffutils commands... This tool is free. There is no copyright. -------------------------------------------------------------------------- INSTALL -------------------------------------------------------------------------- De-archiving: lha x amuidiff.lha Copy the amigaos version (amuidiff.aos) or the morphos version (amuidiff.mos) in C: . Copy the french catalog in locale:Catalogs/français/, or AMuiDiff speaks english. AMuidiff needs the MUI TextEditor and ToolBar classes (YAM, ...) : - aminet/dev/mui/MCC_TextEditor.lha - aminet/dev/mui/MCC_Toolbar.lha AMuiDiff needs a diff command tool. The following have been successfully tested : - aminet/util/gnu/HWGdiffP1_2_6.lha (SAS port) - GG diffutils The source is provided. Go to the "src/core" directory, and perform "make" to compile the morphos version, and "make amigaos" to compile the amigaos (68k) version. AMuiDiff has been compiled using GCC. Compilation problems could occur using other compiler... I will try to perform some tests with other compilers... To use the Editor feature, the AMuiDiff/EDITOR env var has to be set, or golded:golded will be used : - setenv "AMuiDiff/EDITOR" the_editor_you_want - copy ENV:AMuiDiff ENVARC:AMuiDiff To make AMuiDiff uses fixed font, the AMuiDiff/FIXEDFONT env var has to be set to TRUE : - setenv "AMuiDiff/FIXEDFONT" TRUE - copy ENV:AMuiDiff ENVARC:AMuiDiff -------------------------------------------------------------------------- USAGE -------------------------------------------------------------------------- AMuiDiff can be launched from WB or cli. Cli options are : FILE1,FILE2,OPTIONS,DEBUG/S FILE1 and FILE2 : strings : files to compare OPTIONS : strings : diff options. Ex : AMuiDiff.mos ss_amiga_lib_tools.c ss_lib_tools.c OPTIONS="-b" Ignore changes in the amount of white space DEBUG : switch : amuidiff generate error log messages you can send me ;) When the window is opened, it is easy to use... -------------------------------------------------------------------------- TIPS -------------------------------------------------------------------------- I currently use AMuiDiff with CVS using this script : ---------------------- .KEY file echo "--> executing : cvs update -p <file> >T:cvs_amuidiff" cvs update -p <file> >T:cvs_amuidiff AMuidiff T:cvs_amuidiff <file> delete T:cvs_amuidiff ---------------------- So to compare a file with its cvs archived version, I invoke : > cvs-diff file_modified. -------------------------------------------------------------------------- FUTURE -------------------------------------------------------------------------- In priority order : - Correct bugs users could discover : Permanent - directory diffs management : In next release - Drag'n'Drop to load files : OK - Edit files from GUI : OK - Confirm or correct diffs from one file to the other (merge) : Planned - Clean the source ! : Permanent - Correct the AOS bug of the virtualgroup which prevents the user from selecting text on the right view or from clicking on arrows when the left virtgroup is too large : investigation needed -------------------------------------------------------------------------- CONTACT -------------------------------------------------------------------------- Author : Stephane SARAGAGLIA saragaglia@ifrance.com web site : http://aurora.gotdns.org/amiga -------------------------------------------------------------------------- HISTORY --------------------------------------------------------------------------