[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

[MD:1542]fiber.txt.



From: Miyashita Hisashi(宮下 尚:HIMI) <himi@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: [MD:1540]fiber.txt.
Date: 05 Oct 1999 23:17:33 +0900

北口です。

himi> のんびりしすぎていたので、半田さんの変更を入れるのが遅れました。
himi> 大体良くなってきたようなので、(変なミスも大体取れた。)、こんなもんで
himi> どうでしょう? > 北口さん。

もはや私には悪いところなんかわかりませんので、これでいいと思います。

# Without "-s" ... However, with ... は「なるほどっ」と思いました。

ですが、この変更を fiber.c の方に反映しておきたいなと思いましたので、
添付のパッチをお願いします。

あと場所ですが、fiber.exe と同じ位置でいいです。top はちょっと...(^^;


--
Shuichi Kitaguchi <kit@xxxxxxx>
--- fiber.c.original	Sat Aug  7 23:02:12 1999
+++ fiber.c	Wed Oct  6 00:04:17 1999
@@ -21,117 +21,6 @@
  */
 
 /*
- * USAGE
- * -----
- * 
- *    > fiber [option] <filename>
- * 
- *  OPTION:
- *          -e ext                  set ext to "ext".
- *          -s                      synchronous mode.
- *          -a ext=ident(,offset)   add ext to database.
- *          -l                      list options and database.
- *          -r num                  remove ext from database.
- *          -i                      initialize database.
- *          -o Option={num,yes/no}  set option.
- *          -p parameters           set parameters.
- *          -n show                 ShowWindow parameter "nCmdShow".
- *          -b verb                 name of verb.
- *          -d directory            working directory.
- * 
- *    Option              |   Explanation.(default value)
- *   ---------------------+------------------------------------------------
- *    ExtNum              |   ext max numbers fiber supported
- *    ExecuteUnknownExt   |   execute for unknown file ext.(yes)
- *    ExecuteURL          |   execute URL(ftp:,http:,...).(yes)
- *    TrustExt            |   trust ext that filename has.(yes)
- *    OverrideExt         |   override ext if filename has unknown ext.(no)
- *
- *  FILENAME:
- *          filename without ext.
- *          files that Windows can ShellExecute(Ex) (with ext).
- *          URL(http://...)
- * 
- *
- * SPECIFYING EXT (-e)
- * -------------------
- *
- *  foo.dat  ...  this is JPEG file.
- *
- *    > fiber -e jpg foo.dat
- *
- *    fiber copys foo.dat to foo.dat.jpg, and executes foo.dat.jpg.
- *
- *
- * SYNCHRONOUS MODE (-s)
- * ---------------------
- *
- *  (default)
- *
- *    > fiber foo.jpg
- *
- *     fiber returns quickly.
- *
- *  (with "-s" option)
- *
- *    > fiber -s foo.jpg
- *
- *     fiber waits exiting of application.
- *
- *
- * ADDING NEW EXTENSIONS (-a)
- * --------------------------
- *
- *   ext=ident(,offset)
- *
- *   (ex1.) ".mid" file
- *
- *     file's head
- *         |
- *         V
- *         0   1   2   3   4   5   6   7
- *       +---+---+---+---+---+---+---+---
- *       | M | T | h | d | ? | ? | ? | ?  ...
- *       +---+---+---+---+---+---+---+---
- *
- *       mid=MThd
- *          or
- *       mid=MThd,0
- *
- *   (ex2.) ".wav" file
- *
- *     file's head
- *         |
- *         V
- *         0   1   2   3   4   5   6   7   8   9   10  11  12
- *       +---+---+---+---+---+---+---+---+---+---+---+---+---
- *       | ? | ? | ? | ? | ? | ? | ? | ? | W | A | V | E | ? ...
- *       +---+---+---+---+---+---+---+---+---+---+---+---+---
- *
- *       wav=WAVE,8
- *
- *
- * CHANGING OPTIONS (-o)
- * ---------------------
- *
- *   Option={num,yes/no}
- *
- *   (ex1.) enlarge supported file numbers.
- *
- *     > fiber -o ExtNum=128
- *
- *   (ex2.) execute files that have unknown extension.
- *
- *     > fiber -o ExecuteUnknownExt=yes
- *
- *
- * ETC
- * ---
- *
- *   o If registry key "HKEY_LOCAL_MACHINE\SOFTWARE\GNU\Fiber" is not found,
- *     fiber creates keys and writes initial values.
- *
- *
  * HISTORY
  * -------
  *
@@ -150,6 +39,7 @@
  *    19 Jul, 1999 : Version 1.1.4 - add "-p" and "-n" option.
  *                                   "ExecuteUnknownExt=yes" is default.
  *    07 Aug, 1999 : Version 1.2.0 - add "-b" and "-d" option.
+ *    05 Oct, 1999 : Version 1.2.1 - brush up English text.
  */
 
 
@@ -160,7 +50,7 @@
 #include <mbstring.h>
 
 
-#define FIBER_VERSION   "1.2.0"
+#define FIBER_VERSION   "1.2.1"
 
 
 /* constants */
@@ -921,11 +811,11 @@
   printf("        Copyright (C) 1997,1998,1999  Shuichi Kitaguchi\n");
   printf("\n");
   printf("Usage : fiber [optoin] <filename>\n");
-  printf("Option:     -e ext                 set ext\n");
+  printf("Option:     -e ext                 assume that the extention is \"ext\"\n");
   printf("            -s                     synchronous mode\n");
   printf("            -a ext=ident,offset    add ext to database\n");
   printf("            -l                     list options and database\n");
-  printf("            -r num                 remove ext from database\n");
+  printf("            -r num                 remove ext indentified by num from database\n");
   printf("            -o Option={num,yes/no} set option\n");
   printf("            -i                     initialize database\n");
   printf("            -p parameters          set parameters\n");