* Ed Schouten <ed_at_80386.nl> wrote: > Hi Xin, > > * Xin LI <delphij_at_gmail.com> wrote: > > It seems that ^L behaves differently on console. Before login, it > > won't clear the screen and put the cursor to the left-up corner, while > > with login and csh, it would do what it's supposed to do. > > > > This behavior seems to be different from older FreeBSD releases, is it > > related to the recent console driver changes (and is the expected > > behavior)? > > Even though it's different than previous releases of FreeBSD, it is the > expected behaviour. FreeBSD 9 uses an xterm-like terminal emulation. > Xterm doesn't seem to blank the screen when it echoes a ^L. login and > csh do blank the screen, but they do it by hand. > > I could change it, but I'm afraid it breaks stuff... :-) As a side note, you can test this yourself by doing this inside an xterm: stty -echoctl cat <press ^L here> -- Ed Schouten <ed_at_80386.nl> WWW: http://80386.nl/
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC