File: testclient.lua

package info (click to toggle)
lua-lpty 1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 168 kB
  • sloc: ansic: 546; makefile: 34
file content (16 lines) | stat: -rw-r--r-- 299 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env lua

--[[ testclient.lua
 -
 - a simple test client for lptytest.lua
 -
 - Gunnar Zötl <gz@tset.de>, 2010, 2011
 - Released under MIT/X11 license. See file LICENSE for details.
--]]

while true do
	s = io.read()
	print("+"..s.."+")
	io.flush()
	if s == "quit" then os.exit() end
end