Summary: | different cursor shapes - block,underline,bar | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Joseph Roback <joe.roback> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | jckeerthan, shtetldik |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Joseph Roback
2005-04-07 04:07:02 UTC
*** This bug has been confirmed by popular vote. *** I bar-like cursor shape i gonna be great. To all people using a text-editor like vim or emacs this is big feature. If this can be done please make possible to change the shape using escape seqs (with it i can use a block shape in normal mode and a bar shape in insert mode, in vim) Reference note: The VT510 spec defines a DECSCUSR escape sequence to do this: http://vt100.net/docs/vt510-rm/DECSCUSR . It would need to be extended to allow for a bar-style cursor > To all people using a text-editor like vim or emacs this is big feature. I use Vim quite a bit myself and regard this as a nice little touch rather than a big feature. Be careful when making generalisations about large groups of users. The ability to change the Pointer's shape to something other than the i-beam shape would be a very welcome addition. It can be quite difficult to find where the mouse "is" in a session. So many times we hear "where's the mouse, I can't see it" when introducing people to the superior Cut-and-paste's we can do in our environment. I apologize that I am now going to invoke some words about xterm here, but with "Xterm*pointerShape:right_ptr" it is quite evident where the mouse is in a corresponding xterm, vim "session", etc. Changing the "color" will be of some help, and I can see where that can be of use, but changing the pointer's shape will help me immensely as I change over individuals and companies while employing konsole and KDE. (thanks, sorry if I'm too windy here). Implemented in KDE 4. Also, you can change the shape of the cursor when it is hovering OVER the konsole window fairly easily. Check out KDE-look.org for mouse cursor themes. (Change and install new ones by KDE Control Panel, Peripherals, Cursor Theme.) I'm using Grounation (highly recommended!) which changes the I-beam text cursor to a 3D vertical line with a shadow. If you prefer colors, Komix cursors are also brightly colored and highly visible. (If you are using the closed-source NVIDIA video drivers, the NVIDIA control panel and xorg.conf settings can turn on cursor shadows.) These changes help make your cursor much more visible. Cursor themes are a feature of the underlying X architecture and you can use them in other WM's (with or without konsole). So this suggestion doesn't solve the question of what shape the cursor should be when konsole has focus (personally, I prefer the box but I'd love to be able to make it bright red or something) but it does help when you've got a lot of windows on the screen. But thanks to Robert Knight and the KDE team, that wish has been granted in KDE 4. Hurray! > (personally, I prefer the box but I'd love to be able to
> make it bright red or something)
You can do that. By default the cursor colour is set to match the character underneath it ( with the character underneath drawn in an inverted colour ), but you can also specify a custom cursor colour to use.
Hi, I'm looking at the code of kde4 konsole (trying to "port" it to my konsole 3.5). One thing, in kde4 konsole don't look possible to change the shape inside a session (using a escape sequence) is this not possible, can this be implemented? Because for me, I like to vim to change the cursor shape to IBeam in Insert mode and back to block in normal mode, to do this vim send a escape sequence (defined in t_SI, t_EI) to term. Can konsole implement some escape sequence to change the cursor shape? Sorry to ask for a change in something that is not yet released... :( Thanks! ^_^ > kde4 konsole don't look possible to change the shape inside a session
You certainly can. Start a new Konsole session and run:
konsoleprofile CursorShape=<Number>
Where <Number> is 0 (Block), 1 (IBeam) or 2 (Underline)
konsoleprofile is a simple shell script which just does this:
/bin/echo -e "\033]50;$1\a"
Where $1 is replaced with its argument.
Can Konsole support DECSCUSR sequences? It doesn't at present. For example this works in xterm: printf '\e[5q' But in Konsole it has no effect. Should I open a separate bug for this? Sorry, I missed the space. Example for xterm: printf '\e[5 q' |