Permalink
Commits on Aug 16, 2012
  1. Enable of calling other programs from reptyr

    REPTYR_PTY is set path to pty.
    If REPTYR_REDIRECT is set, stdin,stdout and stderr are automatically
    redirected for the program that is started.
    committed Aug 16, 2012
  2. Flush stdout after printing "Opened a new pty:" message

    Allows usage of reptry in scripts and other programs
    committed Aug 16, 2012
Commits on Jul 21, 2012
  1. Don't error out if stderr is redirected.

    If a process is run as $cmd 2>/dev/null, we can still find a terminal on fd's 0
    and 1, so don't spuriously error out.
    nelhage committed Jul 21, 2012
Commits on Mar 25, 2012
  1. beautified markdown formatting

    graingert committed Mar 25, 2012
Commits on Feb 28, 2012
  1. Removed a SIGWINCH race.

    [nelhage@nelhage.com: Use sig_atomic_t, and document the remaining race better]
    robryk committed with nelhage Feb 27, 2012
  2. Add a check for EINTR in write_all()

    [nelhage@nelhage.com: Split out from a larger commit]
    robryk committed with nelhage Feb 27, 2012
Commits on Dec 21, 2011
  1. Add a [-V]erbose flag; default is off.

    reptyr should just work and not utter all those
    debug messages unless asked.
    
    Signed-off-by: Randy MacLeod <rwmacleod@gmail.com>
    [nelhage@nelhage.com: Reduce nesting in debug()]
    
    Signed-off-by: Nelson Elhage <nelhage@nelhage.com>
    rwmacleod committed with nelhage Dec 21, 2011
Commits on Oct 31, 2011
Commits on Aug 8, 2011
  1. Install the French manpage.

    nelhage committed Aug 8, 2011
Commits on Aug 6, 2011
  1. Fixed the commit date

    lgautrot committed Aug 6, 2011
Commits on May 27, 2011
  1. reptyr 0.3

    nelhage committed May 27, 2011
Commits on May 13, 2011
  1. Merge branch '32-on-64'

    nelhage committed May 13, 2011
Commits on Apr 25, 2011
  1. Make the man page and -h both mention all available options.

    Reported-by: Michael Orlitzky <michael@orlitzky.com>
    nelhage committed Apr 25, 2011
Commits on Apr 15, 2011
  1. Fix detection of controlling tty on ARM.

    dev_t is *not* necessarily the same as 'unsigned int', and pretending it is
    breaks on ARM.
    nelhage committed Apr 15, 2011
Commits on Apr 11, 2011
Commits on Mar 8, 2011
  1. Don't crash if the user provides -s without a pid.

    Reported-by: Michael Orlitzky <michael@orlitzky.com>
    nelhage committed Mar 8, 2011
Commits on Mar 2, 2011
  1. reptyr 0.2

    nelhage committed Mar 2, 2011
  2. Merge branch 'attach-fds'

    nelhage committed Mar 2, 2011
Commits on Feb 24, 2011
Commits on Feb 23, 2011
  1. fix: avoid memory leakage in case realloc() fails

    [nelhage@nelhage.com: Change error handling slightly]
    pozdnychev committed with nelhage Feb 21, 2011
Commits on Feb 20, 2011
  1. Be smarter about choosing which fd's to attach.

    Instead of using readlink, stat() the child's file descriptors and
    compare the result to the device in /proc/$pid/stat and /dev/tty. This
    lets us properly attach a 'less' that is taking input from a pipe.
    nelhage committed Feb 20, 2011
Commits on Feb 19, 2011
Commits on Feb 12, 2011