vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

os_qnx.txt (4052B)


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