deleted callback stuff. readline for OS X doesn't implement event hook