æ¡å¼µåã«ã¯ããªãªããå«ãã®ãï¼ã¨ãã話
Windows 95(æ¥æ¬èªç)ãçºå£²ãããã®ã¯ã¡ããã©15å¹´åã®ä»æ¥ã11æ23æ¥ã§ãããWindows 95ã§ã¯ãã³ã°ãã¡ã¤ã«ãã¼ã ãæ¡ç¨ããããããã«ä¼´ããæ¡å¼µåãå解éããããããã¾ã§ã¯æ¡å¼µåã¨è¨ãã°3æåã¾ã§ã§ãã£ãããWindows 95ã§ã¯3æåãè¶
ããæ¡å¼µåã使ããããã«ãªã£ããã¾ããããªãªããæ¡å¼µåã«å«ã¾ããã¨èããããããã«ãªã£ãã[è¦åºå
¸]
ä»æ¥ã¯ããã®åé¡ã«ã¤ãã¦å°ãæãä¸ãã¦èãã¦ã¿ããã
ãã¾ã©ããæ¡å¼µåãã¨è¨ãã¨ããªãªããå«ã("txt"ã§ã¯ãªãã".txt"ã®ããã«)ã¨ç§ã¯æããããããæã¨ãã¦æ¬¡ã®ãããªèª¬æãè¦ãããã
ãã¡ã¤ã«åã®ãã¡ãã.ã(ããªãªã)ã§åºåãããä¸çªå³å´ã®é¨åãä¾ãã°ããã¡ã¤ã«åããe-words.txtããªãã°ãtxtããæ¡å¼µåã§ããã
ITç¨èªè¾å ¸
http://e-words.jp/w/E68BA1E5BCB5E5AD90.html
ããã ã¨"e-words."ãæ¡å¼µåãé¤ããã¡ã¤ã«åã ã¨ãããã¨ã«ãªã£ã¦ãã¾ããããªãã¯ã¡ã¢å¸³ã§ããã¹ããã¡ã¤ã«ãä¿åããã¨ãã«"e-words."ã¨ããååãå ¥ããã®ãï¼æå¾ã®ããªãªãã¯å ¥ãã¦ãªãã ãããã¤ã¾ããæ¡å¼µåã¨ãã¦ä»ä¸ãããã®ã¯".txt"ã§ããããã®ãã¨ãããæ¡å¼µåã¯ããªãªããå«ãã¨èããã»ããèªç¶ãªã®ã ã
話ãæ»ãã¦ãã©ããã¦ä¸ã®ITç¨èªè¾å ¸ã®ãããªèª¬ãåºã¾ã£ã¦ãã¾ã£ãã®ãèãã¦ã¿ãã
æãã°ãMS-DOSãWindows 3.1ã®ããã¯ããã¡ã¤ã«åã¯8æåãæ¡å¼µåã¯3æååºå®ã§ãã£ããããã¯8.3å½¢å¼ã¨å¼ã°ããã
ãã®ã¨ããã¡ã¤ã«å(8æå)ã¨æ¡å¼µå(3æå)ã¨ã®éã«ããããªãªãã¯ãé ¼ãã§ãããªãã®ã«åæã«ã¤ãã¦ããå± é å±ã®ãéãã¿ãããªåå¨ã ã£ãã
ãã®ããªãªãããã¡ã¤ã«åã«å±ããã®ãæ¡å¼µåã«å±ããã®ãã¯èª°ã«ãããããã£ã¦ããªãã¨ããããã£ããã¾ããã®ããªãªãèªä½ããã¡ã¤ã«ã·ã¹ãã ä¸ã«ã¯è¨é²ãã¦ããªãã£ããè¦ããã«dirã³ãã³ãã§è¡¨ç¤ºãããã¨ãã«ä¾¿å®ä¸ã¤ãã¦ããã ãã§ãå®éã«ã¯ã©ãã«ãåå¨ããªããã®ã ã£ãã
8.3å½¢å¼ã®èµ·æºãããã«é¡ãã°ãCP/Mã«è¡ãçããCP/Mã¯ãMS-DOSã®å身ã§ããQDOSãè¦ç¯ã¨ããOSã ã(æ£ç¢ºã«ã¯è¦ç¯ã¨ããããQDOSã¯CP/Mã®ãããããã®ãã®ã ã£ãã®ã ãâ¦ãã¾ããããã¯ããã¨ãã¦â¦ã) ããããMS-DOSã¨ã®é¡ä¼¼ç¹ãå¤ããç§ã¯CP/Mã®ããããã¼ãã£ã¹ã¯ãã»ã¯ã¿ã¼ãã³ããããã¨ããããããã¡ã¤ã«åã®ã¨ããã«ããªãªãã¯å«ã¾ãã¦ãªãã£ãã¨æãã
CP/Mã§æ¡ç¨ããã8.3å½¢å¼ã®ã¢ã¤ãã¢ã¯ãä½ãCP/Mããªãªã¸ãã«ã¨ããããã§ã¯ãªããããããå ã«RT-11ã¨ãããªã¢ã«ã¿ã¤ã OSã6.3å½¢å¼(ãã¡ã¤ã«å6æå+æ¡å¼µå3æå)ããµãã¼ããã¦ããã(RT-11ãèªçããã®ã¯1970å¹´ã ã¨ããã) ãããDECãã·ã³ã«æ¡ç¨ããåºãã¦1975å¹´ãããã«ã¯ãããã大å¦ãªããã«ã¯æ®åãã¦ãã®ã ã¨æããã©ãå½æã®DECãã·ã³ã®ãã¨ã¯ç§ã¯ä¼ãèãã§ãããªãã®ã§ããããããªãã
RT-11ã§æ¡ç¨ããã6.3å½¢å¼ãå é¨çã«(ãã¡ã¤ã«ã·ã¹ãã ä¸)ãããªãªãã¯ä¿æãã¦ããªãã£ããã¨ã¯MS-DOSãCP/Mã®ä¾ãããæ³åã«é£ããªããããªãã¡9ãã¤ããªã®ã ã9ã¯2ã®ç´¯ä¹ã§ã¯ãªããã¨ã¦ãä¸èªç¶ãªæ°åã ã16ãªãæ¯åããããã®ã«ã9ã11ã ãªãã¦ã16ãã¤ãã«ãããã¨æãã¨ä½ãã®ã ããæ®ãã¯ã©ãã«è¡ã£ã¦ãã¾ã£ãã®ãï¼
MS-DOSã®8.3å½¢å¼ã®å
訳ã«ã¤ãã¦ã¯
http://en.wikipedia.org/wiki/8.3_filename
ã«æ¸ãã¦ããã8.3å½¢å¼ã§11ãã¤ãããã¨ãã¡ã¤ã«å±æ§ããã¿ã¤ã ã¹ã¿ã³ãããä½ããã§32ãã¤ãã«ãªã£ã¦ããªãè¯ãããã ã
RT-11ã®ã»ãã¯ãã®é¨åã®èª¬æããªãã¦ããããããªãã
http://en.wikipedia.org/wiki/RT-11
ã ãããããã©ãã6.3å½¢å¼ã¯9æåã ããæåãpackããã¨6ãã¤ãã«åã¾ãã®ã ããã ããã¼ãå¾ ã¦ããã¢ã«ãã¡ãããã¨æ°åã ã¨36æåã32æåã¯è¶ ãã¦ããã®ã§5-bitã«åã¾ããã6-bitã ã¨ããã¨ã6-bitÃ9æå = 54 bits ï¼ 6 bytesããã¼ãã6ãã¤ãè¶ ãã¦ã¾ããã©ã使ã£ã¦ãªãbitãåãè©°ãããããªåç´ãªpackã§ã¯ãªãããã ã
ä»®ã«ã¢ã«ãã¡ãããã¨æ°åã¨ã¹ãã¼ã¹ãªã©ã®ããã¤ãã®è¨å·ã§40æåãã£ãã¨ãã¦ã9æ¡ã®40é²æ°ã¨ã¿ãªãã°ã40é²**9æ¡ ï¼ 256**6æå ï¼ 41é²**9æ¡ ("**"ã¯ç´¯ä¹ãæå³ããã)ã§40æåãªãã¡ããã©åã¾ãã41æåã ã¨åã¾ããªãã¨ããããã§ãããã¨ãããã¨ã§ãRT-11ã¯ãã¶ã(ã¹ãã¼ã¹ãæ¹è¡ã³ã¼ããªã©ãå«ãã¦)40種é¡ã®æåããã¡ã¤ã«åã«ä½¿ããã®ã ããã¨æ¨æ¸¬ãã¾ããã
ãã¨ãæ®ãã®2ãã¤ãã¨ãã¦å¹´ææ¥ã示ãã¿ã¤ã ã¹ã¿ã³ãããã£ã¦ãããã§8ãã¤ãã§ããããã¿ã¤ã ã¹ã¿ã³ãã¯å¹´ã7bitãæã4bitãæ¥ã5bitã¨ç¸å ´ããã¾ã£ã¡ããã¾ãã(ä¾:MS-DOSã§ã¯å¹´ã®é¨åã0ãªã1980å¹´ãæå³ãã¦ã127ãªã2107å¹´ãæå³ãããMS-DOSã§2107å¹´ããæªæ¥ã®ã¿ã¤ã ã¹ã¿ã³ãã«åºæ¥ãªãã®ã¯ãã®ãã)
ã¾ãä½ã«ããããã®ããã«6.3å½¢å¼ã®ãã¡ã¤ã«åã1ãã¤ããããã£ãããªãããã¨æ¶ãã¾ããåªåã§6ãã¤ãã«packãã¦ããRT-11ã«ããã¦ãæ¡å¼µåã®ããªãªããå é¨çã«(å¤é¨ã¹ãã¬ã¼ã¸ä¸ã«)ä¿æããã¦ããªããã¨ã¯èªæã ã
ã¨ã¾ãã以ä¸ã®èå¯ã§ããã£ãããã«ãRT-11ã§æ¡å¼µåãæ¡ç¨ãããæããCP/M(âQDOS)ãçµã¦ MS-DOS , Windows 3.1ã«è³ãã¾ã§ããªãªãã¯ç¹å¥æ±ãããã¦ããã¨ããæ´å²çãªçµç·¯ãããããããWindows 95ã«ãªã£ã¦ããã³ã°ãã¡ã¤ã«ãã¼ã ãæ¡ç¨ãããã¨ãã«ãã®ç¹å¥æ±ããç¡ããªããããªãªãã¯æ¡å¼µåã¨ãã¦å«ã¾ããã¨ãã風ã«å解éãããã®ã§ã¯ãªããã¨ç§ã¯æãã(â 詳ããã¯ã³ã¡ã³ãæ¬ã«â¦ã)
ã¨ãããããããMS-DOSæ代ããããã°ã©ã ãæ¸ãã¦ããããã°ã©ãã«ã¯ã¾ã ãããååã«èªèããã¦ããªãã¦ãä¾ãã°ã.NET Frameworkã®Path.GetExtension()ã§ã¯".txt"ã®ããã«ããªãªããå«ãã¦è¿ã£ã¦ããã®ã«"txt"ãè¿ã£ã¦ããã®ã ã¨åéããã¦ããã°ã©ã ãæ¸ãã¦ãã¾ããã¨ãããããããWindows 95ãåºã¦ãããã15å¹´ãçµã£ã¦ããã ãï¼ãã¾ã©ãããªãªããæ¡å¼µåã«å«ããã ãããããè¦ãã¨ããã