This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

tail/head not working with a pseudoterminal


Hello,

I'm trying to tail a file through SSH. I'm launching ssh through
Python, like this:
ssh -t user@vm-admin.corp.com "tail
/cygdrive/c/ctier/ctl/var/logs/ctlcenter/STAGING/Administration/\[Staging\]\
Sleep/7.txt"

And I get this:
Pseudo-terminal will not be allocated because stdin is not a terminal.
TAIL: lseeki64() failed 22

This works from the command line :(

Also head fails with:
Pseudo-terminal will not be allocated because stdin is not a terminal.
bash: /cygdrive/c/apps/activeperl/bin/head: /usr/bin/perl: bad
interpreter: Permission denied

This also works from the command line :(

The Cygwin version is: CYGWIN_NT-6.0-WOW64 1.7.9(0.237/5/3) 2011-03-29 10:10

Any ideas?

Thanks,
_____________
Costin Caraivan

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]