summaryrefslogtreecommitdiffstats
path: root/qarsh.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright dates.Nate Straz2008-09-231-1/+1
|
* We need to reset the signal handlers and sigmask so the raise() works.Nate Straz2008-09-231-0/+21
|
* Push processing of the remote command status to main() so it can beNate Straz2008-09-231-9/+10
| | | | | reproduced properly by qarsh. Return 127 as an exit code on internal error cases.
* Add copyright notices and GPL headerNate Straz2008-09-231-0/+17
|
* When no args were given, argv[0] would return NULL and the programNate Straz2008-09-231-7/+6
| | | | | name in the usage output would show "(null)." qarsh isn't called anything else so just hard code qarsh in the usage message.
* Fix a minor whitespace issueNate Straz2008-09-231-2/+2
|
* rsync puts the hostname before the -l <user> arg so we need to act more likeNate Straz2008-09-231-4/+19
| | | | | | OpenSSH. After they get to the end of the args and they haven't gotten a host name yet they chew the next arg as the hostname and restart parsing the command line. Now we do too.
* Doc the QARSH_TIMEOUT env varDean Jansa2008-09-231-0/+1
|
* Make error messages more useful when there are connection issuesNate Straz2008-09-231-4/+11
|
* Add a newline to the no heartbeat messageNate Straz2008-09-231-1/+1
|
* Instead of ignoring SIGTTIN, ignore stdin if it is a tty.Nate Straz2008-09-231-7/+5
|
* Ignore the SIGTTIN signal so we don't get caught in a read(0, ...)-SIGTTINv1.3-2Nate Straz2008-09-231-0/+6
| | | | infinite loop.
* Set a flag when a command finishes rather than exiting the select loop.Dean Jansa2008-09-231-3/+15
| | | | There may still be output to be read even after the command completed.
* Use hbeat interface which has been pulled out into its ownDean Jansa2008-09-231-66/+21
| | | | set of files.
* Fix a bug in heartbeat(). Need to reset host state when we got some IO from ↵Dean Jansa2008-09-231-10/+11
| | | | the host, and we only want to check for timeout if we were already in HOST_QUIET
* Rework heartbeating to run a small state machine, and change fromDean Jansa2008-09-231-30/+77
| | | | | | | | -m missed to -t timeout on the command line. New env var - QARSH_TIMEOUT can be set to change the default timeout. Command line -t overrides this env var.
* Merge qarsh revisions 1727:1738 from sistina-test branch djansa-qarsh.Nate Straz2008-09-231-8/+81
|
* Flatten the qarsh tree.Nate Straz2008-09-231-0/+365