[lkml]   [2000]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] bsd-style cursor
Lennert Buytenhek wrote:
> On Wed, 13 Dec 2000, James Simmons wrote:
> > How about placing
> > echo '\033[?17;120c'
> > In one of your startup scripts. This will give you this nice BSD
> > cursor you like.
> [ buytenh@mara buytenh]$ tail -1 ~/.bash_profile
> echo -e -n '\033[?17;127c'
> [buytenh@mara buytenh]$
> This has Issues though: try entering vi for example.

My /etc/inittab has lines that look like this:

1:2345:respawn:/sbin/getty 38400 tty1 -I '^[c^[[?17;55;248c'

This gives me a nice red non-blinking cursor. No problems with vi
whatsoever. Of course, this only works on the console, but for my
terminal windows, I can set these values in resource or configuration
files. So, all of this is a user-space problem. No need to complicate
the kernel code.


Markus Gutschke Resonate, Inc.
3637 Fillmore Street #106 385 Moffett Park Drive
San Francisco, CA 94123-1600 Sunnyvale, CA 94089
+1-415-567-8449 +1-408-548-5528
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.939 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site