[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
don't blink cursor on /dev/tty1
From: |
jidanni |
Subject: |
don't blink cursor on /dev/tty1 |
Date: |
Wed, 03 Oct 2007 00:32:17 +0800 |
The docstring:
blink-cursor-mode is an interactive compiled Lisp...
....
Note that this command is effective only when Emacs
displays through a window system, because then Emacs does its own
cursor display. On a text-only terminal, this is not implemented.
OK, but mention what a user should do in that case, as the blinking
could be driving him nuts and this is the only document he can find.
You could mention 'see also visible-cursor' as you do in Info. At
least that will give them a bar instead of a block cursor.
Indeed, /usr/share/doc/linux-doc-2.6.21/Documentation/VGA-softcursor.txt.gz
says
To get red non-blinking block, use: echo -e '\033[?17;0;64c'
And indeed
$ (sleep 4;echo -e '\033[?17;0;64c' > /dev/tty)&fg %emacs
works until one does anything in emacs.
In a *shell* window, echo -ne '\033[?17;0;64c' > /dev/tty1;sleep 3
gives 3 seconds of nonblinking pleasure.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- don't blink cursor on /dev/tty1,
jidanni <=