readline integration