1 Star 0 Fork 0

hilarryxu/vimdoc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
os_beos.html 31.96 KB
一键复制 编辑 原始数据 按行查看 历史
hilarryxu 提交于 2017-08-15 10:58 . Init repo
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>os_beos - Vim Documentation</title>
<meta name="Generator" content="Vim/8.0">
<meta name="plugin-version" content="vim8.0">
<meta name="syntax" content="help">
<meta name="settings" content="no_pre,use_css,expand_tabs">
<link rel="stylesheet" href="style.css" type="text/css" />
<script src="jquery.min.js" type="text/javascript"></script>
<script src="mark-current-page.js" type="text/javascript"></script>
</head>
<body>
<header>
<div class="header">
<a href="http://vim-jp.org/">vim-jp</a>
/ <a href="http://vim-jp.org/vimdoc-en/">vimdoc-en</a>
/ os_beos<br />
<a name="top"></a><h1>os_beos - Vim Documentation</h1>
<a href="index.html">Return to main</a>
<span class="EnglishJapaneseLink">
<span class="CurrentLanguage">English</span>
</span>
</div>
</header>
<nav>
<dl>
<dt>BASIC</dt>
<dd><ul>
<li><a href="quickref.html">quickref</a></li>
<li><a href="sponsor.html">sponsor</a></li>
</ul></dd>
<dt>USER MANUAL</dt>
<dd><ul>
<li><a href="usr_toc.html">usr_toc</a></li>
</ul></dd>
<dt>Getting Started</dt>
<dd><ul>
<li><a href="usr_01.html">usr_01</a></li>
<li><a href="usr_02.html">usr_02</a></li>
<li><a href="usr_03.html">usr_03</a></li>
<li><a href="usr_04.html">usr_04</a></li>
<li><a href="usr_05.html">usr_05</a></li>
<li><a href="usr_06.html">usr_06</a></li>
<li><a href="usr_07.html">usr_07</a></li>
<li><a href="usr_08.html">usr_08</a></li>
<li><a href="usr_09.html">usr_09</a></li>
<li><a href="usr_10.html">usr_10</a></li>
<li><a href="usr_11.html">usr_11</a></li>
<li><a href="usr_12.html">usr_12</a></li>
</ul></dd>
<dt>Editing Effectively</dt>
<dd><ul>
<li><a href="usr_20.html">usr_20</a></li>
<li><a href="usr_21.html">usr_21</a></li>
<li><a href="usr_22.html">usr_22</a></li>
<li><a href="usr_23.html">usr_23</a></li>
<li><a href="usr_24.html">usr_24</a></li>
<li><a href="usr_25.html">usr_25</a></li>
<li><a href="usr_26.html">usr_26</a></li>
<li><a href="usr_27.html">usr_27</a></li>
<li><a href="usr_28.html">usr_28</a></li>
<li><a href="usr_29.html">usr_29</a></li>
<li><a href="usr_30.html">usr_30</a></li>
<li><a href="usr_31.html">usr_31</a></li>
<li><a href="usr_32.html">usr_32</a></li>
</ul></dd>
<dt>Tuning Vim</dt>
<dd><ul>
<li><a href="usr_40.html">usr_40</a></li>
<li><a href="usr_41.html">usr_41</a></li>
<li><a href="usr_42.html">usr_42</a></li>
<li><a href="usr_43.html">usr_43</a></li>
<li><a href="usr_44.html">usr_44</a></li>
<li><a href="usr_45.html">usr_45</a></li>
</ul></dd>
<dt>Making Vim Run</dt>
<dd><ul>
<li><a href="usr_90.html">usr_90</a></li>
</ul></dd>
<dt>General subjects</dt>
<dd><ul>
<li><a href="intro.html">intro</a></li>
<li><a href="index.html">help</a></li>
<li><a href="helphelp.html">helphelp</a></li>
<li><a href="vimindex.html">index</a></li>
<li><a href="tags.html">tags</a></li>
<li><a href="howto.html">howto</a></li>
<li><a href="tips.html">tips</a></li>
<li><a href="message.html">message</a></li>
<li><a href="quotes.html">quotes</a></li>
<li><a href="todo.html">todo</a></li>
<li><a href="debug.html">debug</a></li>
<li><a href="develop.html">develop</a></li>
<li><a href="uganda.html">uganda</a></li>
</ul></dd>
<dt>Basic editing</dt>
<dd><ul>
<li><a href="starting.html">starting</a></li>
<li><a href="editing.html">editing</a></li>
<li><a href="motion.html">motion</a></li>
<li><a href="scroll.html">scroll</a></li>
<li><a href="insert.html">insert</a></li>
<li><a href="change.html">change</a></li>
<li><a href="indent.html">indent</a></li>
<li><a href="undo.html">undo</a></li>
<li><a href="repeat.html">repeat</a></li>
<li><a href="visual.html">visual</a></li>
<li><a href="various.html">various</a></li>
<li><a href="recover.html">recover</a></li>
</ul></dd>
<dt>Advanced editing</dt>
<dd><ul>
<li><a href="cmdline.html">cmdline</a></li>
<li><a href="options.html">options</a></li>
<li><a href="pattern.html">pattern</a></li>
<li><a href="map.html">map</a></li>
<li><a href="tagsrch.html">tagsrch</a></li>
<li><a href="quickfix.html">quickfix</a></li>
<li><a href="windows.html">windows</a></li>
<li><a href="tabpage.html">tabpage</a></li>
<li><a href="syntax.html">syntax</a></li>
<li><a href="spell.html">spell</a></li>
<li><a href="diff.html">diff</a></li>
<li><a href="autocmd.html">autocmd</a></li>
<li><a href="filetype.html">filetype</a></li>
<li><a href="eval.html">eval</a></li>
<li><a href="channel.html">channel</a></li>
<li><a href="fold.html">fold</a></li>
</ul></dd>
<dt>Special issues</dt>
<dd><ul>
<li><a href="print.html">print</a></li>
<li><a href="remote.html">remote</a></li>
<li><a href="term.html">term</a></li>
<li><a href="digraph.html">digraph</a></li>
<li><a href="mbyte.html">mbyte</a></li>
<li><a href="mlang.html">mlang</a></li>
<li><a href="arabic.html">arabic</a></li>
<li><a href="farsi.html">farsi</a></li>
<li><a href="hebrew.html">hebrew</a></li>
<li><a href="russian.html">russian</a></li>
<li><a href="ft_ada.html">ft_ada</a></li>
<li><a href="ft_sql.html">ft_sql</a></li>
<li><a href="hangulin.html">hangulin</a></li>
<li><a href="rileft.html">rileft</a></li>
</ul></dd>
<dt>GUI</dt>
<dd><ul>
<li><a href="gui.html">gui</a></li>
<li><a href="gui_w32.html">gui_w32</a></li>
<li><a href="gui_x11.html">gui_x11</a></li>
</ul></dd>
<dt>Interfaces</dt>
<dd><ul>
<li><a href="if_cscop.html">if_cscop</a></li>
<li><a href="if_lua.html">if_lua</a></li>
<li><a href="if_mzsch.html">if_mzsch</a></li>
<li><a href="if_perl.html">if_perl</a></li>
<li><a href="if_pyth.html">if_pyth</a></li>
<li><a href="if_tcl.html">if_tcl</a></li>
<li><a href="if_ole.html">if_ole</a></li>
<li><a href="if_ruby.html">if_ruby</a></li>
<li><a href="debugger.html">debugger</a></li>
<li><a href="workshop.html">workshop</a></li>
<li><a href="netbeans.html">netbeans</a></li>
<li><a href="sign.html">sign</a></li>
</ul></dd>
<dt>Versions</dt>
<dd><ul>
<li><a href="vi_diff.html">vi_diff</a></li>
<li><a href="version4.html">version4</a></li>
<li><a href="version5.html">version5</a></li>
<li><a href="version6.html">version6</a></li>
<li><a href="version7.html">version7</a></li>
<li><a href="version8.html">version8</a></li>
</ul></dd>
<dt>Remarks about specific systems</dt>
<dd><ul>
<li><a href="os_390.html">os_390</a></li>
<li><a href="os_amiga.html">os_amiga</a></li>
<li><a href="os_beos.html">os_beos</a></li>
<li><a href="os_dos.html">os_dos</a></li>
<li><a href="os_mac.html">os_mac</a></li>
<li><a href="os_mint.html">os_mint</a></li>
<li><a href="os_msdos.html">os_msdos</a></li>
<li><a href="os_os2.html">os_os2</a></li>
<li><a href="os_qnx.html">os_qnx</a></li>
<li><a href="os_risc.html">os_risc</a></li>
<li><a href="os_unix.html">os_unix</a></li>
<li><a href="os_vms.html">os_vms</a></li>
<li><a href="os_win32.html">os_win32</a></li>
</ul></dd>
<dt>Standard plugins</dt>
<dd><ul>
<li><a href="pi_getscript.html">pi_getscript</a></li>
<li><a href="pi_gzip.html">pi_gzip</a></li>
<li><a href="pi_logipat.html">pi_logipat</a></li>
<li><a href="pi_netrw.html">pi_netrw</a></li>
<li><a href="pi_paren.html">pi_paren</a></li>
<li><a href="pi_tar.html">pi_tar</a></li>
<li><a href="pi_vimball.html">pi_vimball</a></li>
<li><a href="pi_zip.html">pi_zip</a></li>
</ul></dd>
<dt>Filetype plugins</dt>
<dd><ul>
<li><a href="pi_spec.html">pi_spec</a></li>
</ul></dd>
<dt>Others</dt>
<dd><ul>
<li><a href="vim_faq.html">vim_faq</a></li>
</ul></dd>
</dl>
</nav>
<article class="Vimdoc VimdocJa">
<div id='vimCodeElement'>
<a class="Constant" href="os_beos.html" name="os_beos.txt">os_beos.txt</a>&nbsp;&nbsp; For&nbsp;<span class="Identifier">Vim version 8.0.</span>&nbsp;&nbsp;Last change: 2016 Mar 28<br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Identifier">VIM REFERENCE MANUAL&nbsp;&nbsp;&nbsp;&nbsp;by Bram Moolenaar</span><br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#BeOS" name="BeOS">BeOS</a>&nbsp;<a class="Constant" href="os_beos.html#BeBox" name="BeBox">BeBox</a><br>
This is a port of Vim 5.1 to the BeOS Preview Release 2 (also known as PR2)<br>
or later.<br>
<br>
This file contains the particularities for the BeBox/BeOS version of Vim.&nbsp;&nbsp;For<br>
matters not discussed in this file, Vim behaves very much like the Unix<br>
<a class="Identifier" href="os_unix.html">os_unix.txt</a>&nbsp;version.<br>
<br>
&nbsp;1. General&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="os_beos.html#beos-general">beos-general</a><br>
&nbsp;2. Compiling Vim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="os_beos.html#beos-compiling">beos-compiling</a><br>
&nbsp;3. Timeout in the Terminal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="os_beos.html#beos-timeout">beos-timeout</a><br>
&nbsp;4. Unicode vs. Latin1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="os_beos.html#beos-unicode">beos-unicode</a><br>
&nbsp;5. The BeOS GUI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="os_beos.html#beos-gui">beos-gui</a><br>
&nbsp;6. The $VIM directory&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="os_beos.html#beos-vimdir">beos-vimdir</a><br>
&nbsp;7. Drag &amp; Drop&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="os_beos.html#beos-dragndrop">beos-dragndrop</a><br>
&nbsp;8. Single Launch vs. Multiple<br>
&nbsp;&nbsp;&nbsp;&nbsp;Launch&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="os_beos.html#beos-launch">beos-launch</a><br>
&nbsp;9. Fonts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="os_beos.html#beos-fonts">beos-fonts</a><br>
10. The meta key modifier&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="os_beos.html#beos-meta">beos-meta</a><br>
11. Mouse key mappings&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="os_beos.html#beos-mouse">beos-mouse</a><br>
12. Color names&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="os_beos.html#beos-colors">beos-colors</a><br>
13. Compiling with Perl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="os_beos.html#beos-perl">beos-perl</a><br>
<br>
<br>
1. General&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-general" name="beos-general">beos-general</a><br>
<br>
The default syntax highlighting mostly works with different foreground colors<br>
to highlight items.&nbsp;&nbsp;This works best if you set your Terminal window to a<br>
darkish background and light letters.&nbsp;&nbsp;Some middle-grey background (for<br>
instance (r,g,b)=(168,168,168)) with black letters also works nicely.&nbsp;&nbsp;If you<br>
use the default light background and dark letters, it may look better to<br>
simply reverse the notion of foreground and background color settings.&nbsp;&nbsp;To do<br>
this, add this to your .vimrc file (where&nbsp;<span class="Special">&lt;Esc&gt;</span>&nbsp;may need to be replaced with<br>
the escape character):<br>
<br>
<div class="helpExample">&nbsp;&nbsp;:if &amp;term == &quot;beos-ansi&quot;<br>
&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;&nbsp;set t_AB=&lt;Esc&gt;[3%dm<br>
&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;&nbsp;set t_AF=&lt;Esc&gt;[4%dm<br>
&nbsp;&nbsp;:endif</div>
<br>
<br>
2. Compiling Vim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-compiling" name="beos-compiling">beos-compiling</a><br>
<br>
From the Advanced Access Preview Release (AAPR) on, Vim can be configured with<br>
the standard configure script.&nbsp;&nbsp;To get the compiler and its flags right, use<br>
the following command-line in the shell (you can cut and paste it in one go):<br>
<br>
CC=$BE_C_COMPILER CFLAGS=&quot;$BE_DEFAULT_C_FLAGS -O7&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;./configure --prefix=/boot/home/config<br>
<br>
$BE_C_COMPILER is usually &quot;mwcc&quot;, $BE_DEFAULT_C_FLAGS is usually &quot;-I- -I.&quot;<br>
<br>
When configure has run, and you wish to enable GUI support, you must edit the<br>
config.mk file so that the lines with GUI_xxx refer to $(BEOSGUI_xxx) instead<br>
of $(NONE_xxx).<br>
Alternatively you can make this change in the Makefile; it will have a<br>
more permanent effect.&nbsp;&nbsp;Search for &quot;NONE_&quot;.<br>
<br>
After compilation you need to add the resources to the binary.&nbsp;&nbsp;Add the<br>
following few lines near the end (before the line with &quot;exit $exit_value&quot;) of<br>
the link.sh script to do this automatically.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;rmattr BEOS:TYPE vim<br>
&nbsp;&nbsp;&nbsp;&nbsp;copyres os_beos.rsrc vim<br>
&nbsp;&nbsp;&nbsp;&nbsp;mimeset vim<br>
<br>
Also, create a dummy file &quot;strip&quot;:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;#!/bin/sh<br>
&nbsp;&nbsp;&nbsp;&nbsp;mimeset $1<br>
&nbsp;&nbsp;&nbsp;&nbsp;exit 0<br>
<br>
You will need it when using &quot;make install&quot; to install Vim.<br>
<br>
Now type &quot;make&quot; to compile Vim, then &quot;make install&quot; to install it.<br>
<br>
If you want to install Vim by hand, you must copy Vim to $HOME/config/bin, and<br>
create a bunch of symlinks to it (<span class="Special">{g,r,rg}{vim,ex,view}</span>).&nbsp;&nbsp;Furthermore you must<br>
copy Vim's configuration files to $HOME/config/share/vim:<br>
vim-5.0s/<span class="Special">{*.vim,doc,syntax}</span>.&nbsp;&nbsp;For completeness, you should also copy the nroff<br>
manual pages to $HOME/config/man/man1.&nbsp;&nbsp;Don't forget ctags/ctags and xxd/xxd!<br>
<br>
Obviously, you need the unlimited linker to actually link Vim.&nbsp;&nbsp;See<br>
<span class="Constant"><a href="http://www.metrowerks.com">http://www.metrowerks.com</a></span>&nbsp;for purchasing the CodeWarrior compiler for BeOS.<br>
There are currently no other linkers that can do the job.<br>
<br>
This won't be able to include the Perl or Python interfaces even if<br>
you have the appropriate files installed.&nbsp;<a class="Identifier" href="os_beos.html#beos-perl">beos-perl</a><br>
<br>
<br>
3. Timeout in the Terminal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-timeout" name="beos-timeout">beos-timeout</a><br>
<br>
Because some POSIX/UNIX features are still missing[1], there is no direct OS<br>
support for read-with-timeout in the Terminal.&nbsp;&nbsp;This would mean that you cannot<br>
use :mappings of more than one character, unless you also :set notimeout.<br>
<a class="Identifier" href="options.html#'timeout'">'timeout'</a><br>
<br>
To circumvent this problem, I added a workaround to provide the necessary<br>
input with timeout by using an extra thread which reads ahead one character.<br>
As a side effect, it also makes Vim recognize when the Terminal window<br>
resizes.<br>
<br>
Function keys are not supported in the Terminal since they produce very<br>
indistinctive character sequences.<br>
<br>
These problems do not exist in the GUI.<br>
<br>
[1]: there is no select() on file descriptors; also the termios VMIN and VTIME<br>
settings do not seem to work properly.&nbsp;&nbsp;This has been the case since DR7 at<br>
least and still has not been fixed as of PR2.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-unicode" name="beos-unicode">beos-unicode</a><br>
4. Unicode vs. Latin1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-utf8" name="beos-utf8">beos-utf8</a><br>
<br>
BeOS uses Unicode and UTF-8 for text strings (16-bit characters encoded to<br>
8-bit characters).&nbsp;&nbsp;Vim assumes ISO-Latin1 or other 8-bit character codes.<br>
This does not produce the desired results for non-ASCII characters.&nbsp;&nbsp;Try the<br>
command :digraphs to see.&nbsp;&nbsp;If they look messed up, use :set isprint=@ to<br>
(slightly) improve the display of ISO-Latin1 characters 128-255.&nbsp;&nbsp;This works<br>
better in the GUI, depending on which font you use (below).<br>
<br>
You may also use the /boot/bin/xtou command to convert UTF-8 files from (xtou<br>
-f iso1 filename) or to (xtou -t iso1 filename) ISO-Latin1 characters.<br>
<br>
<br>
5. The BeOS GUI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-gui" name="beos-gui">beos-gui</a><br>
<br>
The BeOS GUI is no longer included.&nbsp;&nbsp;It was not maintained for a while and<br>
most likely didn't work.&nbsp;&nbsp;If you want to work on this: get the Vim 6.x version<br>
and merge it back in.<br>
<br>
<br>
6. The $VIM directory&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-vimdir" name="beos-vimdir">beos-vimdir</a><br>
<br>
$VIM is the symbolic name for the place where Vims support files are stored.<br>
The default value for $VIM is set at compile time and can be determined with<br>
<br>
<div class="helpExample">&nbsp;&nbsp;:version</div>
<br>
The normal value is /boot/home/config/share/vim.&nbsp;&nbsp;If you don't like it you can<br>
set the Vim environment variable to override this, or set&nbsp;<a class="Type" href="options.html#'helpfile'">'helpfile'</a>&nbsp;in your<br>
.vimrc:<br>
<br>
<div class="helpExample">&nbsp;&nbsp;:if version &gt;= 500<br>
&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;&nbsp;set helpfile=~/vim/vim54/doc/help.txt<br>
&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;&nbsp;syntax on<br>
&nbsp;&nbsp;:endif</div>
<br>
<br>
7. Drag &amp; Drop&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-dragndrop" name="beos-dragndrop">beos-dragndrop</a><br>
<br>
You can drop files and directories on either the Vim icon (starts a new Vim<br>
session, unless you use the File Types application to set Vim to be &quot;Single<br>
Launch&quot;) or on the Vim window (starts editing the files).&nbsp;&nbsp;Dropping a folder<br>
sets Vim's current working directory.&nbsp;<a class="Identifier" href="editing.html#:cd">:cd</a>&nbsp;<a class="Identifier" href="editing.html#:pwd">:pwd</a>&nbsp;If you drop files or<br>
folders with either SHIFT key pressed, Vim changes directory to the folder<br>
that contains the first item dropped.&nbsp;&nbsp;When starting Vim, there is no need to<br>
press shift: Vim behaves as if you do.<br>
<br>
Files dropped set the current argument list.&nbsp;<a class="Identifier" href="editing.html#argument-list">argument-list</a><br>
<br>
<br>
8. Single Launch vs. Multiple Launch&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-launch" name="beos-launch">beos-launch</a><br>
<br>
As distributed Vim's Application Flags (as seen in the FileTypes preference)<br>
are set to Multiple Launch.&nbsp;&nbsp;If you prefer, you can set them to Single Launch<br>
instead.&nbsp;&nbsp;Attempts to start a second copy of Vim will cause the first Vim to<br>
open the files instead.&nbsp;&nbsp;This works from the Tracker but also from the command<br>
line.&nbsp;&nbsp;In the latter case, non-file (option) arguments are not supported.<br>
<br>
NB: Only the GUI version has a BApplication (and hence Application Flags).<br>
This section does not apply to the GUI-less version, should you compile one.<br>
<br>
<br>
9. Fonts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-fonts" name="beos-fonts">beos-fonts</a><br>
<br>
Set fonts with<br>
<br>
<div class="helpExample">&nbsp;&nbsp;:set guifont=Courier10_BT/Roman/10</div>
<br>
where the first part is the font family, the second part the style, and the<br>
third part the size.&nbsp;&nbsp;You can use underscores instead of spaces in family and<br>
style.<br>
<br>
Best results are obtained with monospaced fonts (such as Courier).&nbsp;&nbsp;Vim<br>
attempts to use all fonts in B_FIXED_SPACING mode but apparently this does not<br>
work for proportional fonts (despite what the BeBook says).<br>
<br>
Vim also tries to use the B_ISO8859_1 encoding, also known as ISO Latin 1.<br>
This also does not work for all fonts.&nbsp;&nbsp;It does work for Courier, but not for<br>
ProFontISOLatin1/Regular (strangely enough).&nbsp;&nbsp;You can verify this by giving the<br>
<br>
<div class="helpExample">&nbsp;&nbsp;:digraphs</div>
<br>
command, which lists a bunch of characters with their ISO Latin 1 encoding.<br>
If, for instance, there are &quot;box&quot; characters among them, or the last character<br>
isn't a dotted-y, then for this font the encoding does not work.<br>
<br>
If the font you specify is unavailable, you get the system fixed font.<br>
<br>
Standard fixed-width system fonts are:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ProFontISOLatin1/Regular<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Courier10_BT/Roman<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Courier10_BT/Italic<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Courier10_BT/Bold<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Courier10_BT/Bold_Italic<br>
<br>
Standard proportional system fonts are:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Swis721_BT/Roman<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Swis721_BT/Italic<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Swis721_BT/Bold<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Swis721_BT/Bold_Italic<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dutch801_Rm_BT/Roman<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dutch801_Rm_BT/Italic<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dutch801_Rm_BT/Bold<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dutch801_Rm_BT/Bold_Italic<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Baskerville/Roman<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Baskerville/Italic<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Baskerville/Bold<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Baskerville/Bold_Italic<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SymbolProp_BT/Regular<br>
<br>
Try some of them, just for fun.<br>
<br>
<br>
10. The meta key modifier&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-meta" name="beos-meta">beos-meta</a><br>
<br>
The META key modifier is obtained by the left or right OPTION keys.&nbsp;&nbsp;This is<br>
because the ALT (aka COMMAND) keys are not passed to applications.<br>
<br>
<br>
11. Mouse key mappings&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-mouse" name="beos-mouse">beos-mouse</a><br>
<br>
Vim calls the various mouse buttons LeftMouse, MiddleMouse and RightMouse.&nbsp;&nbsp;If<br>
you use the default Mouse preference settings these names indeed correspond to<br>
reality.&nbsp;&nbsp;Vim uses this mapping:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;Button 1 -&gt; LeftMouse,<br>
&nbsp;&nbsp;&nbsp;&nbsp;Button 2 -&gt; RightMouse,<br>
&nbsp;&nbsp;&nbsp;&nbsp;Button 3 -&gt; MiddleMouse.<br>
<br>
If your mouse has fewer than 3 buttons you can provide your own mapping from<br>
mouse clicks with modifier(s) to other mouse buttons.&nbsp;&nbsp;See the swapmouse<br>
package for an example:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="gui.html#gui-mouse-mapping">gui-mouse-mapping</a><br>
$VIMRUNTIME/pack/dist/opt/swapmouse/plugin/swapmouse.vim<br>
<br>
<br>
12. Color names&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-colors" name="beos-colors">beos-colors</a><br>
<br>
Vim has a number of color names built-in.&nbsp;&nbsp;Additional names are read from the<br>
file $VIMRUNTIME/rgb.txt, if present.&nbsp;&nbsp;This file is basically the color<br>
database from X.&nbsp;&nbsp;Names used from this file are cached for efficiency.<br>
<br>
<br>
13. Compiling with Perl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_beos.html#beos-perl" name="beos-perl">beos-perl</a><br>
<br>
Compiling with Perl support enabled is slightly tricky.&nbsp;&nbsp;The Metrowerks<br>
compiler has some strange ideas where to search for include files.&nbsp;&nbsp;Since<br>
several include files with Perl have the same names as some Vim header<br>
files, the wrong ones get included.&nbsp;&nbsp;To fix this, run the following Perl<br>
script while in the vim-5.0/src directory:<br>
<br>
<div class="helpExample">&nbsp;&nbsp; preproc.pl &gt; perl.h</div>
<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;#!/bin/env perl<br>
&nbsp;&nbsp;&nbsp;&nbsp;# Simple #include expander, just good enough for the Perl header files.</div>
<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;use strict;<br>
&nbsp;&nbsp;&nbsp;&nbsp;use IO::File;<br>
&nbsp;&nbsp;&nbsp;&nbsp;use Config;</div>
<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;sub doinclude<br>
&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;my $filename = $_[0];<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;my $fh = new IO::File($filename, &quot;r&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (defined $fh) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print &quot;/* Start of $filename */\n&quot;;</div>
<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;while (&lt;$fh&gt;) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (/^#include &quot;(.*)&quot;/) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;doinclude($1);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print &quot;/* Back in $filename */\n&quot;;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} else {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print $_;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print &quot;/* End of $filename */\n&quot;;</div>
<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;undef $fh;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} else {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print &quot;/* Cannot open $filename */\n&quot;;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print &quot;#include \&quot;$filename\&quot;\n&quot;;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
&nbsp;&nbsp;&nbsp;&nbsp;}</div>
<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;chdir&nbsp;&nbsp;&nbsp;&nbsp; $Config{installarchlib}.&quot;/CORE&quot;;<br>
&nbsp;&nbsp;&nbsp;&nbsp;doinclude &quot;perl.h&quot;;</div>
<br>
It expands the &quot;perl.h&quot; header file, using only other Perl header files.<br>
<br>
Now you can configure &amp; make Vim with the --enable-perlinterp option.<br>
Be warned though that this adds about 616 kilobytes to the size of Vim!<br>
Without Perl, Vim with default features and GUI is about 575K, with Perl<br>
it is about 1191K.<br>
<br>
-Olaf Seibert<br>
<br>
[<span class="Todo">Note</span>: these addresses no longer work:]<br>
&lt;rhialto@polder.ubc.kun.nl&gt;<br>
<span class="Constant"><a href="http://polder.ubc.kun.nl/~rhialto/be">http://polder.ubc.kun.nl/~rhialto/be</a></span><br>
<br>
&nbsp;vim:tw=78:ts=8:ft=help:norl:<br>
</div>
</article>
<footer>
<a href="#top">Return to the top</a> - <a href="index.html">Return to main</a>
<span class="EnglishJapaneseLink">
<span class="CurrentLanguage">English</span>
</span>
<br />
<div style="text-align:right;">
Hosted by <a href="https://github.com/vim-jp/vimdoc-en">vimdoc-en project</a><br />
If you met any problem, please report it to <a href="https://github.com/vim-jp/vimdoc-en/issues">issue</a>.<br />
</div>
</footer>
<!--<script src="js/check-referrer.js" type="text/javascript"></script>-->
</body>
</html>
<!-- vim:set ts=8 sts=2 sw=2 tw=0 et: -->
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hilarryxu/vimdoc.git
git@gitee.com:hilarryxu/vimdoc.git
hilarryxu
vimdoc
vimdoc
master

搜索帮助