|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
"Ctrl+l" doesnot clear xterm
I am used to press "Ctrl+l" to clear xterm window. But it seems not to work in OpenBSD 5.1 where i have to input `clear`.
Regards! |
|
|||
I'm pretty sure ^L only clears the entire screen in readline(3) applications (look for "clear-screen" in the man page). So my guess is that xterm does not use readline, which probably makes sense since readline itself is GNU software.
|
|
|||
But ^L works on FreeBSD's xterm.
$pkg_info -Qx xterm xterm-276_1:Terminal emulator for the X Window System |
|
|||
Ksh doesn't use readline, while bash does. Change shell from ksh to bash and ^L will clear the screen in xterm.
|
|
|||
Quote:
Code:
$ echo $TERM xterm-color Regards! |
|
|||
Thanks IdOp !
On my freebsd + tmux + csh, ^L works with TERM set to "xterm-256color" Regards! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to replace "ectags" with "ctags"? | fender0107401 | OpenBSD Packages and Ports | 5 | 16th April 2013 10:01 AM |
Where should I put my config? "rc.conf" or "rc.conf.local"? | fender0107401 | OpenBSD General | 2 | 2nd April 2012 02:53 AM |
wpa_supplicant errors: "CTRL-EVENT-SCAN-RESULTS" | jackburke | FreeBSD General | 0 | 1st February 2010 12:07 AM |
Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia" | jb_daefo | Guides | 0 | 5th October 2009 09:31 PM |
"Thanks" and "Edit Tags". | diw | Feedback and Suggestions | 2 | 29th March 2009 12:06 AM |