FS#23189 - Bash logs no history in ~/.bash_history

Attached to Project: Arch Linux
Opened by Gennady (Leonardo19) - Tuesday, 08 March 2011, 17:07 GMT
Last edited by Allan McRae (Allan) - Tuesday, 08 March 2011, 21:15 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture i686
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
No commands are logged in bash history after closing gnome-terminal window.
~/.bash_history remains unchanged.


Additional info:
* package version: bash 4.2.006-1


Steps to reproduce:
Open gnome-terminal, enter any command, close the gnome-terminal window, open gnome-terminal again, press up key.
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 08 March 2011, 21:15 GMT
Reason for closing:  Upstream
Comment by P.H. (Vain) - Tuesday, 08 March 2011, 19:03 GMT
Hi,

this has been reported upstream by someone else but it's not considered a bug:

http://lists.gnu.org/archive/html/bug-bash/2011-03/msg00054.html

In short, it's signal-handling-foo. Don't close the terminal window -- instead, use "Ctrl-D" or similar.
Comment by Allan McRae (Allan) - Tuesday, 08 March 2011, 21:15 GMT
I'll close this as an upstream issue as this is not going to change until upstream decide the best way to fix it. The workaround is to exit with ^D.

Loading...