some work on command digesting, history, etc