Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
can someone please help me? i want to use the backspace key to work as delete in vi, but i've never got it working. I use the "stty erase ^?" to set it but it only does as to backspace. I'm using SunOS.
Thanks in advance
You just made me answer my own question, sorry for my retardedness!!
Over on Sun I was getting the ^? instead of ^H, so obviously the same line won't fix it for both. I put an if/else statement in my user.cshrc to change the ^H to ^? if system is Sun.
Okay, I understand now, you are using JDS gnome-terminal which has an obnoxious option that allows to fool the system:
Terminal / Current Profile / Compatibility
default value of:
"Backspace" send "Delete", and
"Delete" send "<esc>[3~"
I don't know who had the stange idea to mess with these keys, but anyway, it's easy to set the key to their regular behaviour and fix the problem.
After that, you can bring your .cshrc back to its previous settings, which is better, as other terminals like xterm, dtterm, rxvt, kterm and others are not affected.
I'm confused, I was thinking you were experiencing this problem only when on Solaris.
Is your kconsole running on Linux or Solaris ?
Try launching "/usr/openwin/bin/xterm&" when connected on Solaris, and see how the keys behave.