public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Mark Wielaard <mark@klomp.org>
Cc: Frysk List <frysk@sourceware.org>
Subject: Re: Patch: word-wrapping for 'help' output
Date: Sun, 02 Mar 2008 16:10:00 -0000	[thread overview]
Message-ID: <m3r6etduhj.fsf@fleche.redhat.com> (raw)
In-Reply-To: <1204462060.8622.20.camel@localhost.localdomain> (Mark Wielaard's message of "Sun\, 02 Mar 2008 13\:47\:40 +0100")

>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> Hmmm. Might be a bug in jline I guess.
Mark> I filed a bug for this issue pointing to this patch.
Mark> http://sourceware.org/bugzilla/show_bug.cgi?id=5817

I forgot to mention that I did see a comment in PtyTerminal saying
that getTerminalWidth caches the result -- oops, that is bad.  At the
very least it should be clearing the cache on SIGWINCH.

I looked at the code a bit more deeply, and it just runs 'stty size'.
It actually looks ok to me, so I don't know what is wrong there.

BTW, PtyTerminal.stty uses Runtime.exec.  I thought that was a no-no
in frysk.

Tom

  reply	other threads:[~2008-03-02 16:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29 21:18 Tom Tromey
2008-03-01 22:04 ` Mark Wielaard
2008-03-02  0:17   ` Tom Tromey
2008-03-02 12:34     ` Mark Wielaard
2008-03-02  0:42   ` Tom Tromey
2008-03-02 12:48     ` Mark Wielaard
2008-03-02 16:10       ` Tom Tromey [this message]
2008-03-02 22:05         ` Mark Wielaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3r6etduhj.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=frysk@sourceware.org \
    --cc=mark@klomp.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).