[SunHELP] SUN Type 6 Keyboard Question

Leon Halford sunhelp at sunhelp.org
Sat Oct 20 06:21:12 CDT 2001


Or alternatively use: /etc/profile for ALL sh/ksh users or /etc/.login
for csh.

Another option..

If you want to make the changes default for ALL shells on a given server
you can edit the file /kernel/drv/options.conf and reboot. Obviously any
stty customisation in system-wide or personal login files will override
the default setting though.

The erase key on Solaris is the 7th field for the variable "ttymodes" in
options.conf. Usually 7f = ^? or 8 = ^H

You can generate the ttymodes line using the following procedure:

$ stty erase ^? (or whatever else)
$ stty -g
# cut & paste into /kernel/drv/options.conf

As this file can potentially screw up your ability to log in anywhere, I
suggest you make *minor* changes!

-----Original Message-----
From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org] On
Behalf Of David Baldwin
Sent: 19 October 2001 19:45
To: sunhelp at sunhelp.org
Subject: RE: [SunHELP] SUN Type 6 Keyboard Question

Put that line in $HOME/.profile "sty erase ^?" and it will be executed
every time you log in.
Dave

> -----Original Message-----
> From: emoseman at aol.net [mailto:emoseman at aol.net]
> Sent: Friday, October 19, 2001 11:28 AM
> To: sunhelp at sunhelp.org
> Subject: [SunHELP] SUN Type 6 Keyboard Question
> 
> I'm using a Type 6 keyboard on an Ultra 5, and even on my system when
I
> hit the 'BackSpace' key it comes up as '^?'.  I can fix this using
'stty
> erase ^?', but when I telnet to another machine which I do most of the
> time that doesn't carry over.  I don't expect it to, so I was
wondering
> if anyone knows how to make this permanent.
> 
> I've played around with termcap, and terminfo but haven't been able to
> find a fix.  I've also tried to mess around with xmodmap, and have
only
> been able to wreck all my current settings..
> 
> Any ideas are welcome!
> 
> Thanks!
> 
> --
> Evan Moseman
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp




More information about the SunHELP mailing list