Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <00e101be9b1c$275a4710$47191ecc@amazon.lbin.com> From: "Ian Zimmerman" To: "Stewart, Wayne" , Subject: Re: bash sees all lines as 80 chars long Date: Mon, 10 May 1999 12:34:42 -0700 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00DE_01BE9AE1.7AB23110" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 ------=_NextPart_000_00DE_01BE9AE1.7AB23110 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit -----Original Message----- From: Stewart, Wayne To: 'Ian Zimmerman' ; cygwin AT sourceware DOT cygnus DOT com Date: Monday, May 10, 1999 12:23 PM Subject: RE: bash sees all lines as 80 chars long > >> > >> >Execute 'stty size' again - it reflects >> >the change. >> > > >> >> Make Windows send bash a SIGWINCH when the size changes. >> Good luck :-) >> > >As above, after resizing the window and executing >'stty size', I see the new window size in the >output of 'stty' which is a cygwin program, so the >new window's line length is available to cygwin. > >So, if the only issue is bash being *automatically* >notified of the window resize event - I'd be happy >with some manual process to tell bash of the new >line length, e.g., 'export COLUMNS=110' or something >similar. > >So does this mean that currently there is not even >a manual process to reset line length? >Is 80 chars for shell lines hard-coded in the >cygwin port? Definitely not. I happily use a 100x40 bash window all the time. But it has to be fixed for a particular run (I do it by changing the Properties tab on the batch file) because Unix programs only modify their idea of screen size in repsonse to SIGWINCH, and Windows doesn't have anything of the sort (or else it is too different and not worth messing up bash code). ------=_NextPart_000_00DE_01BE9AE1.7AB23110 Content-Type: text/x-vcard; name="Myself.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Myself.vcf" BEGIN:VCARD VERSION:2.1 N:Zimmerman;Ian;T FN:Myself ORG:Lightbinders, Inc. TITLE:Network Administrator TEL;WORK;VOICE:(415-)621-5746 TEL;WORK;FAX:(415-)621-5898 ADR;WORK;ENCODING=3DQUOTED-PRINTABLE:;;2325 3rd Street=3D0D=3D0A#324;San = Francisco;California;94107;USA LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:2325 3rd = Street=3D0D=3D0A#324=3D0D=3D0ASan Francisco, California = 94107=3D0D=3D0AUSA URL: URL:http://www.lbin.com EMAIL;PREF;INTERNET:itz AT lbin DOT com REV:19990510T193442Z END:VCARD ------=_NextPart_000_00DE_01BE9AE1.7AB23110 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com ------=_NextPart_000_00DE_01BE9AE1.7AB23110--