From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Block cursor in a tty Date: Sun, 25 Dec 2005 21:19:18 -0500 Message-ID: References: <87lkydexxv.fsf-monnier+emacs@gnu.org> <20051223153845.GA58153@flame.pc> <20051224042643.GB3972@flame.pc> <20051225032148.GA3072@flame.pc> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1135563613 13122 80.91.229.2 (26 Dec 2005 02:20:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Dec 2005 02:20:13 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 26 03:20:11 2005 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eqhy2-0008HF-DK for ged-emacs-devel@m.gmane.org; Mon, 26 Dec 2005 03:20:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EqhzD-0007Ao-Ia for ged-emacs-devel@m.gmane.org; Sun, 25 Dec 2005 21:21:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eqhyv-0007AJ-9d for emacs-devel@gnu.org; Sun, 25 Dec 2005 21:21:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eqhyu-0007A7-Tv for emacs-devel@gnu.org; Sun, 25 Dec 2005 21:21:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eqhyu-0007A4-PC for emacs-devel@gnu.org; Sun, 25 Dec 2005 21:21:00 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Eqhyf-0008HK-1B for emacs-devel@gnu.org; Sun, 25 Dec 2005 21:20:45 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EqhxG-0000sY-U3; Sun, 25 Dec 2005 21:19:19 -0500 Original-To: Giorgos Keramidas In-reply-to: <20051225032148.GA3072@flame.pc> (message from Giorgos Keramidas on Sun, 25 Dec 2005 05:21:48 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:48363 Archived-At: Currently, term_init sets TS_cursor_visible to tgetstr("vs", address), which then gets used in set_terminal_modes(). We could probably add term_init_cursor() and arrange for it to be called twice, once with the default "vs" capability before the init file is loaded and once if the init file specifies something different later on. Yes, it could be done. It would not arrange to avoid touching the cursor type at all, but it could set the cursor type back to ordinary.