Re: command history with Tiger X11
Re: command history with Tiger X11
- Subject: Re: command history with Tiger X11
- From: "Mark J. Reed" <email@hidden>
- Date: Tue, 18 Aug 2009 18:57:38 -0400
The shell normally expects emacs commands (control-p for previous line
= up, control-n for next line = down). If those don't work,
something is seriously broken. If they work but the arrow keys don't,
I would suspect that $TERM is not set right or readline is
misconfigured...
On 8/18/09, Bill Campbell <email@hidden> wrote:
> On Tue, Aug 18, 2009, Philip Dennison wrote:
>> Hi.
>>
>> I have 6 Macs, of which one is running the latest version of Leopard and
>> the rest are running 10.4.11 with all the latest updates.
>>
>> On all but one system I can access the X11 command history with the up
>> and down arrow keys. I would love to get this working on the one machine.
>>
>> The problem computer is a 12 inch PowerBook G4. Command history works in
>> Terminal, but not X11. But it wasn't working in Terminal either until
>> recently when I found some hints on the web, there wasn't even a
>> '.bash_history' file.
>>
>> Any ideas on how I can make X11 do this? The computer is over six years
>> old, but has had a couple of replacement hard drives so I cannot say for
>> sure what software has been on it. It had 10.2 as new, and I probably
>> installed XDarwin as well as older X11s.
>
> When you say X11, I presume you mean an xterm.
>
> The history is a function of the shell, presumably /bin/bash, not
> the xterm itself, so I would look at ~/.profile, ~/.bash_login,
> and ~/.bashrc to see if there is something that is causing. In
> bash, two environment variables may affect this, HISTSIZE and
> HISTFILE.
>
> Bill
> --
> INTERNET: email@hidden Bill Campbell; Celestial Software LLC
> URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
> Voice: (206) 236-1676 Mercer Island, WA 98040-0820
> Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792
>
> The whole aim of practical politics is to keep the populace alarmed (and
> hence clamorous to be led to safety) by an endless series of hobgoblins.
> -- H.L. Mencken, 1923
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
Sent from my mobile device
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden