[Bug 349577] New: TCSH 6.15.00-20.2 history saving is broken
https://bugzilla.novell.com/show_bug.cgi?id=349577 Summary: TCSH 6.15.00-20.2 history saving is broken Product: openSUSE 10.3 Version: Final Platform: All OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: f+novell@congenio.de QAContact: qa@suse.de Found By: --- With tcsh-6.15.00-20.2, the history file does not get saved if the connection is broken. If you simply close a Windows SSH Terminal (SSH.com) instead of logging out gracefully via Ctrl-D or logout, the history file is truncated to 0 bytes afterwards. Partly, this can be circumvented by creating /etc/csh.logout with "history -S" in it, but the has the ill side-effect of also storing the last prompt output (!) into the histfile. My settings are: history 999 savehist = (1000 merge) I am not quite sure but I think that this was O.K. with openSUSE 10.0. Also, I know that something regarding a broken history was patched from tcsh-6.15.00-20 to tcsh-6.15.00-20.2 (have not tried the older one). Maybe this patch was counter-productive? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349577 Mark Gordon <mtgordon@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtgordon@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |werner@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349577 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=349577#c1 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Dr. Werner Fink <werner@novell.com> 2007-12-19 02:49:46 MST ---
From changelog:
Fri Oct 12 18:18:11 CEST 2007 - werner@suse.de - Fix save history bug: do not jump out from handler for pending signals like for SIGHUP, just run the handler up to its end and ignore any error happen to be interrupted (bug #331627) *** This bug has been marked as a duplicate of bug 331627 *** https://bugzilla.novell.com/show_bug.cgi?id=331627 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349577 User f+novell@congenio.de added comment https://bugzilla.novell.com/show_bug.cgi?id=349577#c2 Uwe Meyer-Gruhl <f+novell@congenio.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |f+novell@congenio.de Status|RESOLVED |REOPENED Resolution|DUPLICATE | --- Comment #2 from Uwe Meyer-Gruhl <f+novell@congenio.de> 2007-12-19 09:30:52 MST --- It may well be that this was a duplicate of #331627, but the fixes there do not solve this problem. I have tried to build and install tcsh-6.15.00-34.src.rpm (this has the fixes for #331627 applied, i.e. it has "handle_intr") and it exposed the same behaviour as did 6.15.00-20.2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349577 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=349577#c3 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |f+novell@congenio.de --- Comment #3 from Dr. Werner Fink <werner@novell.com> 2007-12-19 11:00:40 MST --- Then this have to wait upto next year, sorry. And beside this I can not reproduce this (OK I've no Windows around nor will I use a Windows), therefore it may help if you could construct a simple example setup which works one the same system or with the help of a second Linux system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349577 User f+novell@congenio.de added comment https://bugzilla.novell.com/show_bug.cgi?id=349577#c4 Uwe Meyer-Gruhl <f+novell@congenio.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|f+novell@congenio.de | --- Comment #4 from Uwe Meyer-Gruhl <f+novell@congenio.de> 2007-12-20 03:12:32 MST --- Simple: Use ssh from another (or the same) Linux machine and disconnect by "~.". This drops the connection instead of terminating gracefully. The histfile is truncated afterwards. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349577 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=349577#c5 --- Comment #5 from Dr. Werner Fink <werner@novell.com> 2007-12-20 04:43:47 MST --- Created an attachment (id=188388) --> (https://bugzilla.novell.com/attachment.cgi?id=188388) tcsh-6.15.00-35.x86_64.rpm Please test out the attached rpm. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349577 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |f+novell@congenio.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349577 User f+novell@congenio.de added comment https://bugzilla.novell.com/show_bug.cgi?id=349577#c6 --- Comment #6 from Uwe Meyer-Gruhl <f+novell@congenio.de> 2007-12-20 04:55:25 MST --- I would, but alas, I have no x86_64 system. Can you attach the i386 or the src package? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349577 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=349577#c7 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188388|0 |1 is obsolete| | --- Comment #7 from Dr. Werner Fink <werner@novell.com> 2007-12-20 05:09:09 MST --- Created an attachment (id=188390) --> (https://bugzilla.novell.com/attachment.cgi?id=188390) tcsh-6.15.00-20.3.i586.rpm Ok this is for i386 on 10.3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349577 User f+novell@congenio.de added comment https://bugzilla.novell.com/show_bug.cgi?id=349577#c8 Uwe Meyer-Gruhl <f+novell@congenio.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|f+novell@congenio.de | Resolution| |FIXED --- Comment #8 from Uwe Meyer-Gruhl <f+novell@congenio.de> 2007-12-20 05:49:44 MST --- Great! That one works. I hope the new version will also be available via online update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349577 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=349577#c9 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #9 from Dr. Werner Fink <werner@novell.com> 2007-12-20 06:00:53 MST --- Reopen for bug tracking -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349577 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=349577#c12 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #12 from Dr. Werner Fink <werner@novell.com> 2007-12-21 03:48:38 MST --- fixed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=349577 User ast@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=349577#c13 --- Comment #13 from Anja Stock <ast@novell.com> 2008-01-09 02:58:14 MST --- released -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com