public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Markus Gutschke <markus@gutschke.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] bsd-style cursor
Date: Wed, 13 Dec 2000 20:05:16 -800	[thread overview]
Message-ID: <E146Pdu-0006kB-00@janus> (raw)
In-Reply-To: <6313347DCD663344A7658E90E56201C209B1A9@2kmail.calific.com>

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 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
markus@gutschke.com                            mgutschk@resonate.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

       reply	other threads:[~2000-12-14  4:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6313347DCD663344A7658E90E56201C209B1A9@2kmail.calific.com>
2000-12-14  4:05 ` Markus Gutschke [this message]
2000-12-13 23:51 [PATCH] bsd-style cursor Lennert Buytenhek
2000-12-14  1:43 ` James Simmons
2000-12-14  1:49   ` Lennert Buytenhek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E146Pdu-0006kB-00@janus \
    --to=markus@gutschke.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox