annotate runtime/doc/os_haiku.txt @ 32782:abf161ce0c77 v9.0.1707

patch 9.0.1707: Cannot wrap around in popup_filter_menu() Commit: https://github.com/vim/vim/commit/badeedd913d9d6456ad8087911d024fd36800743 Author: Christian Brabandt <cb@256bit.org> Date: Sun Aug 13 19:25:28 2023 +0200 patch 9.0.1707: Cannot wrap around in popup_filter_menu() Problem: Cannot wrap around in popup_filter_menu() Solution: Allow to wrap around by default Currently, it is not possible, to wrap around at the end of the list using e.g. down (and go back to the top) or up at the beginning of the list and go directly to the last item. This is not consistent behaviour with e.g. how the pum-menu currently works, so let's just allow this. Also adjust tests about it. closes: #12689 closes: #12693 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 13 Aug 2023 19:30:04 +0200
parents a7801222c9c5
children 4635e43f2c6f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29314
f8116058ca76 release version 9.0
Bram Moolenaar <Bram@vim.org>
parents: 26057
diff changeset
1 *os_haiku.txt* For Vim version 9.0. Last change: 2020 May 13
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 VIM REFERENCE MANUAL by Bram Moolenaar
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 *Haiku*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 This file contains the particularities for the Haiku version of Vim. For
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 matters not discussed in this file, Vim behaves very much like the Unix
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 |os_unix.txt| version.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 Haiku is an open-source operating system inspired by BeOS, that specifically
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 targets personal computing.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 1. General |haiku-general|
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 2. Compiling Vim |haiku-compiling|
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 3. The Haiku GUI |haiku-gui|
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 4. The $VIM directory |haiku-vimdir|
19721
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19526
diff changeset
19 5. The $USER_SETTINGS_DIR
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 directory |haiku-user-settings-dir|
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 6. Drag & Drop |haiku-dragndrop|
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 7. Single Launch vs. Multiple
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 Launch |haiku-launch|
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 8. Fonts |haiku-fonts|
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 9. The meta key modifier |haiku-meta|
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 10. Mouse key mappings |haiku-mouse|
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 11. Color names |haiku-colors|
20241
56265f711890 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20223
diff changeset
28 12. GUI Toolbar Images |haiku-toolbar-images|
56265f711890 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20223
diff changeset
29 13. Credits |haiku-support-credits|
56265f711890 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20223
diff changeset
30 14. Bugs & to-do |haiku-bugs|
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
31
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
32
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
33 1. General *haiku-general*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
34
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
35 The default syntax highlighting mostly works with different foreground colors
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
36 to highlight items. This works best if you set your Terminal window to a
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
37 darkish background and light letters. Some middle-grey background (for
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
38 instance (r,g,b)=(168,168,168)) with black letters also works nicely.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
39
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
40
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
41 2. Compiling Vim *haiku-compiling*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
42
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
43 Vim can be compiled using the standard configure/make approach. Running
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
44 ./configure without any arguments or passing --enable-gui=haiku, will compile
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
45 vim with the Haiku GUI support. Run ./configure --help , to find out other
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
46 features you can enable/disable.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
47
19721
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19526
diff changeset
48 Haiku uses "ncurses6" as its terminal library, therefore you need to have
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19526
diff changeset
49 "ncurses6_devel" package installed from HaikuDepot in order to configure
30875
3295247d97a5 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29314
diff changeset
50 the Haiku build. Just append "--with-tlib=ncurses" to ./configure command.
19721
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19526
diff changeset
51
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
52 Now you should use "make" to compile Vim, then "make install" to install it.
19721
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19526
diff changeset
53 For seamless integration into Haiku, the GUI-less vim binary should be
20223
57a69af99e48 patch 8.2.0667: cannot install Haiku version from source
Bram Moolenaar <Bram@vim.org>
parents: 19968
diff changeset
54 additionally installed over the GUI version. Typical build commands are:
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
55
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
56 ./configure --prefix=`finddir B_SYSTEM_NONPACKAGED_DIRECTORY` \
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
57 --datarootdir=`finddir B_SYSTEM_NONPACKAGED_DATA_DIRECTORY` \
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
58 --mandir=`finddir B_SYSTEM_NONPACKAGED_DIRECTORY`/documentation/man \
31028
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30875
diff changeset
59 --with-tlib=ncurses
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
60 make clean
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
61 make install
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
62
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
63 ./configure --prefix=`finddir B_SYSTEM_NONPACKAGED_DIRECTORY` \
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
64 --datarootdir=`finddir B_SYSTEM_NONPACKAGED_DATA_DIRECTORY` \
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
65 --mandir=`finddir B_SYSTEM_NONPACKAGED_DIRECTORY`/documentation/man \
30875
3295247d97a5 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29314
diff changeset
66 --with-tlib=ncurses \
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
67 --disable-gui
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
68 make clean
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
69 make install
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
70
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
71
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
72 3. The Haiku GUI *haiku-gui*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
73
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
74 Normally Vim starts with the GUI if you start it as gvim or vim -g. The vim
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
75 version with GUI tries to determine if it was started from the Tracker instead
20223
57a69af99e48 patch 8.2.0667: cannot install Haiku version from source
Bram Moolenaar <Bram@vim.org>
parents: 19968
diff changeset
76 of the Terminal, and if so, uses the GUI anyway. However, the current detection
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
77 scheme is fooled if you use the command "vim - </dev/null".
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
78
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
79 Stuff that does not work yet:
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
80
20223
57a69af99e48 patch 8.2.0667: cannot install Haiku version from source
Bram Moolenaar <Bram@vim.org>
parents: 19968
diff changeset
81 - Mouse up events are not generated when outside the window. You can notice
57a69af99e48 patch 8.2.0667: cannot install Haiku version from source
Bram Moolenaar <Bram@vim.org>
parents: 19968
diff changeset
82 this when selecting text and moving the cursor outside the window, then
57a69af99e48 patch 8.2.0667: cannot install Haiku version from source
Bram Moolenaar <Bram@vim.org>
parents: 19968
diff changeset
83 letting go of the mouse button. Another way is when you drag the scrollbar
57a69af99e48 patch 8.2.0667: cannot install Haiku version from source
Bram Moolenaar <Bram@vim.org>
parents: 19968
diff changeset
84 and do the same thing. Because Vim still thinks you are still playing with
57a69af99e48 patch 8.2.0667: cannot install Haiku version from source
Bram Moolenaar <Bram@vim.org>
parents: 19968
diff changeset
85 the scrollbar it won't change it itself. There is a workaround which kicks
57a69af99e48 patch 8.2.0667: cannot install Haiku version from source
Bram Moolenaar <Bram@vim.org>
parents: 19968
diff changeset
86 in when the window is activated or deactivated (so it works best with focus-
57a69af99e48 patch 8.2.0667: cannot install Haiku version from source
Bram Moolenaar <Bram@vim.org>
parents: 19968
diff changeset
87 follows-mouse turned on).
19813
350e1d3131d8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
88 - The cursor does not flash.
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
89
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
90
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
91 4. The $VIM directory *haiku-vimdir*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
92
19968
1908e92b02fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19813
diff changeset
93 $VIM is the symbolic name for the place where Vim's support files are stored.
20223
57a69af99e48 patch 8.2.0667: cannot install Haiku version from source
Bram Moolenaar <Bram@vim.org>
parents: 19968
diff changeset
94 The default value for $VIM is set at compile time and can be determined with:
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
95
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
96 :version
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
97
31200
a7801222c9c5 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 31028
diff changeset
98 The normal value is /boot/system/data/vim for Haikuports version,
19721
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19526
diff changeset
99 /boot/system/non-packaged/data/vim for manual builds. If you don't like it
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19526
diff changeset
100 you can set the VIM environment variable to override this, or set 'helpfile'
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19526
diff changeset
101 in your .vimrc: >
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
102
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
103 :if version >= 500
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
104 : set helpfile=~/vim/runtime/doc/help.txt
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
105 : syntax on
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
106 :endif
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
107
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
108
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
109 5. The $USER_SETTINGS_DIR directory *haiku-user-settings-dir*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
110
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
111 $USER_SETTINGS_DIR is the symbolic name for the place where Haiku
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
112 configuration and settings files are stored.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
113
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
114 The normal value is /boot/home/config/settings.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
115
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
116
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
117 6. Drag & Drop *haiku-dragndrop*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
118
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
119 You can drop files and directories on either the Vim icon (starts a new Vim
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
120 session, unless you use the File Types application to set Vim to be "Single
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
121 Launch") or on the Vim window (starts editing the files). Dropping a folder
20223
57a69af99e48 patch 8.2.0667: cannot install Haiku version from source
Bram Moolenaar <Bram@vim.org>
parents: 19968
diff changeset
122 sets Vim's current working directory |:cd| |:pwd|. If you drop files or
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
123 folders with either SHIFT key pressed, Vim changes directory to the folder
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
124 that contains the first item dropped. When starting Vim, there is no need to
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
125 press shift: Vim behaves as if you do.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
126
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
127 Files dropped set the current argument list. |argument-list|
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
128
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
129
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
130 7. Single Launch vs. Multiple Launch *haiku-launch*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
131
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
132 As distributed Vim's Application Flags (as seen in the FileTypes preference)
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
133 are set to Multiple Launch. If you prefer, you can set them to Single Launch
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
134 instead. Attempts to start a second copy of Vim will cause the first Vim to
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
135 open the files instead. This works from the Tracker but also from the command
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
136 line. In the latter case, non-file (option) arguments are not supported.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
137 Another drawback of the Single Launch is silent ignore of "Open With ..."
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
138 requests by vim instance that running as non-GUI application even GUI support
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
139 was compiled in. Vim instance running with GUI has no such problems.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
140
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
141 NB: Only the GUI version has a BApplication (and hence Application Flags).
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
142 This section does not apply to the GUI-less version, should you compile one.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
143
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
144
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
145 8. Fonts *haiku-fonts*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
146
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
147 Set fonts with >
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
148
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
149 :set guifont=DejaVu_Sans_Mono/Book/12
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
150
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
151 where the first part is the font family, the second part the style, and the
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
152 third part the size. You can use underscores instead of spaces in family and
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
153 style.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
154
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
155 Best results are obtained with monospaced fonts. Vim attempts to use all
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
156 fonts in B_FIXED_SPACING mode but apparently this does not work for
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
157 proportional fonts (despite what the BeBook says).
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
158
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
159 To verify which encodings are supported by the current font give the >
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
160
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
161 :digraphs
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
162
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
163 command, which lists a bunch of characters with their ISO Latin 1 encoding.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
164 If, for instance, there are "box" characters among them, or the last character
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
165 isn't a dotted-y, then for this font the encoding does not work.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
166
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
167 If the font you specify is unavailable, you get the system fixed font.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
168
20223
57a69af99e48 patch 8.2.0667: cannot install Haiku version from source
Bram Moolenaar <Bram@vim.org>
parents: 19968
diff changeset
169 GUI Font Selection Dialog is available at giving the:
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
170
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
171 :set guifont=*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
172
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
173 command.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
174
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
175
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
176 9. The meta key modifier *haiku-meta*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
177
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
178 The META key modifier is obtained by the left or right OPTION keys. This is
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
179 because the ALT (aka COMMAND) keys are not passed to applications.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
180
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
181
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
182 10. Mouse key mappings *haiku-mouse*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
183
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
184 Vim calls the various mouse buttons LeftMouse, MiddleMouse and RightMouse. If
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
185 you use the default Mouse preference settings these names indeed correspond to
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
186 reality. Vim uses this mapping:
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
187
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
188 Button 1 -> LeftMouse,
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
189 Button 2 -> RightMouse,
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
190 Button 3 -> MiddleMouse.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
191
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
192 If your mouse has fewer than 3 buttons you can provide your own mapping from
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
193 mouse clicks with modifier(s) to other mouse buttons. See the file
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
194 $VIM/macros/swapmous.vim for an example. |gui-mouse-mapping|
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
195
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
196
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
197 11. Color names *haiku-colors*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
198
26057
92c424550367 patch 8.2.3562: cannot add color names
Bram Moolenaar <Bram@vim.org>
parents: 20552
diff changeset
199 Vim has a number of color names built-in. Additional names can be defined in
92c424550367 patch 8.2.3562: cannot add color names
Bram Moolenaar <Bram@vim.org>
parents: 20552
diff changeset
200 |v:colornames|. See |:colorscheme| for details.
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
201
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
202
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
203 12. GUI Toolbar Images *haiku-toolbar-images*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
204
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
205 Alternative set of toolbar images should be the PNG image of any height you
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
206 like. Image width is calculated to contain at least 32 buttons in one-row
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
207 cells.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
208 The image should be stored under the name $VIRUNTIME/bitmaps/builtin-tools.png
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
209 More info about the buttons assignment are at |builtin-tools|.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
210
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
211
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
212 13. Credits *haiku-support-credits*
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
213
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
214 Haiku port is based on work done for BeOS version by many people
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
215 - BeBox GUI support Copyright 1998 by Olaf Seibert;
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
216 - Ported to R4 by Richard Offer <richard@whitequeen.com> Jul 99;
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
217 - Those who contributed, not listed above but not forgotten;
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
218 - Haiku support by Siarzhuk Zharski <imker@gmx.li> Apr-Mai 2009.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
219
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
220 All the changes and patches released under vim-license.
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
221
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
222 Thank you, all!
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
223
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
224
20241
56265f711890 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20223
diff changeset
225 14. Bugs & to-do *haiku-bugs*
31200
a7801222c9c5 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 31028
diff changeset
226
19813
350e1d3131d8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
227 The port is under development now and far away from the perfect state. For bug
350e1d3131d8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
228 reports, patches and wishes, please use the Vim mailing list or Vim Github
350e1d3131d8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
229 repository.
31200
a7801222c9c5 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 31028
diff changeset
230
19813
350e1d3131d8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
231 Mailing list: https://www.vim.org/maillist.php
350e1d3131d8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19721
diff changeset
232 Vim Github repository: https://github.com/vim/vim
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
233
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
234
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
235 vim:tw=78:ts=8:ft=help:norl: