From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: icicle and emacs --daemon Date: Sun, 19 Apr 2009 07:48:14 -0700 Message-ID: <001501c9c0fd$deb12520$0200a8c0@us.oracle.com> References: <877i6j2b94.fsf@tux.homenetwork> <000101c9548c$55ec1660$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240152524 3660 80.91.229.12 (19 Apr 2009 14:48:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Apr 2009 14:48:44 +0000 (UTC) To: "'Thierry Volpiatto'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 19 16:50:03 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LvYLI-0001Q2-JN for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Apr 2009 16:50:00 +0200 Original-Received: from localhost ([127.0.0.1]:48805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvYJt-0001Zq-QZ for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Apr 2009 10:48:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvYJW-0001Xc-BL for help-gnu-emacs@gnu.org; Sun, 19 Apr 2009 10:48:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvYJR-0001Uj-9Q for help-gnu-emacs@gnu.org; Sun, 19 Apr 2009 10:48:09 -0400 Original-Received: from [199.232.76.173] (port=53658 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvYJR-0001UY-0S for help-gnu-emacs@gnu.org; Sun, 19 Apr 2009 10:48:05 -0400 Original-Received: from rcsinet13.oracle.com ([148.87.113.125]:64287 helo=rgminet13.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LvYJQ-0000Rn-DB for help-gnu-emacs@gnu.org; Sun, 19 Apr 2009 10:48:04 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n3JEm8Cm016765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 19 Apr 2009 14:48:09 GMT Original-Received: from acsmt706.oracle.com (acsmt706.oracle.com [141.146.40.84]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n3JElu77011503; Sun, 19 Apr 2009 14:47:59 GMT Original-Received: from dradamslap1 (/141.144.64.14) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 19 Apr 2009 07:47:56 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <000101c9548c$55ec1660$0200a8c0@us.oracle.com> Thread-Index: AclUXrEAYE5kFcxDTlaEww7ReEcVQQALEGAgGxyFBLA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt706.oracle.com [141.146.40.84] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010206.49EB399F.000F:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63869 Archived-At: Hi Thierry, Dunno if you still use Icicles, but here is an update on this. It turns out that the behavior of "text terminal" (that is, emacs -nw) is variable, and depends mostly on the platform. The good news is that nowadays most platforms do support "fancy" keys in a text terminal. This means that, depending on your platform, Icicles, like Emacs, does in fact work with emacs -nw - I was mistaken in thinking that it does not. I did some testing on MS Windows - all of the "fancy" keys work fine there. I also tried using "emacs -nw" (with Emacs 21) from a terminal in a Gnome desktop on a Linux box, using VNC from Windows. There, because of VNC and Gnome, some "fancy" keys (e.g. `C-next') are not available to Emacs, but others (e.g. `S-TAB') are. I didn't try without Gnome, and I can't try on Linux without using VNC, but I suspect, from speaking with others, that there is no problem generally on Linux either - many, perhaps all, of the "fancy" keys should be available. I also checked to make sure that it's OK to use library hexrgb.el even in a context where few colors are available. No problem. The Linux/VNC context, for example, has only 6 or 8 colors available. The bottom line is that I was mistaken in thinking that Icicles would not work well without a graphics display. I've updated the Icicles libraries accordingly (cleaned up the doc and code a bit). HTH - Drew > From: Drew Adams Sent: Tuesday, December 02, 2008 6:43 AM > > when using the new emacs --daemon, icicle complain that we > > are not in a window-system.So i modify the starting > > message of icicles.el like that: > > > > (unless (or (and (fboundp 'daemonp) (daemonp)) > ... > > It work fine here. > > Thanks, Thierry. I've added that. > > BTW, it seems that some people do use Icicles with a console > (i.e. without a > window mgr). I would be interested in knowing how you do so - > which key changes > you have made etc., in order to either provide for that as an > option or at least > document some of your suggestions for other users. Thx.