Sunday, October 14, 2018

Re: Cursor setup in plain linux console

On Friday 12 October 2018 06:44,
Dave Woodfall <dave@dawoodfall.net> put forth the proposition:
> Does anyone have any settings for the cursor in the plain linux
> console (with/without screen)?
>
> I ask because I've set a custom cursor in the console using a control
> code: printf '\e[?3c', but vim always resets it back to the standard
> thin underscore, which is very difficult to see.
>
> I can set the cursor by setting term to 'ansi' and issuing a similar
> code to change the cursor to a block when vim starts, but I've not
> managed yet to set any cursors for the following editing modes:
>
> &t_ti
> &t_te
> &t_SI
> &t_SR
> &t_EI

I've been testing a lot more with various term settings and ansi
works fine except that the console isn't restored after :quitting.

It looks like my vim isn't using the altscreen with ansi. Is there a
way of getting both to work together?

I've tried setting t_ti and t_te to the codes that they show when
altscreen is used, but it made no difference.

--
Dave

The First Commandment for Technicians:
Beware the lightening that lurketh in the undischarged
capacitor, lest it cause thee to bounce upon thy buttocks in a most
untechnician-like manner.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: