%attr(555,root,root) /usr/bin/*
%attr(0644,root,root) /usr/share/man/man1/*
+%attr(0644,root,root) /usr/share/man/man5/*
%attr(0644,root,root) /usr/share/man/man8/*
$(bin)ps: ps/ps
- install --mode a=rx --strip $< $@
+ $(install) --mode a=rx --strip $< $@
$(man1)ps.1 : ps/ps.1
- install --mode a=r $< $@
+ $(install) --mode a=r $< $@
-rm -f $(DESTDIR)/var/catman/cat1/ps.1.gz $(DESTDIR)/var/man/cat1/ps.1.gz
if (chin(0, &c, 1) <= 0) {
fcntl(STDIN_FILENO, F_SETFL, file_flags);
select(1, &fs, NULL, NULL, &tv);
+ fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK|file_flags);
}
- fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK|file_flags);
if (chin(0, &c, 1) > 0) {
fcntl(STDIN_FILENO, F_SETFL, file_flags);
do_key((unsigned)c);