On Thu, Nov 06, 2014 at 11:19:55AM +0100, Piotr Grzybowski wrote: > would you accept a solution like this: > > 1. all running instances of bash with history support on, share > history via shmem segment (some care as to its size should be taken) > ...
As long as it is off by default. This is the worst feature of ksh, and one of the primary reasons I switched from ksh to bash. Doing ESC k ENTER in ksh with an account to which multiple human beings have shared access (like root) is playing Russian roulette. You never know what you're going to end up executing. It's truly, truly terrible. (And yes, there are systems where root's default shell is ksh. AIX is one of them, or at least it was, back in 1993-1995 when I worked with it extensively.)