README_Slackware.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. To avoid conflicting with Slackware's elvis and vim packages, this build
  2. installs binaries to /opt/ex-vi/bin and man pages to /opt/ex-vi/man,
  3. along with a script in /etc/profile.d to prepend these paths to PATH and
  4. MANPATH. If you *really* want, you can replace the /usr/bin/vi symlink
  5. (that normally points to elvis or vim), but it shouldn't be necessary.
  6. After installing, either log out & back in, or "source
  7. /etc/profile.d/ex-vi.sh". To temporarily disable the scripts, remove
  8. their execute bits. Users can always set PATH and MANPATH in their own
  9. dotfiles, of course.
  10. In visual mode (vi or :vi from ex), ex-vi has compiled-in values for
  11. the maximum terminal size, in columns and rows. This build will support
  12. terminals up to 320x200 characters by default. If you get 'Terminal too
  13. wide' errors, make your terminal as large as possible and rebuild ex-vi
  14. from within it, with a command like:
  15. TUBECOLS=$COLUMNS TUBELINES=$LINES ./ex-vi.SlackBuild
  16. Exceeding the maximum line height just means vi will ignore the extra
  17. lines at the bottom of the screen. Note that increasing these values
  18. causes vi to use more memory, but on a fairly modern system it shouldn't
  19. be too much. If you're building for a memory-poor system (embedded, or old
  20. hardware), you could save memory with e.g. TUBECOLS=80 TUBELINES=25 or so.
  21. If you *really* need to run vi without 'Terminal too wide', you can
  22. export e.g. COLUMNS=80 in the environment, and vi will only use part of
  23. the terminal. The COLUMNS variable gets reset whenever an X terminal is
  24. resized (at least for most X terminal emulators).
  25. Thanks to zacts on Freenode IRC ##slackware for pointing out the terminal
  26. size limitation.