A terminal based inventory manager