From mboxrd@z Thu Jan 1 00:00:00 1970 From: chet.ramey@case.edu (Chet Ramey) Date: Thu, 28 Sep 2017 14:04:55 -0400 Subject: [TUHS] UNIX of choice these days? In-Reply-To: <20170928175726.GB41732@accordion.employees.org> References: <20170927020214.GG28606@mcvoy.com> <4e49a311-704d-6b70-92b3-27c6565f8aa0@case.edu> <20170927141706.GI28606@mcvoy.com> <20170928081059.GA6207@accordion.employees.org> <28d99e78-8223-1756-6fa7-72e6b8254d00@case.edu> <20170928174420.GA41732@accordion.employees.org> <20170928175726.GB41732@accordion.employees.org> Message-ID: On 9/28/17 1:57 PM, Derek Fawcus wrote: > On Thu, Sep 28, 2017 at 06:44:20PM +0100, Derek Fawcus wrote: >> On Thu, Sep 28, 2017 at 08:34:28AM -0400, Chet Ramey wrote: >>> Yes, that changed in 2007 based on bug reports you filed while working at Cisco. >> >> So fd 255 is my fault? :-) > > Or not - given that macOS, using an older bash already used 255: No, the opening of /dev/tty to get the controlling terminal instead of assuming you can use fd 2 for it is your fault. :-) Bash always used an unused fd close to the fd limit to save the handle. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet at case.edu http://cnswww.cns.cwru.edu/~chet/