expect and cursor movement
Posted to
tcl
by aspect at Thu May 11 09:41:23 GMT 2017
view raw
#!/usr/bin/env expect
#
spawn nano
interact {
-nobuffer -re
{\rproc [^ ]+ } { send "{args} {\r\r}\033\[A " }
}
Recent Posts
tcl by kotrcka
22 days ago
tcl by kotrcka
22 days ago
tcl by aspect
40 days ago
tcl by libertas
40 days ago
tcl by avl
43 days ago
tcl by vktec
43 days ago
tcl by vktec
43 days ago
tcl by Bradipo
44 days ago
tcl by oldlaptop
60 days ago
tcl by oldlaptop
63 days ago
Submit
New paste
Documentation
From Jabber