Commit Graph

14 Commits

Author SHA1 Message Date
Keith Rarick
87da17124b get rows and cols in a tty 2013-03-16 18:25:38 -07:00
Keith Rarick
c46bdbf4af remove obsolete caveat 2012-12-03 23:34:44 -08:00
Keith Rarick
b07888f6df fix race in sample code
Don't close the pty directly; instead send an EOT to
cause the terminal to indicate end-of-file in the
slave device. Closing the pty caused io.Copy to return
early. Fixes #7.
2012-12-03 23:17:35 -08:00
Keith Rarick
2a896e26c7 darwin support
Based on ac3ece1daa by
Burke Libbey <burke@libbey.me>.
2012-12-03 23:12:11 -08:00
Keith Rarick
02033fc6c5 remove obsolete makefile 2012-12-03 18:21:06 -08:00
Keith Rarick
1fb082f569 set controlling tty for new process; closes #8 2012-11-03 16:17:05 -07:00
Keith Rarick
59dd1489cc work with new os/exec 2012-02-01 21:46:36 -08:00
Keith Rarick
3b1c6581cb go fmt 2012-02-01 21:41:44 -08:00
Sherjil Ozair
9e03abc5be Some changes to make the code compile with GO version 1.0.1. However, there would be also be some changes in functionality. This is due to changes in the type of cmd.Stdin and cmd.Stdout, and their inability to write as well read. The example given in readme.md doesn't work. I'm figuring out a way to make changes in the example so that it works. 2012-06-13 13:29:54 +01:00
Keith Rarick
44e8fe6bc9 add MIT license; closes #2 2012-04-05 14:07:33 -07:00
Keith Rarick
411b3baef3 simply remove the broken darwin implementation 2011-08-15 14:43:39 -07:00
Keith Rarick
227762de52 gofix for release.r57.1 2011-05-24 12:08:43 -07:00
Keith Rarick
e4a07d1891 document that darwin is broken 2011-05-24 12:08:10 -07:00
Keith Rarick
12319125d6 initial 2011-05-03 14:24:49 -07:00