On Sun, May 28, 2006 at 05:52:49PM -0400, Daniel Dickman wrote:
Does anyone know how to bind ^L to clear the screen in a default 3.9
installation? I'd prefer to not have to change to bash if I don't have to...
Just for a bit of variety (since you've had lots of replies) I use this:
bind -m
John Wright wrote:
On Sun, May 28, 2006 at 05:52:49PM -0400, Daniel Dickman wrote:
Does anyone know how to bind ^L to clear the screen in a default 3.9
installation? I'd prefer to not have to change to bash if I don't have to...
Just for a bit of variety (since you've had lots of replies)
Han Boetes wrote :
John Wright wrote:
bind -m ^L=clear^M
Which types c l e a r RETURN where my cursor is.
Shells like zsh and bash also clear the screen while you are
typing a line. So your solution works only fine at the start of a
line. And adding a c-g or c-c won't help since it
Daniel Dickman [EMAIL PROTECTED] wrote:
Does anyone know how to bind ^L to clear the screen in a default 3.9
installation?
You can't, at the shell prompt. ksh can't do that.
Run clear(1).
--
Christian naddy Weisgerber [EMAIL PROTECTED]
On Sun, May 28, 2006, Christian Weisgerber wrote:
Daniel Dickman [EMAIL PROTECTED] wrote:
Does anyone know how to bind ^L to clear the screen in a default 3.9
installation?
You can't, at the shell prompt. ksh can't do that.
What's wrong with
alias =clear
It works for me
On Sun, May 28, 2006 at 05:52:49PM -0400, Daniel Dickman wrote:
| Does anyone know how to bind ^L to clear the screen in a default 3.9
| installation? I'd prefer to not have to change to bash if I don't have
to...
Please note that when using emacs editing mode (I think this is the
default mode,
Paul de Weerd [EMAIL PROTECTED] wrote:
A last option would be to send a patch for ksh that adds a clearscreen
command to bind to. Send it here and it'll probably get more attention
from developers. This is left as an excercise to you ;)
This would require linking ksh to libtermcap, growing it
Claus Assmann [EMAIL PROTECTED] wrote:
What's wrong with
alias =clear
It works for me (OpenBSD 3.8, /bin/ksh).
How? You enter ^V^Lreturn? That's probably not what the original
poster asked for, given the mention of bash.
--
Christian naddy Weisgerber
On Mon, May 29, 2006, Christian Weisgerber wrote:
Claus Assmann wrote:
What's wrong with
alias =clear
It works for me (OpenBSD 3.8, /bin/ksh).
How? You enter ^V^Lreturn? That's probably not what the original
The alias is in .kshrc. I just it CNTL-L on the command prompt and
9 matches
Mail list logo