From: Raghava Raju <vraghava_raju@yahoo.com>
To: linux-admin@vger.kernel.org
Cc: glynn.clements@virgin.net
Subject: Re: newbie
Date: Mon, 19 Aug 2002 14:51:45 -0700 (PDT) [thread overview]
Message-ID: <20020819215145.90232.qmail@web20007.mail.yahoo.com> (raw)
In-Reply-To: <15713.19246.732177.545746@cerise.nosuchdomain.co.uk>
I don't think "bind -f file" when called from a
script will work. Because when script exits
keymap will be back to original one. Child process
can't change environment of parent.
--- Glynn Clements <glynn.clements@virgin.net> wrote:
>
> Raghava Raju wrote:
>
> > It seems to be that modifying .inputrc file is a
> good
> > option to change settings. But here I have to do
> all
> > this things from another bash script(say temp.sh),
> > like open .inputrc,modify it, then ask readline to
> > read inputrc file again. All this I have to do
> from
> > the temp.sh only. So I am unable to ask readline
> to
> > read inputrc file again from temp.sh. Because I
> cannot
> > give ctl-x,ctl-r from temp.sh. Is there any
> command to
> > have readline read inputrc again.??
>
> 1. You can force an instance of bash to use a
> different file by
> setting the environment variable INPUTRC.
>
> 2. You can modify the bindings for a running bash
> process using the
> "bind" command. "bind -f <filename>" will read key
> bindings from a
> file.
>
> --
> Glynn Clements <glynn.clements@virgin.net>
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
next parent reply other threads:[~2002-08-19 21:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <15713.19246.732177.545746@cerise.nosuchdomain.co.uk>
2002-08-19 21:51 ` Raghava Raju [this message]
2002-08-28 21:16 newbie Venkat Raghu
2002-08-28 21:27 ` newbie Scott Taylor
2002-08-28 21:28 ` newbie Richard Nairn
2002-08-30 0:54 ` newbie Keith Morse
-- strict thread matches above, loose matches on Subject: below --
2002-08-19 13:39 newbie Kirkwood, David A
2002-08-20 13:07 ` newbie Uma Shankar Kayarohanam
2002-08-20 19:11 ` newbie Glynn Clements
2002-08-16 22:32 newbie Raghava Raju
2002-08-17 16:31 ` newbie Glynn Clements
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=20020819215145.90232.qmail@web20007.mail.yahoo.com \
--to=vraghava_raju@yahoo.com \
--cc=glynn.clements@virgin.net \
--cc=linux-admin@vger.kernel.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).