comparison runtime/doc/os_haiku.txt @ 20223:57a69af99e48 v8.2.0667

patch 8.2.0667: cannot install Haiku version from source Commit: https://github.com/vim/vim/commit/2c5c1638a9fe2ef34f2fd09ed69e10ef2e821f0a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 30 19:54:38 2020 +0200 patch 8.2.0667: cannot install Haiku version from source Problem: Cannot install Haiku version from source. Solution: Update Makefile and rdef file. (Emir Sari, closes https://github.com/vim/vim/issues/6013)
author Bram Moolenaar <Bram@vim.org>
date Thu, 30 Apr 2020 20:00:04 +0200
parents 1908e92b02fd
children 56265f711890
comparison
equal deleted inserted replaced
20222:fece96aeff70 20223:57a69af99e48
1 *os_haiku.txt* For Vim version 8.2. Last change: 2020 Mar 19 1 *os_haiku.txt* For Vim version 8.2. Last change: 2020 Apr 30
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
44 vim with the Haiku GUI support. Run ./configure --help , to find out other 44 vim with the Haiku GUI support. Run ./configure --help , to find out other
45 features you can enable/disable. 45 features you can enable/disable.
46 46
47 Haiku uses "ncurses6" as its terminal library, therefore you need to have 47 Haiku uses "ncurses6" as its terminal library, therefore you need to have
48 "ncurses6_devel" package installed from HaikuDepot in order to configure 48 "ncurses6_devel" package installed from HaikuDepot in order to configure
49 the Haiku build. Just append "--with-tlib=ncurses6" to ./configure command 49 the Haiku build. Just append "--with-tlib=ncurses6" to ./configure command
50 below for the initial build.
51 50
52 Now you should use "make" to compile Vim, then "make install" to install it. 51 Now you should use "make" to compile Vim, then "make install" to install it.
53 For seamless integration into Haiku, the GUI-less vim binary should be 52 For seamless integration into Haiku, the GUI-less vim binary should be
54 additionally installed over the GUI version. Typical build commands are: > 53 additionally installed over the GUI version. Typical build commands are:
55 54
56 ./configure --prefix=`finddir B_SYSTEM_NONPACKAGED_DIRECTORY` \ 55 ./configure --prefix=`finddir B_SYSTEM_NONPACKAGED_DIRECTORY` \
57 --datarootdir=`finddir B_SYSTEM_NONPACKAGED_DATA_DIRECTORY` \ 56 --datarootdir=`finddir B_SYSTEM_NONPACKAGED_DATA_DIRECTORY` \
58 --mandir=`finddir B_SYSTEM_NONPACKAGED_DIRECTORY`/documentation/man \ 57 --mandir=`finddir B_SYSTEM_NONPACKAGED_DIRECTORY`/documentation/man \
59 make clean 58 make clean
69 68
70 3. The Haiku GUI *haiku-gui* 69 3. The Haiku GUI *haiku-gui*
71 70
72 Normally Vim starts with the GUI if you start it as gvim or vim -g. The vim 71 Normally Vim starts with the GUI if you start it as gvim or vim -g. The vim
73 version with GUI tries to determine if it was started from the Tracker instead 72 version with GUI tries to determine if it was started from the Tracker instead
74 of the Terminal, and if so, uses the GUI anyway. However, the current detection 73 of the Terminal, and if so, uses the GUI anyway. However, the current detection
75 scheme is fooled if you use the command "vim - </dev/null". 74 scheme is fooled if you use the command "vim - </dev/null".
76 75
77 Stuff that does not work yet: 76 Stuff that does not work yet:
78 77
79 - Mouse up events are not generated when outside the window. This may be a bug in 78 - Mouse up events are not generated when outside the window. You can notice
80 Haiku. You can notice this when selecting text and moving the cursor outside 79 this when selecting text and moving the cursor outside the window, then
81 the window, then letting go of the mouse button. Another way is when you 80 letting go of the mouse button. Another way is when you drag the scrollbar
82 drag the scrollbar and do the same thing. Because Vim still thinks you are 81 and do the same thing. Because Vim still thinks you are still playing with
83 still playing with the scrollbar it won't change it itself. I provided a 82 the scrollbar it won't change it itself. There is a workaround which kicks
84 workaround which kicks in when the window is activated or deactivated (so it 83 in when the window is activated or deactivated (so it works best with focus-
85 works best with focus- follows-mouse turned on). 84 follows-mouse turned on).
86 - The cursor does not flash. 85 - The cursor does not flash.
86 - Built-in terminal is not available in GUI, and does not work reliably on
87 console version as well; e.g. it is not possible to exit using the 'exit'
88 command. If you need to use it, enable at your own risk.
87 89
88 90
89 4. The $VIM directory *haiku-vimdir* 91 4. The $VIM directory *haiku-vimdir*
90 92
91 $VIM is the symbolic name for the place where Vim's support files are stored. 93 $VIM is the symbolic name for the place where Vim's support files are stored.
92 The default value for $VIM is set at compile time and can be determined with > 94 The default value for $VIM is set at compile time and can be determined with:
93 95
94 :version 96 :version
95 97
96 The normal value is /boot/system/data/vim for Haikuports version, 98 The normal value is /boot/system/data/vim for Haikuports version,
97 /boot/system/non-packaged/data/vim for manual builds. If you don't like it 99 /boot/system/non-packaged/data/vim for manual builds. If you don't like it
115 6. Drag & Drop *haiku-dragndrop* 117 6. Drag & Drop *haiku-dragndrop*
116 118
117 You can drop files and directories on either the Vim icon (starts a new Vim 119 You can drop files and directories on either the Vim icon (starts a new Vim
118 session, unless you use the File Types application to set Vim to be "Single 120 session, unless you use the File Types application to set Vim to be "Single
119 Launch") or on the Vim window (starts editing the files). Dropping a folder 121 Launch") or on the Vim window (starts editing the files). Dropping a folder
120 sets Vim's current working directory. |:cd| |:pwd| If you drop files or 122 sets Vim's current working directory |:cd| |:pwd|. If you drop files or
121 folders with either SHIFT key pressed, Vim changes directory to the folder 123 folders with either SHIFT key pressed, Vim changes directory to the folder
122 that contains the first item dropped. When starting Vim, there is no need to 124 that contains the first item dropped. When starting Vim, there is no need to
123 press shift: Vim behaves as if you do. 125 press shift: Vim behaves as if you do.
124 126
125 Files dropped set the current argument list. |argument-list| 127 Files dropped set the current argument list. |argument-list|
162 If, for instance, there are "box" characters among them, or the last character 164 If, for instance, there are "box" characters among them, or the last character
163 isn't a dotted-y, then for this font the encoding does not work. 165 isn't a dotted-y, then for this font the encoding does not work.
164 166
165 If the font you specify is unavailable, you get the system fixed font. 167 If the font you specify is unavailable, you get the system fixed font.
166 168
167 GUI Font Selection Dialog is available at giving the > 169 GUI Font Selection Dialog is available at giving the:
168 170
169 :set guifont=* 171 :set guifont=*
170 172
171 command. 173 command.
172 174