![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| backspace deletion hpux 11i | jestinabel | HP-UX | 12 | 02-01-2007 12:54 PM |
| erasing portion of line with sed (only once) | gammaman | UNIX for Dummies Questions & Answers | 1 | 07-14-2005 05:40 PM |
| erasing portion of line with sed | gammaman | UNIX for Dummies Questions & Answers | 5 | 07-10-2005 07:47 PM |
| Cannot backspace on my session in CRT | rooh | UNIX for Dummies Questions & Answers | 2 | 07-08-2004 08:09 AM |
| erasing old files | lsquillacioti | UNIX for Dummies Questions & Answers | 1 | 04-10-2001 11:45 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Backspace erasing the prompt
My AIX has Korn Shell. I had set the prompt by providing assigning to PS1. If on the prompt I use backspace it erase the whatever appeared due to PS1. Can someone tell me how to forbid this erasing of prompt string, with this behaviour?
Thanks in advance. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
I don't have any problem. This is how I have it specified in my .profile -
PS1='${LOGIN} ${PWD}> ' |
|
#3
|
||||
|
||||
|
Are you sure you are using ksh?
run: Code:
echo $0 |
|
#4
|
|||
|
|||
|
try
set -o vi or set -o emacs |
|
#5
|
|||
|
|||
|
Thanks funksen.
Your solution set -o emacs did the job as expected. |
|||
| Google The UNIX and Linux Forums |