The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 01-24-2006
tmarikle tmarikle is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2005
Posts: 683
Quote:
Originally Posted by nandinisagar
I read that posting , i don't know what to add in .profile as I am new to scripting... Can you please tell me what to add in .profile in order to avoid that message.

Thanks
nandinisagar
That particular post is pretty clear on what you need to do but here is a starting point.

You will want to look for instances where you are executing commands like this in your .profile or .kshrc:
Code:
stty -o vi or stty erase ^H
and add a test like this:
Code:
if [[ $- = *i* ]]
then
    stty -o vi
    stty erase ^H
fi
If you're new to scripting and you still struggle with this example then you're going to need to post your .profile and .kshrc as mahendramahendr requested for further help.