Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2009 22:23:42 -0700
From:      Gary Kline <kline@thought.org>
To:        Saifi Khan <saifi.khan@datasynergy.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: howto alias a stty erase?
Message-ID:  <20090831052342.GA83447@thought.org>
In-Reply-To: <alpine.BSF.2.00.0908310856390.12290@freebsd>
References:  <20090826013012.GA50679@thought.org> <alpine.BSF.2.00.0908310856390.12290@freebsd>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

-- 
 Gary Kline  kline@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090831052342.GA83447>