Am Montag, 3. Mai 2010 22:27:56 schrieb Marcus Hüwe:
On 2010-05-03 16:11:50 +0200, Danny Kukawka wrote:
From 7fb0bf7e8a1b3a87eb394c646425c70aa7d84c2b Mon Sep 17 00:00:00 2001 From: Danny Kukawka <danny.kukawka@web.de> Date: Mon, 3 May 2010 10:05:36 +0200 Subject: [PATCH] add run_pager() and make osc log/diff work like git log/diff
Added new function run_pager() to get 'osc log/diff' work like 'git log/diff' which send the output to PAGER (which is by default: less or what's defined in the environment).
Hmm I don't think it's a good idea to change the default behaviour. What do you think about making it a config option?
Actually, "less" is already checking, if output is a terminal or a pipe/device. So, if someone scripted osc log/diff, he has same behaviour as before. And I personally like the less style by default. Does someone not like it ? bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org