After some of the latest upgrades for -current (including a new curses lib), I sometimes get: "Error: endwin: Inappropriate ioctl for device" when exiting vi. This is when running vi in an xterm. - Frank ------------------------------------------------------------------------------