Mail Archives: cygwin/2012/03/06/14:46:50
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_RX
|
X-Spam-Check-By: | sourceware.org
|
Received-SPF: | pass (google.com: domain of d DOT sastre DOT medina AT gmail DOT com designates 10.180.104.65 as permitted sender) client-ip=10.180.104.65;
|
Authentication-Results: | mr.google.com; spf=pass (google.com: domain of d DOT sastre DOT medina AT gmail DOT com designates 10.180.104.65 as permitted sender) smtp.mail=d DOT sastre DOT medina AT gmail DOT com; dkim=pass header.i=d DOT sastre DOT medina AT gmail DOT com
|
Date: | Tue, 6 Mar 2012 20:46:22 +0100
|
From: | David Sastre Medina <d DOT sastre DOT medina AT gmail DOT com>
|
To: | cygwin AT cygwin DOT com
|
Subject: | Re: mintty scroll to bottom
|
Message-ID: | <20120306194622.GA6006@jethro.local.lan>
|
References: | <CC0D9E8456BA41488A76AFE4E8F3A369032A266A AT de011305 DOT de DOT ina DOT com> <CAHWeT-YSb9LaXaa3CmVh94Jy0uOGrdzhVRi-uKW32Ufs-xyWSg AT mail DOT gmail DOT com> <20120302084105 DOT GA14404 AT calimero DOT vinschen DOT de> <CAHWeT-bLaPojmj=M+AqFWU3bQN_j7CsLM-a3wMHcFYpHj2EtdQ AT mail DOT gmail DOT com> <20120304115048 DOT GB18852 AT calimero DOT vinschen DOT de> <CC0D9E8456BA41488A76AFE4E8F3A3690330F712 AT de011305 DOT de DOT ina DOT com> <4F54F70E DOT 7080504 AT cs DOT utoronto DOT ca> <CC0D9E8456BA41488A76AFE4E8F3A3690330FD5F AT de011305 DOT de DOT ina DOT com>
|
MIME-Version: | 1.0
|
In-Reply-To: | <CC0D9E8456BA41488A76AFE4E8F3A3690330FD5F@de011305.de.ina.com>
|
User-Agent: | Mutt/1.5.21 (2010-09-15)
|
X-IsSubscribed: | yes
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
Sender: | cygwin-owner AT cygwin DOT com
|
Mail-Followup-To: | cygwin AT cygwin DOT com
|
Delivered-To: | mailing list cygwin AT cygwin DOT com
|
--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Mar 05, 2012 at 07:57:29PM +0100, Lemke, Michael SZ/HZA-ZSW wrote:
> On March 05, 2012 6:26 PM Ryan Johnson wrote:
> >On 05/03/2012 5:05 AM, Lemke, Michael SZ/HZA-ZSW wrote:
> >> On March 04, 2012 12:51 PM, Corinna Vinschen wrote:
> >>> On Mar 2 20:20, Andy Koppe wrote:
> >>>> On 2 March 2012 08:41, Corinna Vinschen wrote:
> >>>>> On Mar 1 20:43, Andy Koppe wrote:
> >>>>>> On 29 February 2012 12:46, Lemke, Michael SZ/HZA-ZSW wrote:
> >>>>>>> What is the mintty equivalent to rxvt/xterm's
> >>>>>>>
> >>>>>>> -si|+si
> >>>>>>> Turn on/off scroll-to-bottom on TTY output inhibit;
> >>>>>>> resource scrollTtyOutput has opposite effect.
> >>>>>> There's no such option. Shift+End will get you back to the current
> >>>>>> output after looking at something in the scrollback, as will any
> >>>>>> keypress that sends something to the terminal.
> >>>>> Any chance to implement this? Automatic scroll-to-bottom is a usef=
ul
> >>>>> feature, IMHO.
> >>>> I disagree. The point of being able to scroll back to earlier output
> >>>> is to read and perhaps copy something. When doing that, having the
> >>>> scrollback jump back to the bottom without the user asking for it is
> >>>> rather unhelpful. The Windows console does this, and I always found =
it
> >>>> really frustrating.
> >>> THat's why this is an option in xterm. Every use has another idea how
> >>> the terminal should behave in this regard, I guess.
> >> I'd also appreciate very much implementing that option. mintty is
> >> promoted here as a replacement for rxvt but obviously lacks a function=
ality
> >> I've come to depend on. My use case is a terminal window in which I d=
on't
> >> do much but where a lot of background jobs regularly produce output.
> >> A quick glance at the window tells me the current status of those jobs.
> >> Not with mintty anymore. Same with the classic use case tail -f logfi=
le.
> >What you describe above sounds more like mintty allowing a visible "end=
=20
> >of output" to scroll off the bottom without following it, a behavior=20
> >I've never observed and which would arguably be a bug.
>=20
> That's not what I said.
>=20
> >
> >When I fire up something that produces copious output (gcc bootstrap,=20
> >compile emacs, etc.) mintty scrolls to track end-of-output unless I=20
> >purposefully scroll upward=20
>=20
> Right, same here. Turning on scroll-to-bottom would change that. It
> scrolls to bottom immediately.
>=20
> >(in which case I'd prefer it to stay put long=20
> >enough to read/copy the text rather than immediately jumping me back to=
=20
> >end-of-output).=20
>=20
> That depends on what I am doing in such a terminal. I might have a
> tail -f /var/log/messages & in that session on a system with low=20
> syslog activity. I want to be notified immediately if there is=20
> output and don't mind being interrupted.
>=20
> >Once the scrollbar is set back to bottom, it again=20
> >tracks end-of-output.=20
>=20
> Correct. And that's the step I want to skip. The si-option does
> exactly that.
>=20
> >
> >Am I missing something? Or do your background jobs just produce output=
=20
> >really infrequently compared to 'make all'?
>=20
> In this case yes, but I also like scroll-to-bottom if there's more output.
>=20
> >The latter is the only way I=20
> >can see "reading stuff from the past" and "scroll-to-bottom" coexisting=
=20
> >peacefully=20
>=20
> They usually won't. That=E2=80=99s why this should be an option and not =
the=20
> default.
Most of the behaviour discussed in this thread can be achieved or
emulated using screen (notification on activity, scroll and output
logging at will, etc). Might be useful to take a look at it.
--=20
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56
--xHFwDpU9dbj6ez1V
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iF4EAREIAAYFAk9WaY4ACgkQ95urBFKZ7FZ8NwD+NPi2hMBKlL4KbnkZt0GyhdiX
dG5UjEIKzpV7D3qLTAgA/Ai+725dfEHmJ11X9KhF70L69attBJ75ZVBJ9jIjTI3J
=Gfyc
-----END PGP SIGNATURE-----
--xHFwDpU9dbj6ez1V--
- Raw text -