Implement rubout character support in preparation for prompt code.