Simple readline-like tool able to change representation of input