Re:Why was '~' chosen to represent the home directory?
by shmerl on Monday January 21, 2013 @02:58AM
(#5090450)
Still using Sun Unix keyboard with tilde on the right, and no obnoxious Windows keys ;) Control in the middle row on the left is also helpful in order not to stress the pinky.
[ Parent
| on HN ]
Re:Why was '~' chosen to represent the home directory?
by greyfade on Monday January 21, 2013 @09:06AM
(#5091489)
The Happy Hacking Keyboard has a similar layout, with Esc in the upper-left where it belongs, Ctrl in the middle-left where it belongs, and tilde in top-right where it belongs. :)
Re:Why was '~' chosen to represent the home directory?
by wereHamster on Monday January 21, 2013 @03:05AM
(#5090471)
You can remap keys in modern operating systems. Any sane person will remap capslock to something they use more often (eg. ctrl or alt). Who needs capslock anyway?
Re:Why was '~' chosen to represent the home directory?
by rootbear on Monday January 21, 2013 @09:06AM
(#5091491)
I used to think the same way until I suffered neurological damage that affects the sensory nerves in my fingers. Holding down the shift key while I type some all-caps text, like "STUPID_SHOUTY_MACRO_NAME", is uncomfortable, so I now find the caps lock key useful. It would be nice to have it as a control key, but I would want some other way to activate the caps lock function. Maybe a double tap on the shift key, like on the iPhone keypad, would work.
Re:Why was '~' chosen to represent the home directory?
by jlgreco on Monday January 21, 2013 @02:08PM
(#5093092)
I actually find holding shift nicer for STUPIDLY_LONG_MACROS and whatnot since those underscores require shift and don't work with capslock.
Re:Why was '~' chosen to represent the home directory?
by koralatov on Monday January 21, 2013 @07:36AM
(#5091177)
YouTube commenters, and my boss. I haven't managed to break him of the habit of activating Caps Lock, pressing the key for letter he wants capitalised, then deactivating Caps Lock again.
Re:Why was '~' chosen to represent the home directory?
by ygra on Tuesday January 22, 2013 @05:46AM
(#5096497)
Why stop him from doing something that works for him?
Re:Why was '~' chosen to represent the home directory?
by finnw on Monday January 21, 2013 @10:35AM
(#5091886)
> Who needs capslock anyway?
C and Java programmers.
Re:Why was '~' chosen to represent the home directory?
by arethuza on Monday January 21, 2013 @04:36AM
(#5090690)
Does your Sun keyboard have a "Stop" key? I seem to remember that for about 99% of the Sun machines I encountered hitting "Stop A" was pretty obnoxious.
Re:Why was '~' chosen to represent the home directory?
by mst on Monday January 21, 2013 @10:38AM
(#5091897)
What's even more fun is that depending on your LOM configuration -removing- the keyboard can send a Stop-A.
This is not entirely hilarious when a junior sysadmin 'tidies up' the keyboards connected to the main database server (and even further from funny when the slave is currently down for maintenance ...)
Re:Why was '~' chosen to represent the home directory?
by meaty on Tuesday January 22, 2013 @12:36AM
(#5095721)
The serial terminals did that as well and you couldn't unconfiure it on early sun4 prom revisions. You could get around it by using a rs232 breakout box with a resistor soldered in it and then screw that box to the back of the unit. That was standard practice. I remember when sysadmins were good with a soldering iron...
Re:Why was '~' chosen to represent the home directory?
by shmerl on Monday January 21, 2013 @04:49AM
(#5090729)
Yes, all those extra keys work with OpenSolaris and OpenIndiana. Alas, they don't produce any scan codes with Linux. They are located in a separate area on the left, so they don't disturb your workflow.
http://docs.oracle.com/cd/E19683-01/806-6642/images/BR.unix....
Re:Why was '~' chosen to represent the home directory?
by ccoggins on Monday January 21, 2013 @12:19PM
(#5092414)
They seem to work fine with RHEL 5 and Sun Type 6 keyboards. We do this at work on our systems. We just remap the keycodes to F keys. Something like
xmodmap -e 'keycode 232 = F13' for the Stop key.
Re:Why was '~' chosen to represent the home directory?
by shmerl on Monday January 21, 2013 @03:10PM
(#5093430)
That's probably because I'm using Sun Type 5 with mini-din convertor to USB. Under OpenIndiana these keys work fine, but aren't working on Linux. Must be some driver specifics. Type 6 and Type 7 work better indeed, but they are not so ergonomic as Type 5 for some reason.
Re:Why was '~' chosen to represent the home directory?
by mturmon on Monday January 21, 2013 @03:09PM
(#5093424)
It was also the quickest way to get root. Stop-a would drop you into the monitor, then b -s to boot into single user mode. Congratulations, you are root, now just edit /etc/passwd to put in a new user "toor" with uid 0, and reboot into multiuser mode.
Re:Why was '~' chosen to represent the home directory?
by meaty on Tuesday January 22, 2013 @12:42AM
(#5095740)
That didn't work for us a we netbooted everything off an e1000 and used the local disk for swap only.
I still had the e1000 (and disk array) which was skip dived until last year but the wife made me get rid of it :( She didn't want that kind of coffee table...