annotate runtime/doc/os_qnx.txt @ 315:a0451524244d v7.0082

updated for version 7.0082
author vimboss
date Tue, 07 Jun 2005 21:12:49 +0000
parents 4707450c2b33
children 6beb2c667935
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
1 *os_qnx.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 VIM REFERENCE MANUAL by Julian Kinraid
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 *QNX* *qnx*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 1. General |qnx-general|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 2. Compiling Vim |qnx-compiling|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 3. Terminal support |qnx-terminal|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 4. Photon GUI |photon-gui|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 5. Photon fonts |photon-fonts|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 6. Bugs & things To Do
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 1. General *qnx-general*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 Vim on QNX behaves much like other unix versions. |os_unix.txt|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 2. Compiling Vim *qnx-compiling*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
25 Vim can be compiled using the standard configure/make approach. If you want to
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 compile for X11, pass the --with-x option to configure. Otherwise, running
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 ./configure without any arguments or passing --enable-gui=photon, will compile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 vim with the Photon gui support. Run ./configure --help , to find out other
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 features you can enable/disable.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 3. Terminal support *qnx-terminal*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 Vim has support for the mouse and clipboard in a pterm, if those options
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 are compiled in, which they are normally.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 The options that affect mouse support are |'mouse'| and |'ttymouse'|. When
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 using the mouse, only simple left and right mouse clicking/dragging is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 supported. If you hold down shift, ctrl, or alt while using the mouse, pterm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 will handle the mouse itself. It will make a selection, separate from what
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 vim's doing.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 When the mouse is in use, you can press Alt-RightMouse to open the pterm menu.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 To turn the mouse off in vim, set the mouse option to nothing, set mouse=
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 4. Photon GUI *photon-gui*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 To start the gui for vim, you need to run either gvim or vim -g, otherwise
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 the terminal version will run. For more info - |gui-x11-start|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 Supported features:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 :browse command |:browse|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 :confirm command |:confirm|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 Cursor blinking |'guicursor'|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 Menus, popup menus and menu priorities |:menu|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 |popup-menu|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 |menu-priority|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 Toolbar |gui-toolbar|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 |'toolbar'|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 Font selector (:set guifont=*) |photon-fonts|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 Mouse focus |'mousefocus'|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 Mouse hide |'mousehide'|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 Mouse cursor shapes |'mouseshape'|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 Clipboard |gui-clipboard|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 Unfinished features:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 Various international support, such as Farsi & Hebrew support,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 different encodings, etc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 This help file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 Unsupported features:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 Find & Replace window |:promptfind|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 Tearoff menus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 Other things which I can't think of so I can't list them
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 5. Fonts *photon-fonts*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 You set fonts in the gui with the guifont option >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 :set guifont=Lucida\ Terminal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 <
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 The font must be a monospace font, and any spaces in the font name must be
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 escaped with a '\'. The default font used is PC Terminal, size 8. Using
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 '*' as the font name will open a standard Photon font selector where you can
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 select a font.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 Following the name, you can include optional settings to control the size and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 style of the font, each setting separated by a ':'. Not all fonts support the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 various styles.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 The options are,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 s{size} Set the size of the font to {size}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 b Bold style
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 a Use antialiasing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 i Italic style
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 Examples:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 Set the font to monospace size 10 with antialiasing >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 :set guifont=monospace:s10:a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 <
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 Set the font to Courier size 12, with bold and italics >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 :set guifont=Courier:s12:b:i
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 <
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 Select a font with the requester >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 :set guifont=*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 <
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 6. Bugs & things To Do
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 Known problems:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 - Vim hangs sometimes when running an external program. Workaround:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 put this line in your |vimrc| file: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 set noguipty
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 Bugs:
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
121 - Still a slight problem with menu highlighting.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 - When using phditto/phinows/etc., if you are using a font that
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 doesn't support the bold attribute, when vim attempts to draw
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 bold text it will be all messed up.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 - The cursor can sometimes be hard to see.
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
126 - A number of minor problems that can fixed. :)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 Todo:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 - Improve multi-language support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 - Options for setting the fonts used in the menu and toolbar.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 - Find & Replace dialog.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 - The clientserver features.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 - Maybe tearoff menus.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 - Replace usage of fork() with spawn() when launching external
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 programs.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 vim:tw=78:sw=4:ts=8:ts=8:ft=help:norl: