srcstdin = file(sd[isrc], 'r')
status = os.fstat(srcstdin.fileno())
if status.st_mode & 0111: modestr = ',0777'
- print >>sys.stderr, "not upp", "%o" % status.st_mode
gobody = " setfd(%s,'%s',%s%s)\n" % (
1-upp, sde[iremote], not upp, modestr)
gobody += " os.execvp('cat', ['cat'])\n"