From: adamsonj@email.unc.edu (Joel J. Adamson)
To: imputerate <imputerate@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Xterm and Readline (was: select large text with mouse)
Date: Fri, 13 Jun 2008 23:19:58 -0400 [thread overview]
Message-ID: <87y758g0td.fsf_-_@edna.homeunix.org> (raw)
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)")
imputerate <imputerate@gmail.com> writes:
>> first 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;
>
>> i'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
--
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
next prev parent reply other threads:[~2008-06-14 3:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-08 1:26 select large text with mouse imputerate
2008-06-08 18:28 ` Joel J. Adamson
[not found] ` <mailman.12913.1212952149.18990.help-gnu-emacs@gnu.org>
2008-06-10 5:09 ` imputerate
2008-06-10 17:08 ` Joel J. Adamson
[not found] ` <mailman.13030.1213149142.18990.help-gnu-emacs@gnu.org>
2008-06-13 4:27 ` imputerate
2008-06-13 21:18 ` imputerate
2008-06-14 3:19 ` Joel J. Adamson [this message]
[not found] ` <mailman.13226.1213413853.18990.help-gnu-emacs@gnu.org>
2008-06-14 5:01 ` Xterm and Readline (was: select large text with mouse) imputerate
2008-06-14 5:39 ` imputerate
2008-06-14 18:24 ` pturing
2008-06-15 7:49 ` imputerate
2008-06-14 18:29 ` pturing
-- strict thread matches above, loose matches on Subject: below --
2008-06-14 5:43 imputerate
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y758g0td.fsf_-_@edna.homeunix.org \
--to=adamsonj@email.unc.edu \
--cc=help-gnu-emacs@gnu.org \
--cc=imputerate@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.