os_qnx.txt 4.0 KB

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