![]() |
|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
I use tcsh as my login shell and in X and have these lines in .cshrc
Code:
set history=200 set savehist=200 set histdup=erase Is there some problem with having the shell in X and the login shell both being tcsh? I wouldn't have thought so, but am puzzled as to why the history file doesn't change. |
|
|||
![]()
Are you saying that after the first day, the same exact 20 items are locked into your history day after day without changing?
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) |
|
|||
![]()
Yes, it's the same set of 20.
|
|
|||
![]()
Carpetsmoker, do you mean
Code:
savehist=100 merge Code:
If the second word of savehist is set to `merge', the history list is merged with the existing history file instead of replacing it (if there is one) and sorted by time stamp. (+) Merging is intended for an environment like the X Window System with several shells in simultaneous use. Currently it succeeds only when theshells quit nicely one after another. Sigh, I get so sore kicking myself for not finding those things by myself. ![]() Thanks. It works. |
|
|||
![]()
Yes, yes a variable that I 'set'. I had that part. I just didn't think the 'merge' part applied, when the fact is that is precisely what does apply in this situation. Like I said, it's working as expected now.
Thanks again. |
|
|||
![]()
Is it possible in CSH (not TCSH) to enable it to scroll through history with the up and down arrow keys?
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) |
|
||||
![]()
The csh has history, but the 'classic' style is probably not what you expect.
http://tomecat.com/jeffy/tttt/cshhistory.html You essentially manipulate a history list from the prompt.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Quick, simple tcsh tips for beginners | anomie | Guides | 9 | 6th November 2014 03:55 PM |
working with .profile and history | uptonm | OpenBSD Security | 1 | 15th August 2008 12:14 PM |
TCSH: 'set promptchars' not effecting su like it should | JMJ_coder | General software and network | 4 | 9th July 2008 09:51 PM |
TCSH - getting to start of line | maxrussell | FreeBSD General | 3 | 4th July 2008 11:55 AM |
weird history problem | mmusang | FreeBSD General | 2 | 17th May 2008 07:07 PM |