Permalink
Commits on Jan 13, 2018
  1. Improve error management for openpty (#57)

    creack committed Jan 13, 2018
    Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net>
  2. add openbsd/amd64 support (#58)

    creack committed Jan 13, 2018
    * add openbsd/amd64 support
    
    * Remove extra C dependency and add time include
    
    Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>
Commits on Jan 6, 2018
  1. Add shell example to readme

    creack committed Jan 6, 2018
    Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>
  2. Added terminal/pty resize functionality and utility function to inher…

    JonathanLogan committed with creack Jan 6, 2018
    …it size from master's pty to slave. Changes type winsize to make it accessible from outside the package. (#39)
Commits on Oct 6, 2017
  1. Prevent golang to set the non-block flag on ptmx open to avoid 100% C…

    creack committed Oct 6, 2017
    …PU usage on reads (#53)
    
    Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net>
Commits on Mar 7, 2017
  1. Add mips64 mips64le build tags (#47)

    creack committed Mar 7, 2017
    Signed-off-by: Guillaume J. Charmes <gcharmes@leaf.ag>
  2. Add support for mips, mipsle (#45)

    vstefanovic committed with creack Mar 7, 2017
Commits on Jul 16, 2016
  1. Merge pull request #44 from cmarcelo/pr/dragonfly-gofmt

    creack committed Jul 16, 2016
    Reformat pty_dragonfly.go file using gofmt
Commits on Jul 14, 2016
Commits on Jun 24, 2016
  1. Merge pull request #36 from keybase/master

    creack committed Jun 24, 2016
    Don't attempt to build on windows
Commits on May 20, 2016
  1. Merge pull request #41 from mneumann/fix_dragonfly

    creack committed May 20, 2016
    Support DragonFly BSD
  2. Support DragonFly BSD

    mneumann committed May 20, 2016
    Tested with "go test" of github.com/creack/termios.
Commits on Nov 4, 2015
Commits on Oct 7, 2015
  1. run: don't override supplied SysProcAttr

    jonboulle committed Oct 7, 2015
    If we're passed an exec.Cmd that already has a configured SysProcAttr,
    Start was obliterating it by overwriting it with a new struct in order
    to set `Setctty` and `Setsid`. Instead, just adjust the parameters that
    we need.
Commits on May 11, 2015
  1. Merge pull request #31 from hqhq/hq_add_arm64_support

    creack committed May 11, 2015
    Add support for ARM64
  2. Add support for ARM64

    hqhq committed May 11, 2015
    Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Commits on Dec 17, 2014
  1. Merge pull request #26 from yoheiueda/use-syscall-consts

    creack committed Dec 17, 2014
    Use syscall.TIOCGPTN and syscall.TIOCSPTLCK for ioctl
Commits on Dec 4, 2014
  1. Remove uintptr(...)

    yoheiueda committed Dec 4, 2014
    Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
Commits on Dec 3, 2014
  1. Remove ioctl_* constants on Linux

    yoheiueda committed Dec 3, 2014
    Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
Commits on Nov 25, 2014
  1. Use syscall.TIOCGPTN and syscall.TIOCSPTLCK for ioctl

    yoheiueda committed Nov 25, 2014
    Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
Commits on Nov 21, 2014
  1. Merge pull request #25 from yoheiueda/add-power-systemz

    creack committed Nov 21, 2014
    Add support for Power (ppc64, ppc64le) and System z (s390x)
  2. Add support for Power (ppc64, ppc64le) and System z (s390x)

    yoheiueda committed Nov 21, 2014
    Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
Commits on Mar 16, 2014
  1. add generated ztypes_arm.go and ztypes_freebsd_arm.go

    paulzhol committed Mar 15, 2014
    Tidy unused ioctl arguments
Commits on Mar 14, 2014
  1. Portable ioctl calls

    paulzhol committed Mar 14, 2014
    Add _IOC macros (<sys/ioccom.h>, <asm-generic/ioctl.h>) for linux and bsd's, unify ioctl() calls.
    FreeBSD: use modern pts(4) interface instead of the old pty(4) one
Commits on Mar 5, 2014
Commits on Mar 4, 2014
  1. Add pty_unsupported.go file in order to allow projects to import the …

    creack committed with kr Feb 9, 2014
    …package and still compile on other os/arch
Commits on Sep 26, 2013
Commits on Mar 17, 2013
  1. factor out docs

    kr committed Mar 17, 2013
  2. get rows and cols in a tty

    kr committed Mar 17, 2013
Commits on Dec 4, 2012
  1. remove obsolete caveat

    kr committed Dec 4, 2012
  2. fix race in sample code

    kr committed Dec 4, 2012
    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.
  3. darwin support

    kr committed Dec 4, 2012
    Based on ac3ece1 by
    Burke Libbey <burke@libbey.me>.
  4. remove obsolete makefile

    kr committed Dec 4, 2012