From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: Sanest way to make emacs behave on a Solaris OS Date: Sat, 3 Aug 2013 01:03:34 -0600 Message-ID: <20130803070334.GA2266@dismay.proulx.com> References: <87d2pzj4m2.fsf@VLAN-3434.student.uu.se> <87ob9izk9k.fsf@VLAN-3434.student.uu.se> <87fvusw968.fsf@newsguy.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1375513437 20504 80.91.229.3 (3 Aug 2013 07:03:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Aug 2013 07:03:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 03 09:03:59 2013 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 1V5Vsc-00007b-E3 for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Aug 2013 09:03:58 +0200 Original-Received: from localhost ([::1]:46223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5Vsb-0000xC-TK for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Aug 2013 03:03:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5VsM-0000x1-O4 for help-gnu-emacs@gnu.org; Sat, 03 Aug 2013 03:03:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V5VsG-0007Yb-NL for help-gnu-emacs@gnu.org; Sat, 03 Aug 2013 03:03:42 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:51869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5VsG-0007YX-Fm for help-gnu-emacs@gnu.org; Sat, 03 Aug 2013 03:03:36 -0400 Original-Received: from dismay.proulx.com (dismay.proulx.com [172.27.61.4]) (Authenticated sender: dismay) by joseki.proulx.com (Postfix) with ESMTPA id 94F03211DA for ; Sat, 3 Aug 2013 01:03:35 -0600 (MDT) Original-Received: by dismay.proulx.com (Postfix, from userid 1000) id 1683AD20178; Sat, 3 Aug 2013 02:03:35 -0500 (CDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87fvusw968.fsf@newsguy.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 216.17.153.58 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:92686 Archived-At: I wasn't following this thread until now. Although there are lots of good suggestions this message had the most content that I wanted to comment upon. Harry Putnam wrote: > Sorry, the emulator in use when I run emacs in X is xterm-261 I am also using emacs from within xterm-261. > I always use xterm since it has more options that I know and > understand. Far as I know, the rest of the wannabee wm terminals are > all lessor copies of xterm. > (Many thanks to Thomas Dickey's long standing and expert efforts) Agreed. > To be clear... the Meta key has worked as ALT does on linux right from > the start.... I just caught it after my OP on this subject, and posted > that I'd 'discovered' a sort of solution. > > Its still kind of a pita just because of long habit on the ALT key in > emacs. But much handier than ESC In your Xterm, hold down control and left mouse button. A menu should appear. Keep holding control and left mouse. Drag down to "Meta Sends Escape" and tick it so that it now has a checkmark. As previously suggested by others that is the same as the following X resource. XTerm*metaSendsEscape:true Since you say that Alt has the mod1 modifier making it a Meta key I believe this should be enough. > I still haven't tried your suggestion in .Xdefaults... but will soon. Use of .Xdefaults is rather superseded by the .Xresources file. The difference between the two is subtle. But .Xresources tends to be preferred because of the way that it is applied. The .Xresources is applied to the $DISPLAY through xrdb. The .Xdefaults is applied through the presence in the $HOME directory, but only if the xrdb is empty. So once you have a .Xresources the .Xdefaults is no longer used. > If I'm not mistaken gnome references .xresources... so I keep > .xresources symlinked to .Xdefaults and have for yrs. I assume you mean .Xresources with an X rather than .xresources. > Just for the information, I'm working the solaris (openindiana) only > intermittently as a vm guest on win7 64bit. So trying things may > happen rather slowly. I am not using Solaris but in the past have been a long time user of HP-UX. The environment of yours as a VM under MS-Windows may cause interactions with Windows. Things that might "just work" natively might have interactions with the host Windows system. Beware. Bob