From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: adamsonj@email.unc.edu (Joel J. Adamson) Newsgroups: gmane.emacs.help Subject: Xterm and Readline (was: select large text with mouse) Date: Fri, 13 Jun 2008 23:19:58 -0400 Message-ID: <87y758g0td.fsf_-_@edna.homeunix.org> References: <05f825db-d5be-4573-b7c2-4a968928df2c@c58g2000hsc.googlegroups.com> <32f22e4c-2240-45f2-bace-681ca518ecdd@p25g2000hsf.googlegroups.com> <70de5810-2e8b-4671-b6c0-cca819d0868a@e53g2000hsa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1213413879 2769 80.91.229.12 (14 Jun 2008 03:24:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Jun 2008 03:24:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: imputerate Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 14 05:25:21 2008 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 1K7MOG-0004xU-2v for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jun 2008 05:25:20 +0200 Original-Received: from localhost ([127.0.0.1]:42885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7MNS-0006JI-26 for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jun 2008 23:24:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7MN9-0006Ie-M4 for help-gnu-emacs@gnu.org; Fri, 13 Jun 2008 23:24:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7MN8-0006IL-8M for help-gnu-emacs@gnu.org; Fri, 13 Jun 2008 23:24:11 -0400 Original-Received: from [199.232.76.173] (port=38468 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7MN8-0006II-3u for help-gnu-emacs@gnu.org; Fri, 13 Jun 2008 23:24:10 -0400 Original-Received: from smtpsrv1.isis.unc.edu ([152.2.1.140]:61637 helo=smtp.unc.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K7MN7-0005ig-S8 for help-gnu-emacs@gnu.org; Fri, 13 Jun 2008 23:24:10 -0400 Original-Received: from edna (cpe-071-065-251-182.nc.res.rr.com [71.65.251.182]) (authenticated bits=0) by smtp.unc.edu (8.13.4/8.13.4) with ESMTP id m5E3NmwT011213; Fri, 13 Jun 2008 23:23:51 -0400 (EDT) In-Reply-To: <70de5810-2e8b-4671-b6c0-cca819d0868a@e53g2000hsa.googlegroups.com> (imputerate@gmail.com's message of "Fri, 13 Jun 2008 14:18:44 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 9 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:54809 Archived-At: imputerate writes: >> =A0first i want to fix it so i use only the bash shell and only the >> xterm >> terminal emulator, no matter which defaults are set for the os or >> window >> manager i'm dealing with; > >> =A0i'll log my progress with each step in the next couple of days; >> thanks >> again,imputerate > > o.k. already i've run into problems; > > [...] Interesting you should have these problems, because I just switched to bash last night and I ran into a little confusion myself. I put "source ~/.profile" in my .bashrc to make sure that the environment was carried over to a new xterm session. Xterm should start with whatever your default shell is (man chsh). > this is a problem: > i have essential emacs keymappings in readline's config file, so So you mean you put your Emacs (the text editor) mappings into inputrc, instead of into .emacs? You should find that the default Emacs bindings for bash are Emacs-y enough. > since i have these lines in both .bashrc and .bash_profile, they > should > work no matter how xterm invokes bash [i.e., as an interactive shell > (login or normal), or even non-interactive shell]; or so i understand; Hmmm... this is a good question for a bash expert: I've spent a lot more time studing how Z Shell loads its configuration, and as I said I've just switched (back) to bash. > SO, how do i get bash in xterm to behave the way bash in 'gnometerm' > did, i.e. so that i have my readline customizations on the command > line in the bash shell? Have you tried an empty inputrc? > i'll surely be back soon, as i plow through the .Xresources, > .Xdefaults configurations for xterm and emacs; X resources are not the only way to configure the Emacs display, although they are the best I've found for setting the default face and background. Same goes in xterm: it's much better than putting "-fg white -bg black -geometry..." in every desktop icon or making it an alias. Joel --=20 Joel J. Adamson (303) 880-3109 Public key: http://pgp.mit.edu Homepage: http://www.unc.edu/~adamsonj Please read http://www.unc.edu/~adamsonj/roe.html