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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.