News for hackers. Stuff that matters.
Re:Why was '~' chosen to represent the home directory? by JumpCrisscross on Sunday November 24, 2013 @09:01PM (#6792125)
$ is on 4 and ¥ way off to the right on the Japanese keyboard?
Re:Why was '~' chosen to represent the home directory? by chattoraj on Sunday November 24, 2013 @09:41PM (#6792230)
Speaking of the ¥, notice how it's right under the |?

Early Japanese codepages put ¥ where ASCII has the backslash. Even today, on most (if not all) OSes render the \ as ¥ when using the Japanese locale.

Further reading: http://blogs.msdn.com/b/michkap/archive/2005/09/17/469941.as...

Re:Why was '~' chosen to represent the home directory? by cheapsteak on Monday November 25, 2013 @05:19AM (#6793327)
Interesting, I think the South Koreans did the same thing.

Installing South Korean games (this was middle school), I've always wondered why the paths were showing up as :

    C:₩Program Files₩GRAVITY₩RO  
And trying to type \ in the installation path input box results in ₩
Re:Why was '~' chosen to represent the home directory? by hkmurakami on Sunday November 24, 2013 @09:02PM (#6792127)
~, Ctrl, @, etc.
Re:Why was '~' chosen to represent the home directory? by kps on Sunday November 24, 2013 @10:10PM (#6792295)
The keyboards — the Japanese layout and the ADM-3A — are bit-paired, meaning that the characters on an unshifted and shifted key differ in exactly one bit in the ASCII encoding.

   SP !  "  #  $  %  &  '  (  )  *  +  ,  -  .  /
   0  1  2  3  4  5  6  7  8  9  :  ;  <  =  >  ?
   @  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O
   P  Q  R  S  T  U  V  W  X  Y  Z  [  \  ]  ^  _
   `  a  b  c  d  e  f  g  h  i  j  k  l  m  n  o
   p  q  r  s  t  u  v  w  x  y  z  {  |  }  ~  DEL
Shift toggles bit 4 of the numeric and low punctuation keys (codes < 0x40), and bit 5 of the alphabetic and high punctuation keys. This made terminals easier and cheaper to build, in the days before cheap microprocessors, when encoding was done in discrete logic or, like the Teletype 33, mechanically.