View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000313 | tcsh | General | public | 2022-01-22 15:10 | 2022-01-22 15:10 |
Reporter | dgusev | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | AMD64 | OS | FreeBSD | OS Version | 13.0 |
Product Version | 6.21.00 | ||||
Summary | 0000313: On exit history file is overwitten without merging | ||||
Description | Settings: set history = 65535 set savehist = ( 65535 merge ) According to the tcsh manual page (description section of the "history -S|-L|-M [filename]"): "If the second word of savehist is set to `merge', the history list is merged with the existing history file instead of replacing it" But actually it overwrites the history file without merging. I get the same results using "history -S" or on exit from tcsh session. Also tried to set lower history number to 1000 etc. Same results. | ||||
Steps To Reproduce | 1. Set history options in "~/.cshrc" or "/etc/csh.cshrc": set history = 65535 set savehist = ( 65535 merge ) 2. Open 2 tcsh sessions. 3. Enter some commands in the first session and then save the history by using "history -S" command or by exiting from the session. 4. Save history the same way in the second session. History file will be overwritten, the new commands from 1st session will be lost. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2022-01-22 15:10 | dgusev | New Issue |