Patch for the video unit for using the hardware cursor in block mode on the linux console
Original Reporter info from Mantis: nickysn @nickysn
-
Reporter name: Nikolay Nikolov
Original Reporter info from Mantis: nickysn @nickysn
- Reporter name: Nikolay Nikolov
Description:
When switching the cursor to block mode (e.g. by pressing Insert in the FP IDE), the video unit switches to a software cursor mode, instead of changing the hardware cursor shape. The software cursor does not blink and is of a different colour. Also, the software cursor is buggy on Fedora (because by default it uses a 512-character font for the console, instead of 256) It's probably a linux bug (it's actually a limitation of the VGA hardware), but the linux console supports changing the hardware cursor shape to a block anyway, and this seems to work great and looks exactly the same as how the cursor looks in DOS and Windows, so I think it's a better solution. That's why I made this tiny patch :)
Note that this only affects the linux console (ctrl-alt-f1..f6) and not xterm.
I found out that the real xterm also supports changing the cursor shape, but the commands are not supported by other very popular terminals that identify themselves as 'xterm' (namely gnome-terminal and konsole) and they spew out the escape sequences (which they don't recognize) on the screen, so we can't add support for xterm without breaking them, unfortunately.
Mantis conversion info:
- Mantis ID: 19259
- OS: linux
- Version: 2.6.0
- Fixed in version: 2.6.0
- Fixed in revision: 17516 (#16b47d4e)