Re: howto alias a stty erase?

2009-08-30 Thread Saifi Khan
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.


thanks
Saifi.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: howto alias a stty erase?

2009-08-30 Thread Gary Kline
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-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


howto alias a stty erase?

2009-08-25 Thread Gary Kline

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



-- 
 Gary Kline  kl...@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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: howto alias a stty erase?

2009-08-25 Thread Scott Schappell

If you use sh or bash, you can add to .profile or .bash_profile:

stty erase ^h

That should do it. Type the caret (^) and (h).


On Aug 25, 2009, at 6:30 PM, 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



--  
Gary Kline  kl...@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


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org