Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Advanced readline settings for bash in Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Advanced readline settings for bash in Terminal
Authored by: La Shampoo on Sep 04, '07 03:45:59PM
Very important : add to the above (on a single line) :
export TERM=xterm
...in order to have on distant server a proper behavior "delete=backspace" in Nano/Pico text editor.

[ Reply to This | # ]
Advanced readline settings for bash in Terminal
Authored by: GaelicWizard on Sep 10, '07 08:31:54PM

Actually, you should NEVER do this.

You should never explicitly set the TERM variable. The TERM variable is set by your terminal emulator. You can pick which one Terminal.app reports from preferences, so don't put this line in any file. (Terminal.app offers six or so compatible choices, one of which is "xterm".)

JP

---
Pell



[ Reply to This | # ]