From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Lemieux Newsgroups: gmane.emacs.help Subject: [SOLVED] Re: emacs-23.1.90 in terminal does not respond to keyboard input, but works fine as a standalone X11 app. Date: Tue, 04 Dec 2012 11:39:27 -0500 Message-ID: <50BE273F.3050705@cooptel.qc.ca> References: <50BD5134.2040601@cooptel.qc.ca> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1354670548 3043 80.91.229.3 (5 Dec 2012 01:22:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2012 01:22:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 05 02:22:41 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tg3h9-0004XI-KB for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Dec 2012 02:22:39 +0100 Original-Received: from localhost ([::1]:48250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tg3gx-0006Xh-My for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Dec 2012 20:22:27 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tg3gq-0006Wm-09 for help-gnu-emacs@gnu.org; Tue, 04 Dec 2012 20:22:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TfvWu-0003h7-9B for help-gnu-emacs@gnu.org; Tue, 04 Dec 2012 11:40:06 -0500 Original-Received: from mail-gg0-f169.google.com ([209.85.161.169]:60440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfvWt-0003gx-Vn for help-gnu-emacs@gnu.org; Tue, 04 Dec 2012 11:39:32 -0500 Original-Received: by mail-gg0-f169.google.com with SMTP id u4so658079ggl.0 for ; Tue, 04 Dec 2012 08:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=eIXMCnAwr9syqb1vA1f1O02f1MMixicY+lXf3Xx/m0I=; b=qOXKLovEpDHLonmRu7w5q72letBfsADqVpBcHe5tdrOpNQUmEStZivwbqsdBrtmT5M QiuVkpjn7XNNFU4xZIyUkoxmBzrqj/W5tSq5isYDcBeiF0Pc3P8Jbn8ZzpywbeZX6np9 Ev73ceueri4gVeuovZJnpPrrqA0pclY6higT+Njp5ZPfO4Y5IYMDruiRTXpVoxYGGlBr 3cEoUOwZaNAAGcyRmp5aMAKktT6Fg0BmcCzQDari6xd+TH2FudDF9WOkgMVoN0OOm25T kSzQzdqdUiFFxY9VNAe9nhqmttWEaSkpUPLZsWrCwKUucuZjCq0+nhiCuzMfIOwqTe4v xOUQ== Original-Received: by 10.236.83.2 with SMTP id p2mr15386199yhe.76.1354639171216; Tue, 04 Dec 2012 08:39:31 -0800 (PST) Original-Received: from [192.168.1.100] ([205.151.119.124]) by mx.google.com with ESMTPS id e7sm1287486ang.8.2012.12.04.08.39.28 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Dec 2012 08:39:29 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: <50BD5134.2040601@cooptel.qc.ca> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.161.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88046 Archived-At: On 12/03/2012 08:26 PM, Richard Lemieux wrote: > Re: Emacs-23.1.90.1 on Slackware14. > > Hi, > > When I open Emacs-23.1.90.1 in a base Linux console or in a X11 xterm > terminal, Emacs doen't respond to whatever I type. After Emacs is killed, all > the characters I typed appear in the console/terminal. > > I have seen one prior reference to this problem on the net but it did not > provide any clue as to how to solve this issue. It just mentioned a link with > Gtk. > > This occurs following a system upgrade to Slackware14 64bit. I guess this > problem comes from the new Gtk libraries that come with the update. The > version of Emacs coming with the new Slackware14 works in a terminal but does > not work with SCIM and I can't use Emacs to type Chinese characters this way > (I understand it works with ibus with some setup). SCIM works fine in xterm > and Thunderbird/Firefox. > > Emacs-23.1.90.1 has worked well for me for a long time and it used to work > both in terminals and with SCIM on X11, so I compiled Emacs-23.1.90.1 for > x86_64 and it works fine with SCIM under the new Slackware. Unfortunately, > but it does not work at all in a terminal. > > So I am looking for a workaround that would allow Emacs-23.1.90.1 to work on a > terminal under the new system. Does someone has some clue as to why > Emacs-23.1.90.1 can't get keyboard input in this new setting? > > Thanks The problem was that Emacs (or some X11 library routine) needed some font that it could not find. At that point Emacs had access to the fonts provided by the basic X11 install plus the fonts coming with Linux. After I moved all the fonts from my older Linux partition to the newer one, the problem was gone. Unfortunately I can't tell which font was missing since I have accumulated too many fonts over the years. So even when running Emacs in a 'linux' virtual console, one needs to have some particular font installed (setting of LANG had no effect if I recall correctly). Although I know the problem was related to some font, I still can't tell why this specific choice of font is critical to the operation of Emacs on a dumb 'linux' console.