ftp.nice.ch/pub/next/unix/editor/vim-5.0f.N.b.tar.gz#/vim-5.0f.N.b/doc/os_bebox.txt

This is os_bebox.txt in view mode; [Download] [Up]

*os_bebox.txt*  For Vim version 5.0f.  Last modification: 1997 Apr 9


		  VIM REFERENCE MANUAL    by Bram Moolenaar


This file contains the particularities for the BeBox version of Vim.

This is based on a simple port of Vim 5.0 to the BeBox with BeOS DR8.

The default syntax highlighting mostly works with different foreground
colours to hightlight items. This works best if you set your terminal
window to a dark background and light letters. If you use the default
light background and dark letters, it may look better to simply reverse
the notion of foreground and background colour settings. To do this, add
this to your .vimrc file (where <Esc> may need to be replaced with the
escape character):

if 'term' == "bebox-ansi"
    set t_Sb=<Esc>[3%dm
    set t_Sf=<Esc>[4%dm
endif


Use make -f Makefile.bebox to compile. You will need the unlimited
linker for this to work.

Because some POSIX/UNIX features are still missing[1], there is no
read-with-timeout support. Therefore you cannot use :mappings of more
than one character, unless you also :set notimeout.

Function keys are not supported since they produce very indistinctive
character sequences.

There is no GUI yet.

The Terminal has some "interesting feature" where it (often!) forgets to
scroll properly. For fun, try "Vim -T ansi Makefile" and hit ^E a number
of times. Then drag Terminal's scroll bar. See what I mean? To avoid
this I hacked a bit in the code that scrolls the text on the screen.
Only if you set the terminal type to "bebox-ansi" (which is default) it
will work ok. In particular, once you assign something to t_db (even
though it looks empty and you assign the empty string) this workaround
no longer functions and you have to reset the terminal type to get
things working again.

[1]: there is no select() on file descriptors; the termios VMIN and
VTIME settings do not seem to work properly.

-Olaf Seibert
rhialto@polder.ubc.kun.nl
http://polder.ubc.kun.nl/~rhialto/be

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.