use input and raw_input for input

- add a check and use python 2 or 3 style
- this allows for arrows and binds to work properly

Signed-off-by: bleader <bleader@ratonland.org>
little hack for macro support

- use 'm' followed by your macro id and macro content until end of line
- use '@' followed by macro id to call back macro

Signed-off-by: bleader <bleader@ratonland.org>
cleaner output when not in interactive mode

Signed-off-by: bleader <bleader@ratonland.org>