allow both  and  for keyboard echo; cleanup