Subject: lib/17954
To: None <>
From: David Laight <>
List: netbsd-bugs
Date: 10/27/2002 17:24:10
This is caused by re_goto_bottom explicitely outputting
both a CR and a LF.  Under netbsd (at least), and from
the shell, OPOST and ONLCR are both enabled so that
the tty line driver generates a CR before outputting the LF.

I think that the table in tty.c also ensures that OPOST and ONLCR
are both set.  In which case re_goto_bottom can safely be changed to:

/* re_goto_bottom():
 *       used to go to last used screen line
protected void          
re_goto_bottom(EditLine *el)
	term_move_to_line(el, el->el_refresh.r_oldcv);


David Laight: