Re: [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 -- Markus GutschkeResonate, 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 [EMAIL PROTECTED][EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] bsd-style cursor
On Wed, 13 Dec 2000, James Simmons wrote: > > included a patch against 2.4.0-test9 (should apply against latest but > > haven't checked) which adds the config option to have a bsd-style cursor > > in VT's by default. I was hoping it might be considered for inclusion so > > that I don't have to patch it in myself every time :-) > > 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. I'd just like a way of altering CUR_DEFAULT (which is hardcoded here and there); sysctl would be fine too for that matter. cheers, Lennert - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] bsd-style cursor
> included a patch against 2.4.0-test9 (should apply against latest but > haven't checked) which adds the config option to have a bsd-style cursor > in VT's by default. I was hoping it might be considered for inclusion so > that I don't have to patch it in myself every time :-) How about placing echo '\033[?17;120c' In one of your startup scripts. This will give you this nice BSD cursor you like. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] bsd-style cursor
included a patch against 2.4.0-test9 (should apply against latest but haven't checked) which adds the config option to have a bsd-style cursor in VT's by default. I was hoping it might be considered for inclusion so that I don't have to patch it in myself every time :-) How about placing echo '\033[?17;120c' In one of your startup scripts. This will give you this nice BSD cursor you like. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] bsd-style cursor
On Wed, 13 Dec 2000, James Simmons wrote: included a patch against 2.4.0-test9 (should apply against latest but haven't checked) which adds the config option to have a bsd-style cursor in VT's by default. I was hoping it might be considered for inclusion so that I don't have to patch it in myself every time :-) 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. I'd just like a way of altering CUR_DEFAULT (which is hardcoded here and there); sysctl would be fine too for that matter. cheers, Lennert - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/