Commit graph

101 commits

Author SHA1 Message Date
anseki
2f091b829c Change the way to exit from input. 2015-03-30 19:36:31 +09:00
anseki
5f2410132b rewrite read.sh 2015-03-29 23:45:55 +09:00
anseki
16db4b4c1c encode arg for cscript 2015-03-27 21:12:00 +09:00
anseki
67d20da312 Rewrite code that call external programs. 2015-03-27 20:25:59 +09:00
anseki
e49c13d677 Don't write an undesired line-break. 2015-03-25 21:22:44 +09:00
anseki
b3d633cb1c It's no longer only the shell since v0.7.8, and change the names. 2015-03-25 16:56:43 +09:00
anseki
fff855fc79 Fix: error of decodeDOS when no arg 2015-03-24 20:37:20 +09:00
anseki
a7bb63d3e3 Check that mask is '' 2015-03-22 14:11:55 +09:00
anseki
95d2e9f088 Add setMask. 2015-03-20 20:34:18 +09:00
anseki
ecd6846f7c Change: rewrite code to open TTY 2015-03-20 12:03:58 +09:00
anseki
583cb4048a Add more infomations to error object 2015-03-17 12:11:46 +09:00
anseki
8e141597ba fixed #14 Replace BAT with WSH 2015-03-13 18:34:41 +09:00
anseki
2d29dc0c8a Fix: options ref 2015-03-13 00:59:30 +09:00
anseki
cf29238c9a Rename read.cs.js -> read-s.cs.js 2015-03-12 11:03:04 +09:00
anseki
16c0c476cd Add display to shell script. 2015-03-11 17:06:27 +09:00
anseki
e552f97db1 Try to get Windows shell-path from environment variables. 2015-03-08 13:54:55 +09:00
anseki
f5d4a8231f Change a method to open TTY. 2015-03-08 00:19:40 +09:00
anseki
0e22bc9f28 Fix: Parsing argument 2015-03-07 19:59:01 +09:00
anseki
b27ad119ae Change Error object thrown. 2015-03-06 15:23:32 +09:00
anseki
a6039bcf36 Recover bug of ScriptPW.Password 2015-03-05 17:39:46 +09:00
anseki
7a37871966 Change: print \n whith read -s 2015-03-04 20:58:55 +09:00
anseki
fc50c96368 Fix: Can't get error from shell 2015-03-04 02:30:41 +09:00
anseki
9e8a318880 fixed #13 Error on Node v0.11+ 2015-03-02 22:44:36 +09:00
anseki
a2113444d1 Use read -s if it is supported. 2015-03-02 02:07:28 +09:00
anseki
c33a9d77cd Drop STDERR of stty. 2015-03-02 02:00:20 +09:00
anseki
0c784f6533 Add keyIn(). 2015-03-01 23:46:52 +09:00
anseki
d724dbf5d2 Fix: It's not raw mode. 2015-03-01 15:06:53 +09:00
anseki
8072feb5ca Change default bufSize: 1024 2015-02-22 22:23:46 +09:00
anseki
c1255a429c Add: setBufferSize 2015-02-22 20:57:07 +09:00
anseki
ab94a1ea2b Support the Synchronous Process Execution of Node v0.12(v0.11). 2015-02-12 07:39:59 +09:00
anseki
995f22b4bf Change: read by using PowerShell or ScriptPW in DOS. 2015-02-12 04:44:05 +09:00
anseki
ca90461c57 Fix: The leading and trailing white spaces are removed 2015-02-10 22:39:14 +09:00
anseki
e9714a9a0a Add options.noTrim. 2015-01-27 01:11:25 +09:00
anseki
d406cc1c19 fixed #9: Error of stty in read.sh. 2014-09-12 23:23:04 +09:00
anseki
e3607ad0e1 Add README.md > Note > Reading by shell 2014-08-21 16:23:39 +09:00
anseki
03cdd60eb6 Fix: setPrompt() changes prompt to '' if no argument. 2014-07-13 21:43:54 +09:00
anseki
34c192b0bc Add controls algorithm (encrypt.js) 2014-07-13 15:32:02 +09:00
anseki
eeb0770459 fixed #6 2014-07-13 13:55:17 +09:00
anseki
8d9aca03f8 setPrompt() and setEncoding() return current value. 2014-07-12 08:56:21 +09:00
anseki
cabbc1ffea setPrompt() and question() accept the value which is not string too (e.g. number, Date, Object, etc.). 2014-07-12 08:16:11 +09:00
anseki
055e4b3060 Add options.noEchoBack. 2014-07-12 07:37:25 +09:00
anseki
526e11c7e2 Add setPrint(). 2014-07-12 06:25:59 +09:00
anseki
0c8f49c535 Change echo to printf (read.sh) 2014-06-29 17:41:12 +09:00
anseki
7afb24a972 Add reading shell through files (pipe). 2014-06-29 07:00:15 +09:00
anseki
bf3341383d Add reading method via shell 2014-06-27 10:08:05 +09:00
anseki
5a3c2d7ce4 Add alternative reading via shell on the environment which don't support interactively reading. 2014-06-27 10:06:29 +09:00
Prof Gra
114fe0d359 Typo about «platform not supporting…»
BTW, I thought my platform was OK with this (Debian).
What platform support/don't support interactive reading?
2014-05-09 14:04:52 +02:00
anseki
7bcbbe3ef8 fixed #1 2013-12-18 13:17:03 +09:00
anseki
1a136eeca7 Error handle 2013-12-18 02:18:39 +09:00
anseki
f2455207cd Rewrite exporting methods 2013-08-30 02:26:22 +09:00
anseki
1b877061ff Initial commit 2013-08-29 19:55:23 +09:00