Re: [SLE] Bash [home] [end] keys

From: David Rankin (drankin_at_cox-internet.com)
Date: 04/23/04

  • Next message: expatriate: "Re: [SLE] DVI video card?"
    To: <bmarsh@bmarsh.com>, "Suse Linux" <suse-linux-e@suse.com>
    Date: Fri, 23 Apr 2004 11:24:13 -0500
    
    

    > If I retrieve commands (history) using the up/down cursor keys, and hit
    > home/end, the cursor will position to the first position in the current
    > command or move to the end respectively. This is in a KDE console
    session,
    > or in a normal linux terminal session either as root or myself.

    Yes, that is the behavior I want, but I don't use X. I'm just running from
    the terminal and in that case, the home and end keys in 8.2 or 9.0 DON'T
    work as you describe. I need to get bash to work like you describe, but work
    that way from runlevel 3 and for ssh connections. My confusion is trying to
    figure out which, of the mired of bash config files, is the right bash
    config file to modify to produce the desired behavior from bash. Any
    thoughts??

    --
    David C. Rankin, J.D., P.E.
    RANKIN * BERTIN, PLLC
    510 Ochiltree Street
    Nacogdoches, Texas 75961
    (936) 715-9333
    (936) 715-9339 fax
    www.rankin-bertin.com
    --
    ----- Original Message ----- 
    From: "Bruce Marshall" <bmarsh@bmarsh.com>
    To: "SLE" <suse-linux-e@suse.com>
    Sent: Friday, April 23, 2004 10:29 AM
    Subject: Re: [SLE] Bash [home] [end] keys
    > On Friday 23 April 2004 11:18 am, David Rankin wrote:
    > > > Just tried it here and the home/end keys work fine as is.....
    > >
    > > Ummm.... are you logged in as yourself, su'ed or root??
    > >
    > >     Would you mind sending me your /home/{you}/.bashrc, .profile and
    > > /etc/profile as attachments so I can see what your doing??
    > >
    >
    >
    > Well don't mind doing that but I am unclear as to how you want to use
    these
    > keys.
    >
    > If I retrieve commands (history) using the up/down cursor keys,   and hit
    > home/end, the cursor will position to the first position in the current
    > command or move to the end respectively.   This is in a KDE console
    session,
    > or in a normal linux terminal session either as root or myself.
    >
    > Perhaps you want something different...
    >
    > (please don't copy people on your responses...  we are all on the list and
    it
    > just makes for duplicate emails.)
    >
    >
    >
    >
    > > --
    > > David C. Rankin, J.D., P.E.
    > > RANKIN * BERTIN, PLLC
    > > 510 Ochiltree Street
    > > Nacogdoches, Texas 75961
    > > (936) 715-9333
    > > (936) 715-9339 fax
    > > www.rankin-bertin.com
    > > --
    > > ----- Original Message -----
    > > From: "Bruce Marshall" <bmarsh@bmarsh.com>
    > > To: "SLE" <suse-linux-e@suse.com>
    > > Sent: Friday, April 23, 2004 7:05 AM
    > > Subject: Re: [SLE] Bash [home] [end] keys
    > >
    > > > On Thursday 22 April 2004 11:33 pm, David Rankin wrote:
    > > > > Mates:
    > > > >
    > > > >     I have this annoying problem that I can't figure out which file
    to
    > >
    > > make
    > >
    > > > > the changes in. I would like to have the [home] and [end] keys work
    on
    > >
    > > the
    > >
    > > > > command line in bash as I'm working with the history list. Suse 9.0.
    > >
    > > Which
    > >
    > > > > file do I make changes to so it is made for all user? .bahsrc?
    > > > > .bashprofile? What changes to I need to make?? Any help is
    appreciated.
    > >
    > > I'm
    > >
    > > > > definately a bash config file dummy.
    > > >
    > > > Just tried it here and the home/end keys work fine as is.....
    > > >
    > > >
    > > > --
    > >
    > >
    +--------------------------------------------------------------------------
    > >- -+
    > >
    > > > + Bruce S. Marshall  bmarsh@bmarsh.com  Bellaire, MI         04/23/04
    > >
    > > 08:03  +
    > >
    > >
    +--------------------------------------------------------------------------
    > >- -+
    > >
    > > > "When one has good health it is not serious to be ill." - Francis
    Blanche
    > > >
    > > >
    > > > --
    > > > Check the headers for your unsubscription address
    > > > For additional commands send e-mail to suse-linux-e-help@suse.com
    > > > Also check the archives at http://lists.suse.com
    > > > Please read the FAQs: suse-linux-e-faq@suse.com
    > >
    > > ---
    > > Outgoing mail is certified Virus Free.
    > > Checked by AVG anti-virus system (http://www.grisoft.com).
    > > Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/04
    >
    > -- 
    >
    +---------------------------------------------------------------------------
    -+
    > + Bruce S. Marshall  bmarsh@bmarsh.com  Bellaire, MI         04/23/04
    11:26  +
    >
    +---------------------------------------------------------------------------
    -+
    > "Words wound. But as a veteran of twelve years in the united states
    senate,
    >   I happily attest that they do not kill." - Lyndon Johnson.
    >
    > -- 
    > Check the headers for your unsubscription address
    > For additional commands send e-mail to suse-linux-e-help@suse.com
    > Also check the archives at http://lists.suse.com
    > Please read the FAQs: suse-linux-e-faq@suse.com
    >
    >
    >
    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/04
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: expatriate: "Re: [SLE] DVI video card?"

    Relevant Pages