1829607 Members
1475 Online
109992 Solutions
New Discussion

err while logging

 
SOLVED
Go to solution
sivakumar_11
Advisor

err while logging

Hello Everybody,

I am logging to my server using putty.when i log in, iam not able to use "backspace". If i use backspace then i find the below err. Could u pls help me.
=================
Value of TERM has been set to "xterm".
WARNING: YOU ARE SUPERUSER !!

#
# ^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?
sh: ^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?: not found.
# if i want to delete this using backspace i get this ^?^?^?^?^?^?^?^?
#
=================
tar
siva
10 REPLIES 10
sivakumar_11
Advisor

Re: err while logging

Hello All,

If i use #stty erase
then i am able to use backspace.

siva
Ravi_8
Honored Contributor

Re: err while logging


Good, found the solution
never give up
sivakumar_11
Advisor

Re: err while logging

Ravi,

Actually i dont want to run the command "stty erase ", I think we need to add in profile file (.profile or /etc/profile)I dont want to use this command arguments when ever i login.

siva
Ravi_8
Honored Contributor

Re: err while logging

Hi Siv

In that case set it in .profile file
never give up
Sunil Sharma_1
Honored Contributor

Re: err while logging

This problem is related to your putty configuration.

You can change this from open setting

Terminal---- keyboard


then change "The backspace key to Control-H option.

it's check box type setting

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
sivakumar_11
Advisor

Re: err while logging

Hello Ravi,

Thanks for your suggestion, But could u tell me where should i put it in .profile.

tar
siva
Ravi_8
Honored Contributor
Solution

Re: err while logging

Hello

put it at the end of the file in .profile, whenever user login .profile will be read and executed, hence the stty parameter will be set.
never give up
sivakumar_11
Advisor

Re: err while logging

HI ravi,

Iam able to do that, but in the next lines when iam using backspace in taken to the next prompt. How to solve this.

tar
siva
Ravi_8
Honored Contributor

Re: err while logging

Hello I think you are trying all these execises in putty screen.

modify the .profile using telnet are on the console, when the user logs in using putty, the parameter will be set.
never give up
Neritan Omari
Occasional Advisor

Re: err while logging

Hello ,

you can try for putty by redirecting the
command to profile file :

echo "stty erase " >> ~/.profile

BR's
Neritan