home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / vile-os2.zip / README.PC < prev    next >
Text File  |  1998-04-30  |  4KB  |  86 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.  newer versions of DJGPP may rely on DPMI, and
  22. you might need cwsdpmi.exe instead of go32.  experiment.  have fun!
  23.  
  24. let me know about bugs/oddities when you use vile on a PC -- i probably don't
  25. use it as much as you do.
  26.  
  27. (it's quite possible that the DOS makefiles are a little out of date --
  28. refer to the UNIX makefile (makefile.in) for correct current list of source
  29. and object files.)
  30.  
  31. oh -- there are three possible screen drivers in the source distribution
  32. that should work, with varying degrees of success:
  33.     borland.c (need #define BORLAND in estruct.h or makefile): this
  34.         uses the "conio" routines that come with Turbo C or Borland
  35.         C++.  Again, the trouble with this under DOS is that the
  36.         Borland compilers don't produce a dos-extender 32 bit app,
  37.         so you're _severely_ limited as to filesize.  but the DJGPP
  38.         libraries emulate the borland screen i/o routines, so this
  39.         screen driver is used there as well.
  40.  
  41.     ibmpc.c (need #define IBMPC in estruct.h or makefile): goes
  42.         straight to the video controller and the screen, should
  43.         support most popular video modes on CGA/EGA/VGA cards. 
  44.         this is fine under regular DOS, but starts causing problems
  45.         in a Windows DOS-box, due to its direct video accesses.
  46.  
  47.     ansi.c (need #define ANSI in estruct.h or makefile):  uses ANSI.SYS.
  48.         this may be more portable than ibmpc.c, since it relies on
  49.         the ansi driver for its cursor/scrolling/color services. 
  50.         if you can change the resolution of your screen (to 43 or
  51.         50 line mode) with your ansi driver, just use the
  52.         "screen-rows" and/or "screen-columns" vile commands to make
  53.         its idea of the size match your physical screen, and
  54.         you'll be all set.  (i've only tested it with a free/public
  55.         replacement program called NNANSI.  i got my copy from a
  56.         simtel mirror.  i can probably find you a copy if you need
  57.         it.)
  58.  
  59.  
  60. OS/2 information:
  61. -----------------
  62.  
  63. i believe vile can be built with the Borland compiler, or IBM CSET. be
  64. aware that vile is NOT a PM program.  the two builds use the borland.c
  65. or os2vio.c screen drivers, respectively.  with vile 7.3, an EMX port
  66. is supported (for comparison, since OS/2 VIO performs much better).
  67.  
  68. WIN32 information (Windows NT and 95):
  69. --------------------------------------
  70. either Visual C++ or the Borland compiler can be used. see the makefiles
  71. for details.  the screen driver is ntconio.c -- this is a console-mode
  72. only port.  as of vile 7.3, a simple gui (ntwinio.c) is provided.  we plan
  73. to do more work to fill out the functionality to make it like the other
  74. implementations of vile (e.g., scrollbars and menus).
  75.  
  76.  
  77. --------------------------------------------------------
  78. tom dickey, dickey@clark.net
  79.  
  80. --------------------------------------------------------
  81. paul fox, pgf@foxharp.boston.ma.us (home)
  82.  
  83. ------------------------
  84. $Header: /usr/build/vile/vile/RCS/README.PC,v 1.14 1998/04/30 23:46:59 tom Exp $
  85. ------------------------
  86.