The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
backspace deletion hpux 11i jestinabel HP-UX 12 02-01-2007 03:54 PM
erasing portion of line with sed (only once) gammaman UNIX for Dummies Questions & Answers 1 07-14-2005 09:40 PM
erasing portion of line with sed gammaman UNIX for Dummies Questions & Answers 5 07-10-2005 11:47 PM
Cannot backspace on my session in CRT rooh UNIX for Dummies Questions & Answers 2 07-08-2004 12:09 PM
erasing old files lsquillacioti UNIX for Dummies Questions & Answers 1 04-10-2001 03:45 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-17-2007
videsh77 videsh77 is offline
Registered User
  
 

Join Date: Aug 2004
Posts: 144
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.
  #2 (permalink)  
Old 01-17-2007
jyoung jyoung is offline
Registered User
  
 

Join Date: Nov 2001
Location: Flint, MI
Posts: 228
I don't have any problem. This is how I have it specified in my .profile -
PS1='${LOGIN} ${PWD}> '
  #3 (permalink)  
Old 01-17-2007
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
  
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Are you sure you are using ksh?
run:

Code:
echo $0

to check it.
  #4 (permalink)  
Old 01-17-2007
funksen funksen is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Austria/Vienna
Posts: 431
try
set -o vi
or
set -o emacs
  #5 (permalink)  
Old 01-23-2007
videsh77 videsh77 is offline
Registered User
  
 

Join Date: Aug 2004
Posts: 144
Thanks funksen.

Your solution

set -o emacs

did the job as expected.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0