home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / vil55os2.zip / README.PC < prev    next >
Text File  |  1995-11-21  |  3KB  |  79 lines

  1.  
  2. Running vile on a PC...
  3. -------------------------------
  4.  
  5. vile can be built for DOS, OS/2, Windows/NT or Windows/95
  6.  
  7. DOS information
  8. ----------------
  9. under DOS, you're best off using a DOS extender of some kind.  either
  10. the Watcom or DJGPP compiler suites may be used -- DJGPP gives you a
  11. faster executable, but the Watcom compiler is about 10 times faster.
  12. you can use Turbo or Borland C as well, but neither of those support an
  13. extender, so you end up only being able to edit files that fit in memory.
  14. if you do this, be sure to '#define SMALLER 1' in estruct.h, to save as
  15. much code space as possible.
  16.  
  17. if you build with Watcom, you'll need to have both vile.exe and dos4gw.exe
  18. in your path to run vile.
  19.  
  20. if you build with DJGPP, you'll need to have both vile.exe and go32.exe
  21. in your path to run vile.
  22.  
  23. let me know about bugs/oddities when you use vile on a PC -- i probably don't
  24. use it as much as you do.
  25.  
  26. (it's quite possible that the DOS makefiles are a little out of date --
  27. refer to the UNIX makefile (makefile.in) for correct current list of source
  28. and object files.)
  29.  
  30. oh -- there are three possible screen drivers in the source distribution
  31. that should work, with varying degrees of success:
  32.     borland.c (need #define BORLAND in estruct.h or makefile): this
  33.         uses the "conio" routines that come with Turbo C or Borland
  34.         C++.  Again, the trouble with this under DOS is that the
  35.         Borland compilers don't produce a dos-extender 32 bit app,
  36.         so you're _severely_ limited as to filesize.  but the DJGPP
  37.         libraries emulate the borland screen i/o routines, so this
  38.         screen driver is used there as well.
  39.  
  40.     ibmpc.c (need #define IBMPC in estruct.h or makefile): goes
  41.         straight to the video controller and the screen, should
  42.         support most popular video modes on CGA/EGA/VGA cards. 
  43.         this is fine under regular DOS, but starts causing problems
  44.         in a Windows DOS-box, due to its direct video accesses.
  45.  
  46.     ansi.c (need #define ANSI in estruct.h or makefile):  uses ANSI.SYS.
  47.         this may be more portable than ibmpc.c, since it relies on
  48.         the ansi driver for its cursor/scrolling/color services. 
  49.         if you can change the resolution of your screen (to 43 or
  50.         50 line mode) with your ansi driver, just use the
  51.         "screen-rows" and/or "screen-columns" vile commands to make
  52.         its idea of the size match your physical screen, and
  53.         you'll be all set.  (i've only tested it with a free/public
  54.         replacement program called NNANSI.  i got my copy from a
  55.         simtel mirror.  i can probably find you a copy if you need
  56.         it.)
  57.  
  58.  
  59. OS/2 information:
  60. -----------------
  61.  
  62. i believe vile can be built with the Borland compiler, or IBM CSET. be
  63. aware that vile is NOT a PM program.  the two builds use the borland.c
  64. or os2vio.c screen drivers, respectively.
  65.  
  66. NT information:
  67. --------------
  68. i believe any of the Visual C++, Watcom, or Borland compilers can be used. 
  69. see the makefiles for details.  the screen driver is ntconio.c -- this is
  70. a console-mode only port.
  71.  
  72.  
  73. --------------------------------------------------------
  74. paul fox, pgf@foxharp.boston.ma.us (home)
  75.  
  76. ------------------------
  77. $Header: /usr2/foxharp/src/pgf/vile/RCS/README.PC,v 1.8 1995/11/21 14:06:53 pgf Exp $
  78. ------------------------
  79.