[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
** Changed in: libedit (Debian) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libedit/+bug/322214/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
** Branch linked: lp:debian/libedit -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libedit/+bug/322214/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
The problem still exists on 11.10. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libedit/+bug/322214/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
Closing the PHP task.. its not really fixable in PHP. ** Changed in: php5 (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libedit/+bug/322214/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
This bug was fixed in the package libedit - 2.11-20080614-3ubuntu1 --- libedit (2.11-20080614-3ubuntu1) precise; urgency=low * libedit/tty.c: grabs controlling terminal even when output is a non tty, causing things like php | less to mis-function. Patch changes this behavior to work more like readline. (LP: #322214) -- Clint ByrumWed, 26 Jan 2011 13:04:09 -0800 ** Changed in: libedit (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libedit/+bug/322214/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
FYI, the upstream thread is here: http://mail-index.netbsd.org/tech-userlevel/2011/01/26/msg004486.html And I got one positive response. However, it does not appear that the patch ever landed upstream. Since this is linux specific, I think we can have this as a patch to libedit and carry it as part of libedit's port to linux. So I've uploaded the fix to precise. ** Also affects: libedit (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286356 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libedit/+bug/322214/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
** Branch linked: lp:ubuntu/libedit -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libedit/+bug/322214/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
** Changed in: libedit (Debian) Status: Unknown => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libedit/+bug/322214/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
** Branch linked: lp:~clint-fewbar/ubuntu/natty/libedit/fix-tty-handling -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
Ok so the real problem is actually this: ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0 When this happens, the terminal is under control and less can't take it. I've proposed a patch to libedit to avoid doing this if stdout is not a tty, and forwarded it along to the upstream mailing list for discussion there. I will also propose a merge shortly. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
Note that neither Debian Lenny (php5-cli 5.2.6.dfsg.1-1+lenny10) nor Debian Squeeze (php5-cli 5.3.3-7+squeeze1) have this problem; Upcoming 11.04 Natty Narwhal still does have it, as you know. Thanks for your work on this @Clint -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
** Summary changed: - php (via libedit update_history()) incorrectly opens stdin + php (via libedit using_history()) incorrectly opens stdin -- php (via libedit using_history()) incorrectly opens stdin https://bugs.launchpad.net/bugs/322214 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
This seems to be the same (very old) bug in debian http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286356 ** Bug watch added: Debian Bug tracker #286356 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286356 -- php (via libedit using_history()) incorrectly opens stdin https://bugs.launchpad.net/bugs/322214 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
While looking at this, I gave my test program a try on NetBSD 5.0.2, and the terminal is handled correctly, so this may be specific to glibc and/or linux terminal I/O. -- php (via libedit using_history()) incorrectly opens stdin https://bugs.launchpad.net/bugs/322214 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
Settings tatus of the php5 task back to Confirmed. This needs to be forwarded upstream to PHP before it is considered Triaged. ** Changed in: php5 (Ubuntu) Status: Triaged => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
** Changed in: php5 (Ubuntu) Assignee: (unassigned) => Clint Byrum (clint-fewbar) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
** Branch linked: lp:~clint-fewbar/ubuntu/natty/libedit/fix-terminal- grabbing -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. https://bugs.launchpad.net/bugs/322214 Title: php (via libedit using_history()) incorrectly opens stdin -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs