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]

Re: tail/head not working with a pseudoterminal


On Fri, Nov 25, 2011 at 3:21 PM, Corinna Vinschen  wrote:
> On Nov 25 16:03, Costin Caraivan wrote:
...
>> 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
>
> You're running the wrong head command. ?This is some activestate perl
> script, not the Cygwin head tool from coreutils. ?Change your $PATH
> to find the Cygwin apps first.

It's HEAD from lwp-request:
http://search.cpan.org/~gaas/libwww-perl-6.03/bin/lwp-request

Found unfortunately due to case-insensitive NTFS.

Costin, try /usr/bin/head explicitly.

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
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]