I tried to do “stty werase [3~”, “stty werase ^H” ” stty werase ^?” , but nothing has helped.
Do you have any idea how to configure the DEL / delete key to delete a word in c shell?
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re using tcsh rather than csh, this should work:
I don’t think
sttycan map multi-character sequences, but you might be able to configure your terminal emulator so that Delete sends an ASCII DEL character. In xterm, right-click and enable the “Delete is DEL” option, or set the X resource:You can then use
(the single quotes aren’t actually necessary). Other terminal emulators should also have some mechanism to cause Delete to send ASCII DEL.