A nowrap cursor code by Brennan