php-general Digest 11 Sep 2013 16:37:45 -0000 Issue 8361
Topics (messages 322066 through 322068):
Hey, I have a full time PHP developer position in Chicago!
322066 by: Steve Gadlin
322067 by: Matt Giddings
PHP CLI setting cooked terminal mode
322068 by: Alain Williams
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Howdy. My name is Steve, and I run the web department for Weigel
Broadcasting in Chicago. We're looking for a senior-level PHP developer to
add to our team.
This is a full time gig with benefits. As it's an in-house thing, we're
happy to meet with people outside Chicago if they're willing to relocate
for the job.
What do we need? Oh, just someone who's great with PHP. We need someone who
can decipher our existing homegrown CMS and work with frameworks like
Kohana and Wordpress.
We need a Jack or Jill of all trades... someone comfortable using SSH and
messing around from the Linux prompt, and someone comfortable learning a
new API. An understanding of advanced front-end coding would be swell...
but we have a front-end coder on staff, so a passing familiarity will
suffice.
You'll be building out websites with very large built-in audiences. This is
rewarding work for an amazing company. And your boss will be some guy who,
off hours, draws stick figure cats for people (
http://iwanttodrawacatforyou.com).
Thanks for reading, and I apologize for dropping into your PHP party to
simply spout ads at you. I promise to try and participate in some
meaningful way when I see an opening!
Interested? Know someone who's interested? Reach out to me directly (
st...@blewt.com) and we'll skip this whole resume nonsense.
Beans!
Steve Gadlin
--
Steve Gadlin
Blewt! LLC
312-77-BLEWT
<http://iwanttodrawacatforyou.com/>Steev.org - IWantToDrawACatForYou.com -
TwoFilmTShirts.com - Blewt.com
<http://blewt.com>
--- End Message ---
--- Begin Message ---
Sorry I can't relocate at the time. Thanks for sending me the notification
though. : )
Matt
On Tue, Sep 10, 2013 at 10:41 AM, Steve Gadlin <st...@blewt.com> wrote:
> Howdy. My name is Steve, and I run the web department for Weigel
> Broadcasting in Chicago. We're looking for a senior-level PHP developer to
> add to our team.
>
> This is a full time gig with benefits. As it's an in-house thing, we're
> happy to meet with people outside Chicago if they're willing to relocate
> for the job.
>
> What do we need? Oh, just someone who's great with PHP. We need someone who
> can decipher our existing homegrown CMS and work with frameworks like
> Kohana and Wordpress.
>
> We need a Jack or Jill of all trades... someone comfortable using SSH and
> messing around from the Linux prompt, and someone comfortable learning a
> new API. An understanding of advanced front-end coding would be swell...
> but we have a front-end coder on staff, so a passing familiarity will
> suffice.
>
> You'll be building out websites with very large built-in audiences. This is
> rewarding work for an amazing company. And your boss will be some guy who,
> off hours, draws stick figure cats for people (
> http://iwanttodrawacatforyou.com).
>
> Thanks for reading, and I apologize for dropping into your PHP party to
> simply spout ads at you. I promise to try and participate in some
> meaningful way when I see an opening!
>
> Interested? Know someone who's interested? Reach out to me directly (
> st...@blewt.com) and we'll skip this whole resume nonsense.
>
> Beans!
>
> Steve Gadlin
>
>
>
> --
> Steve Gadlin
> Blewt! LLC
> 312-77-BLEWT
>
> <http://iwanttodrawacatforyou.com/>Steev.org - IWantToDrawACatForYou.com -
> TwoFilmTShirts.com - Blewt.com
>
> <http://blewt.com>
>
--- End Message ---
--- Begin Message ---
Hi,
I am running a PHP script at the command line and piping the output through
less:
./myScript | less
Since less is an interactive program it puts the terminal into 'raw' mode so
that it can read characters one at a time. However, when I do the above I find
that the commands that I type to less are echoed back to me and not acted on
until I type <RETURN>. This is not as it should be.
The sript is not doing anything really clever, just looking at a few files and
printing out directory contents, time stamps, ...
If I run the script under strace I see:
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
I can get it to not do this by connect stdout to /dev/null:
./myScript > /dev/null | less
another way of getting it to work is (and this shows that it really is PHP that
is messing the tty modes):
./myScript > /dev/null | (sleep 10;less)
However: PHP should not set the terminal to cooked mode in the first place
Is there any way in which I can get PHP to not do this ?
TIA
I am running PHP 5.3.3 on CentOS 6.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information:
http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>
--- End Message ---