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
lilypond by Bradipo
22 hours ago
tcl by cgm
11 days ago
tcl by dandyn
20 days ago
tcl by Stu
20 days ago
tcl by dandyn
22 days ago
tcl by Stu
25 days ago
tcl by philbr-t
30 days ago
tcl by arjen
32 days ago
tcl by brain
38 days ago
tcl by mjanssen
41 days ago
Submit
New paste
Documentation
From Jabber