home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 July / CMCD0704.ISO / Software / Complet / FreeDOS / fdbootcd.iso / FREEDOS / PACKAGES / BASE / DISK03 / EDLINX.ZIP / HELP / edlin.en
Text File  |  2003-06-22  |  2KB  |  57 lines

  1. EDLIN
  2.  
  3. The edlin program is a small line editor, written for FreeDOS as a functional
  4. clone of the old MS-DOS program edlin. It differs from MS edlin in that
  5. first, it's free software, and second, the user interface is slightly
  6. different in a few places. The reason for the difference is so that the user
  7. does not have to type in control characters mandated by MS edlin's syntax.
  8.  
  9. INVOKING EDLIN
  10.  
  11. The edlin program is invoked either by itself:
  12.  
  13.         edlin
  14.  
  15. or with a filename that's initially read in:
  16.  
  17.         edlin file
  18.  
  19. EDLIN'S INTERNAL COMMANDS
  20.  
  21. The edlin internal commands are described in the HTML file that comes in this
  22. distro.
  23.  
  24. COMPILING EDLIN
  25.  
  26. The edlin program has been tested with these compilers:
  27.  
  28. Microsoft Visual C++:
  29.  
  30. To compile with M$VC++, first rename config-h.msc to config.h. Then, have
  31. the symbol HAVE_CONFIG_H defined on the command line or in the project file.
  32.  
  33. Borland C++:
  34.  
  35. Use the makefile Makefile.bc. The makefile should copy config-h.bc to config.h
  36. before compiling.
  37.  
  38. GNU gcc under Cygwin:
  39.  
  40. Compiling under Cygwin should be as easy as 
  41.  
  42.       ./configure;make;make install
  43.  
  44. as edlin has been successfully autoconfiscated. ;-)
  45.  
  46. If you don't want to use the ./configure script, Eric Auer has noted that
  47. after copying config-h.bc to config.h and renaming your favorite msgs-*.h
  48. file to msgs.h,
  49.  
  50.         gcc -o edlin.exe -Wall *.c
  51.  
  52. should also work. I'm leaving the configure script and Makefile in there,
  53. though, as the generated Makefile can also be used to install edlin and
  54. create distros. ;-)
  55.  
  56. Gregory Pietsch, 2003-06-09
  57.