On 10/27/10 8:09 AM, hum...@chorion.ath.cx wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i686 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' > -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' > -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 > uname output: Linux chorion 2.6.26-2-vserver-686 #1 SMP Thu Sep 16 23:09:48 > UTC 2010 i686 GNU/Linux > Machine Type: i686-pc-linux-gnu > > Bash Version: 4.0 > Patch Level: 0 > Release Status: release > > Description: > From a fresh installed Debian Lenny, and a CentOS 5 in a > Linux-Vserver, I've downloaded and compiled bash 4.0, and Ctrl-L does > nothing, but going to a new prompt line as a single Enter > would. > usually Ctrl-L clear the screen. > > Repeat-By: > Ctrl-L
Make sure that C-l is bound to clear-screen (bind -p | grep clear) and make sure the terminal you're using has the `cl' termcap capability. All the clear-screen command does is send whatever string the `cl' capability is bound to to the display. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/