HAYAMA_Kaoru
945d8903b9
example.lsp: use *argv*, *program-name*, etc
2025-05-04 03:43:30 +09:00
HAYAMA_Kaoru
ebdc6d7c20
Add *argv*, *program-name*, etc. as replacements for old global variable names
2025-05-04 03:43:30 +09:00
HAYAMA_Kaoru
e9b766dcdf
Release notes: update renaming of Global type to Env
2025-05-03 19:10:01 +09:00
HAYAMA_Kaoru
a970501d54
refactor: clarify argument descriptions in RunFile and RunString comments
...
Rewrote the function comments for RunFile and RunString to improve clarity
and stability under `go fmt`. The previous indentation-based formatting was
not preserved by `go fmt`, so the description style was revised to use
distinct bullet points for each argument.
2025-05-03 18:51:09 +09:00
HAYAMA_Kaoru
3a4fa09e5a
Rename Global to Env for clarity and better library usability
2025-05-03 18:51:09 +09:00
HAYAMA_Kaoru
76d5a40b06
doc: add argument descriptions to RunFile and RunString
2025-05-03 17:21:14 +09:00
HAYAMA_Kaoru
53a6605e55
Update the manifest of the scoop-installer for v0.5.0
2025-05-03 14:16:22 +09:00
HAYAMA_Kaoru
19935903b5
bump to v0.5.0
2025-05-03 13:54:10 +09:00
HAYAMA_Kaoru
f46d83b47a
Release notes: reflect recent changes
2025-05-03 13:48:23 +09:00
HAYAMA_Kaoru
93c2e775be
Run go get -u and go mod tidy
2025-05-03 13:18:51 +09:00
HAYAMA_Kaoru
69c4f2894c
README: Update about 'go install'
2025-05-03 13:14:25 +09:00
HAYAMA_Kaoru
6915cff072
README: Add the sections for Acknowledgements and Author
2025-05-03 13:11:06 +09:00
HAYAMA_Kaoru
56faa6dd54
Makefile: update to support new package structure
2025-05-03 12:56:42 +09:00
HAYAMA_Kaoru
1540549e72
Refactor: split core functionality into separate package
2025-05-03 12:56:37 +09:00
HAYAMA_Kaoru
183c8b2d94
Update the manifest of the scoop-installer for v0.4.1
2025-01-17 00:01:59 +09:00
HAYAMA_Kaoru
a12da4396a
bump to v0.4.1
2025-01-16 23:58:19 +09:00
HAYAMA_Kaoru
570f384d59
release_notes: wrote about updating gmnlisp
2025-01-16 23:55:19 +09:00
HAYAMA_Kaoru
84ac2c4bf9
go get -u
...
go: upgraded github.com/hymkor/gmnlisp v0.7.4 => v0.7.8
go: upgraded golang.org/x/crypto v0.30.0 => v0.32.0
go: upgraded golang.org/x/sys v0.28.0 => v0.29.0
go: upgraded golang.org/x/term v0.27.0 => v0.28.0
2025-01-16 21:23:14 +09:00
HAYAMA_Kaoru
c6163800c6
example.lsp: block..return-from to catch..throw
2024-12-24 20:36:30 +09:00
HAYAMA_Kaoru
a4de6f0116
Fix for Windows OpenSSHD
2024-12-21 19:49:42 +09:00
HAYAMA_Kaoru
abd54fc567
README: add the description for example.lsp
2024-12-11 19:45:51 +09:00
HAYAMA_Kaoru
f09116476a
README: add the description about (block), (return-from), and (with-handler)
2024-12-08 13:09:42 +09:00
HAYAMA_Kaoru
74ce5c009c
Update the manifest of the scoop-installer for v0.4.0
2024-12-08 12:09:42 +09:00
HAYAMA_Kaoru
bdfd6462d6
bump to v0.4.0
2024-12-08 12:02:40 +09:00
HAYAMA_Kaoru
b3067d834e
release_notes: wrote about gmnlisp v0.7.4
2024-12-08 12:00:30 +09:00
HAYAMA_Kaoru
9d1fd8b221
go get -u for gmnlisp v0.7.4
2024-12-08 11:59:20 +09:00
HAYAMA_Kaoru
8d4b3f566c
README: $MATCH → MATCH
2024-12-06 00:20:49 +09:00
HAYAMA_Kaoru
bf4f051290
release_notes: wrote about $MATCH → MATCH
2024-12-06 00:20:00 +09:00
HAYAMA_Kaoru
e6f1982b6e
Rename $MATCH => MATCH
2024-12-06 00:16:06 +09:00
HAYAMA_Kaoru
6058ff49e1
README: change variable names
2024-12-05 23:55:31 +09:00
HAYAMA_Kaoru
ed5586edc3
Update the manifest of the scoop-installer for v0.3.0
2024-12-05 23:51:56 +09:00
HAYAMA_Kaoru
b8bf10031c
bump to v0.3.0
2024-12-05 23:48:26 +09:00
HAYAMA_Kaoru
8f1d32276a
README: update quoted example.lsp
2024-12-05 23:41:31 +09:00
HAYAMA_Kaoru
168aa76b2a
README: wrote about (wait PID)
2024-12-05 23:41:31 +09:00
HAYAMA_Kaoru
1e4995324b
release_notes: wrote about #\
2024-12-05 23:39:59 +09:00
HAYAMA_Kaoru
3454c0d9f4
go get -u
2024-12-05 19:30:25 +09:00
HAYAMA_Kaoru
92b250d722
release_notes: refine the description of (expect)
2024-12-05 14:22:07 +09:00
HAYAMA_Kaoru
cf763d7642
Add release_note_ja.md
2024-12-05 14:04:01 +09:00
HAYAMA_Kaoru
8dec5b0143
release_note: wrote about expect
2024-12-05 13:59:15 +09:00
HAYAMA_Kaoru
11c7046c50
examle.lsp: when password is invalid, send Ctrl-C and wait process terminating
2024-12-05 13:57:27 +09:00
HAYAMA_Kaoru
41dc2eb1fd
Fix: expect: When monitoring words were output in succession, the latter was sometimes overlooked
2024-12-05 13:55:33 +09:00
HAYAMA_Kaoru
c3e82c5bd9
release_note: wrote about rename variables
2024-12-05 12:52:05 +09:00
HAYAMA_Kaoru
0652d8229a
example.lsp: rename system-variables (ARGV, PROGRAM_NAME,...)
2024-12-05 12:49:07 +09:00
HAYAMA_Kaoru
f8b93fb83a
Rename variables to ARGV, PROGRAM-NAME, and EXECUTABLE-NAME
2024-12-05 12:47:58 +09:00
HAYAMA_Kaoru
1a892d176d
release_note: wrote about (spawn) and (wait)
2024-12-05 12:27:19 +09:00
HAYAMA_Kaoru
48ab76b65b
example.lsp: use (wait PID)
2024-12-05 12:20:10 +09:00
HAYAMA_Kaoru
7b7e0ebccc
Implement (wait PID)
2024-12-05 12:11:09 +09:00
HAYAMA_Kaoru
9d7317330e
spawn returns process-id now
2024-12-05 12:08:02 +09:00
HAYAMA_Kaoru
29608ecbaa
example.lsp and README: add error cases
...
- "Could not resolve hostname"
- error catch when ssh is not found
- rename variables
- password error
2024-12-04 22:41:32 +09:00
HAYAMA_Kaoru
1d78fec6c3
Update the manifest of the scoop-installer for v0.2.0
2024-12-04 13:38:02 +09:00
HAYAMA_Kaoru
fabace2061
bump to v0.2.0
2024-12-04 13:31:21 +09:00
HAYAMA_Kaoru
71620fd090
README: wrote (setenv) and $MATCH
2024-12-03 18:21:03 +09:00
HAYAMA_Kaoru
ddc64421df
release_note: wrote $MATCH
2024-12-03 18:20:39 +09:00
HAYAMA_Kaoru
b9c34297a9
Implement $MATCH
2024-12-03 18:16:59 +09:00
HAYAMA_Kaoru
5ec19acc0e
release_note: wrote (setenv)
2024-12-03 14:31:37 +09:00
HAYAMA_Kaoru
56712169d4
README: wrote (getenv)
2024-12-03 14:31:33 +09:00
HAYAMA_Kaoru
4dc8a922c9
Implement (setenv KEY VAL)
2024-12-03 14:28:23 +09:00
HAYAMA_Kaoru
d2549662e0
release_notes: wrote ~% and #\Unnnn
2024-12-03 08:37:24 +09:00
HAYAMA_Kaoru
f78d63989e
Fix: on Linux, ~% feeded line, but it did not carriage return
2024-12-03 08:22:26 +09:00
HAYAMA_Kaoru
6848aa3dff
go get -u github.com/hymkor/gmnlisp
2024-12-03 08:22:02 +09:00
HAYAMA_Kaoru
5a3255833e
README: add description for how to install
2024-12-02 21:14:47 +09:00
HAYAMA_Kaoru
b6d61b100c
Update the manifest of the scoop-installer for v0.1.0
2024-12-02 21:07:10 +09:00
HAYAMA_Kaoru
cdf6b42414
bump to v0.1.0
2024-12-02 21:03:09 +09:00
HAYAMA_Kaoru
c404ca9994
README: add column for expect(1)
2024-12-02 18:21:54 +09:00
HAYAMA_Kaoru
e65408bc19
README and example: wrote about $EXECUTABLE_NAME
2024-12-02 10:28:35 +09:00
HAYAMA_Kaoru
9c73fd4215
Implement $EXECUTABLE_NAME
2024-12-02 10:28:27 +09:00
HAYAMA_Kaoru
ab0e2b12a3
README and example: wrote about $PROGRAM_NAME
2024-12-02 10:28:27 +09:00
HAYAMA_Kaoru
69968caa69
Implement $PROGRAM_NAME for script name
2024-12-02 10:16:19 +09:00
HAYAMA_Kaoru
3c5630327a
New example using ssh
2024-12-02 06:27:26 +09:00
HAYAMA_Kaoru
31510725b1
Fix: args was set os.Args[1:]. It should be os.Args[2:]
2024-12-02 06:02:16 +09:00
HAYAMA_Kaoru
58796bd95f
README: wrote about args
2024-12-01 23:08:13 +09:00
HAYAMA_Kaoru
e87734560e
With no arguments, print version and architecture information
2024-12-01 22:53:20 +09:00
HAYAMA_Kaoru
9901d12cc0
Add Makefile
2024-12-01 22:53:04 +09:00
HAYAMA_Kaoru
bce5233fc4
Re-implement: stdout can be directed now
2024-12-01 22:37:31 +09:00
HAYAMA_Kaoru
a0c1c2ae9a
README: add: comparison with Expect-lua
2024-12-01 19:28:21 +09:00
HAYAMA_Kaoru
0c7db667fe
stdout can be directed now
2024-12-01 19:21:33 +09:00
HAYAMA_Kaoru
b3f3b344b7
Replace Ctrl-H to Backspace because Ctrl-H removes all input text on CMD.exe
...
The reason is unknown
2024-12-01 13:09:16 +09:00
HAYAMA_Kaoru
1b20e3b846
Support aborting with Ctrl-C
2024-12-01 13:09:16 +09:00
HAYAMA_Kaoru
5abb509017
Remove an unused function (*Watcher) updateLastLine
2024-12-01 13:09:16 +09:00
HAYAMA_Kaoru
7bde4e070b
README: wrote a function list
2024-12-01 13:09:16 +09:00
HAYAMA_Kaoru
29faa649d1
example: add 'interval 200
2024-12-01 12:54:17 +09:00
HAYAMA_Kaoru
f96eb75f49
Implement the option 'interval for (send) and (sendln)
2024-12-01 12:54:17 +09:00
HAYAMA_Kaoru
f3ccab6bae
readme: update change of example.lsp
2024-12-01 00:54:19 +09:00
HAYAMA_Kaoru
3c4b2d2e0b
example.lsp: make ctrlc with (create-string)
2024-12-01 00:47:10 +09:00
HAYAMA_Kaoru
f8b907a15d
Create LICENSE
2024-11-30 12:00:25 +09:00
HAYAMA_Kaoru
08474dd8ce
Add README
2024-11-30 11:56:16 +09:00
HAYAMA_Kaoru
b0efed751b
example.lsp runs on Linux and Windows
2024-11-30 11:22:43 +09:00
HAYAMA_Kaoru
cf747dcac7
Implement (getenv)
2024-11-30 11:22:19 +09:00
HAYAMA_Kaoru
eceaa0bfbc
watcher.go: trivial modify
2024-11-30 10:45:36 +09:00
HAYAMA_Kaoru
7cee075958
Swap (expect) and (expect*)
2024-11-30 10:37:43 +09:00
HAYAMA_Kaoru
4ffb196563
Implement (expect) like (case)
2024-11-30 02:28:24 +09:00
HAYAMA_Kaoru
de6a18813b
Implement (send)
2024-11-30 01:09:34 +09:00
HAYAMA_Kaoru
c99698837d
(expect*) supports the option 'timeout SECOND
2024-11-30 01:09:34 +09:00
HAYAMA_Kaoru
43ae74149d
Move Global method to global.go
2024-11-29 23:59:23 +09:00
HAYAMA_Kaoru
5539fb85ad
Read script from argv[1]
2024-11-29 23:48:08 +09:00
HAYAMA_Kaoru
3f48724fad
Fix: the read pointer was not advanced when target was found
2024-11-29 18:00:20 +09:00
HAYAMA_Kaoru
6906ab0c4d
Embbed gmnlisp interpreter
2024-11-29 17:57:13 +09:00
HAYAMA_Kaoru
022810feee
New class Term
2024-11-29 13:44:11 +09:00
HAYAMA_Kaoru
98f350ad89
NewWatcher(pty.Pty) → NewWatcher(io.ReadWriter)
2024-11-29 13:43:07 +09:00
HAYAMA_Kaoru
0ae6dd9422
Do not pop the line not terminating with \n
2024-11-29 13:06:54 +09:00