On Fri, Jul 26, 2002 at 11:33:59AM +0530, Philip S Tellis wrote:
> On Fri, 26 Jul 2002 [EMAIL PROTECTED] wrote:
> 
> > Can I similarly set the behaviour of Del key in the console? 
> > Am using bash under Slackware, and  the del key  gives ~ and 
> > doesn't erase.
> 
> for console, use stty.
> 
---end quoted text---

Just chanced upon this mail while  clearing my  LIH  mailbox. The
LOST in the subject caught my eye. IMHO, stty is not the answer.

The standard Unix tty driver does not  not have a command `delete 
current character' built-in.

Getting Delete and Backspace to work just right is nontrivial and
especially in a mixed environment where you talk to console, to X,
to bash, to emacs, login remotely, etc. 

You may have to edit several configuration  files  to  tell all of 
the programs involved precisely what you want.  

Specific for your  bash  problem on  console, you can get bash to 
recognize the Delete key by putting:

------<snip>----------                                      
set editing-mode emacs
"\e[3~":delete-char
------</snip>---------
                                                                                      
into ~/.inputrc in your $HOME.
                                                                                       
       
This is documented in the FAQs of the kbd package.

HTH

Bish                                                                                   
           

--
:
####[ Linux One Stanza Tip (LOST) ]###########################
 
Sub : Linux Modem Compatibilty list                  LOST #244

Buying a new modem ? If it is a winmodem; make sure that you 
check out the winmodems list at:
http://www.idir.net/~gromitkc/winmodem.html
 
####<[EMAIL PROTECTED]>##################################
:


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to