[ILUG] bash/tcsh/4nt history

Caolan McNamara caolan at csn.ul.ie
Fri Mar 16 12:53:04 GMT 2001


For my sins I work a little with 4nt under nt on occasion and 
it has a history feature that 50% of the time drives me crazy
and 50% of the time is quite handy. All running copies share
the same history buffer. Type a command in a window and 
it appears as the last command in all windows history.

Probably wouldn't be too hard to add it to bash/tcsh with a
bit of ipc jiggerypokery.

tcsh has a merge facility which when the various shells exit 
then the histories are merged and sorted according to timestamp,
and bash has an append facility which sounds similiar. But of
course this only happens at exit time not during execution.
Does it sound useful to have a single shared history file
during execution of multiple shells ? I'm of two minds, but
could be a fun option to play with.

C.

-- 
Real Life: Caolan McNamara         *  Mobile: +49 177 2938135
Play: caolan at skynet.ie             *  Work Ph.: +353 1 8199033
URL: http://www.csn.ul.ie/~caolan  *  Sig: an oblique strategy
A line has two sides




More information about the ILUG mailing list