Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'History Buffer is broken' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
History Buffer is broken
Authored by: Chas on Oct 22, '01 04:20:20AM

Unfortunately, the history buffer does not function correctly. It should save the buffer when you quit Terminal.app but it doesn't. Try this test. Open a terminal session, do any command, something offbeat you'd recognize like "man man". Then quit the terminal (don't just close the window, quit the app). Now run Terminal again, and when the term window appears, hit the up arrow. Your last command (in our example, man man) should appear. It doesn't. Something else appears instead.
As far as I can tell, the commands you used in your very first terminal session after installing MacOS X are permanently saved into the buffer. I get the same history buffer every time I open a new Terminal session. This is not how it is supposed to work. Does anyone know a fix for this?



[ Reply to This | # ]
How about this ?
Authored by: khaled on Oct 22, '01 07:33:10AM

Hi,

On a Solaris 7 machine back at the university, we used to type in a command in the terminal that lists the last 10 commands or so, anyone knows how to do this with OS X ? I can't seem to rememer that command.

Thanks all.



[ Reply to This | # ]
How about this ?
Authored by: SeanAhern on Oct 22, '01 11:47:05AM

Try "history".



[ Reply to This | # ]
History Buffer is broken
Authored by: percy on Oct 22, '01 08:52:54AM

That's strange. For me, it's working perfectly. Anytime.



[ Reply to This | # ]
History Buffer is broken
Authored by: bradleysmith on Dec 05, '01 04:17:17PM

Not sure what causes it to break but fixing it is easy: -

1. In you home directory rm .tcsh_history
2. pico .tcsh_history
3. Save file (ctrl-o I think)
4. Exit pico.
5. Job done!

I think I had this problem because I logged in from wok using ssh and it remembered my ssh login history!

Brad



[ Reply to This | # ]
History Buffer is broken
Authored by: bradleysmith on Dec 05, '01 04:49:35PM

Okay, my last post was wrong.
The problem occurs if you don't type 'exit' to log out and instead just hit Command-Q

Brad



[ Reply to This | # ]