howto alias a stty erase?
Gary Kline
kline at thought.org
Mon Aug 31 05:23:55 UTC 2009
On Mon, Aug 31, 2009 at 08:59:27AM +0530, Saifi Khan wrote:
> On Tue, 25 Aug 2009, Gary Kline wrote:
>
> >
> > is there a way of setty'ing "stty erase" to [backspace key"?
> > pretty sure that is the delete key. i'm tired of having to hand
> > set it every time when i use the Konsole term.
> >
> > thanks,
> > gary
> >
>
> to set this you need to specify command and key combination
>
> command is : stty erase
> keycomb is : CTRL+v then press backspace key once
>
> overall it looks like
>
> # stty erase ^?
>
> Hope this helps.
What worked was a simple alias:
alias se="stty erase ^\?"
but while this does save several keysttokes [ and hitting the ctrl key
with "v" ], now I often forget to type ``se'' before i use vi or vim...
:-)
oh well... .
gary
>
>
> thanks
> Saifi.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
--
Gary Kline kline at thought.org http://www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
The 5.67a release of Jottings: http://jottings.thought.org/index.php
More information about the freebsd-questions
mailing list