acme
This commit is contained in:
commit
c2271ba672
43 changed files with 886 additions and 0 deletions
19
docs/read_body_from_erlang.txt
Normal file
19
docs/read_body_from_erlang.txt
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
## ACME WITH WINID == 7
|
||||
## -----------------------------------------------------------------------------
|
||||
|
||||
каждый охотник желает знать где сидит фазан
|
||||
|
||||
|
||||
## ERLANG
|
||||
## -----------------------------------------------------------------------------
|
||||
|
||||
erl +pc unicode
|
||||
|
||||
io:setopts([{encoding, unicode}]).
|
||||
|
||||
Winid = "7".
|
||||
|
||||
Body = os:cmd("9p read acme/" ++ Winid ++ "/body").
|
||||
|
||||
Body =:= "каждый охотник желает знать где сидит фазан".
|
||||
true
|
||||
Loading…
Add table
Add a link
Reference in a new issue