[newbie] ESC in bash to clear the line

2003-10-02 Thread Tomas Rett
Hi listers !

I need the ESC key in bash session to clear the input line, i.e. the command. 
Could you tell me, how to set up the ~/.inputrc file ?

Tom


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] ESC in bash to clear the line

2003-10-02 Thread Raffaele Belardi
I don't know the answer to your question, but why not using CTRL-C?

raffaele

[EMAIL PROTECTED] wrote:
Hi listers !

I need the ESC key in bash session to clear the input line, i.e. the command. 
Could you tell me, how to set up the ~/.inputrc file ?

Tom


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] ESC in bash to clear the line

2003-10-02 Thread Tomas Rett
Thank you, it works for me.

Tom

On Thursday 02 October 2003 01:43 pm, Raffaele Belardi wrote:
 I don't know the answer to your question, but why not using CTRL-C?

 raffaele

 [EMAIL PROTECTED] wrote:
  Hi listers !
 
  I need the ESC key in bash session to clear the input line, i.e. the
  command. Could you tell me, how to set up the ~/.inputrc file ?
 
  Tom


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] ESC in bash to clear the line

2003-10-02 Thread robin
Raffaele Belardi wrote:

I don't know the answer to your question, but why not using CTRL-C?

raffaele

[EMAIL PROTECTED] wrote:

Hi listers !

I need the ESC key in bash session to clear the input line, i.e. the 
command. Could you tell me, how to set up the ~/.inputrc file ?

Tom



Ctrl-C interrupts the process. For a less drastic solution, use Ctrl-U, 
which just erases what you've typed on that line.

Sir Robin



--
I can say: 'Thank these bees for their honey as though they were kind people who have 
prepared it for you'; that is intelligible and describes how I should like you to conduct 
yourself. But I cannot say: 'Thank them because, look, how kind they are!'--since the next 
moment they may sting you.
- Wittgenstein
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com