public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] dispatch-conf not showing correctly
@ 2011-11-07 14:28 Srdjan Rakic
  2011-11-07 14:59 ` Scott Stevenson
  0 siblings, 1 reply; 9+ messages in thread
From: Srdjan Rakic @ 2011-11-07 14:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

Hello,

I've changed MANPAGER to vimmanpager and PAGER to vimpager. Ever since I'm
having trouble with dispatch-conf displaying content in a really weird way.
http://i.imgur.com/YFdLh.jpg
Setting it back to 'less' doesn't help. Any ideas on how to fix this? Here
is my dispatch.conf.conf: http://paste.pocoo.org/show/504112/

Any help appreciated.

Thank you.

[-- Attachment #2: Type: text/html, Size: 561 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] dispatch-conf not showing correctly
  2011-11-07 14:28 [gentoo-user] dispatch-conf not showing correctly Srdjan Rakic
@ 2011-11-07 14:59 ` Scott Stevenson
  2011-11-07 16:04   ` Srdjan Rakic
  2011-11-08  1:19   ` Pandu Poluan
  0 siblings, 2 replies; 9+ messages in thread
From: Scott Stevenson @ 2011-11-07 14:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 517 bytes --]

On 07/11/11 at 09:28 AM, Srdjan Rakic wrote:
> I've changed MANPAGER to vimmanpager and PAGER to vimpager. Ever since I'm
> having trouble with dispatch-conf displaying content in a really weird way.
> http://i.imgur.com/YFdLh.jpg
> Setting it back to 'less' doesn't help. Any ideas on how to fix this? Here
> is my dispatch.conf.conf: http://paste.pocoo.org/show/504112/

The ANSI escape sequences are from colordiff; try changing line 25 of
dispatch.conf to use plain diff instead.

-- 
Scott Stevenson

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] dispatch-conf not showing correctly
  2011-11-07 14:59 ` Scott Stevenson
@ 2011-11-07 16:04   ` Srdjan Rakic
  2011-11-08  1:19   ` Pandu Poluan
  1 sibling, 0 replies; 9+ messages in thread
From: Srdjan Rakic @ 2011-11-07 16:04 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 650 bytes --]

Thank you! That solved the problem.

On Mon, Nov 7, 2011 at 9:59 AM, Scott Stevenson <scott@scottstvnsn.com>wrote:

> On 07/11/11 at 09:28 AM, Srdjan Rakic wrote:
> > I've changed MANPAGER to vimmanpager and PAGER to vimpager. Ever since
> I'm
> > having trouble with dispatch-conf displaying content in a really weird
> way.
> > http://i.imgur.com/YFdLh.jpg
> > Setting it back to 'less' doesn't help. Any ideas on how to fix this?
> Here
> > is my dispatch.conf.conf: http://paste.pocoo.org/show/504112/
>
> The ANSI escape sequences are from colordiff; try changing line 25 of
> dispatch.conf to use plain diff instead.
>
> --
> Scott Stevenson
>

[-- Attachment #2: Type: text/html, Size: 1215 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] dispatch-conf not showing correctly
  2011-11-07 14:59 ` Scott Stevenson
  2011-11-07 16:04   ` Srdjan Rakic
@ 2011-11-08  1:19   ` Pandu Poluan
  2011-11-08  8:41     ` Scott Stevenson
  1 sibling, 1 reply; 9+ messages in thread
From: Pandu Poluan @ 2011-11-08  1:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 816 bytes --]

On Nov 7, 2011 10:04 PM, "Scott Stevenson" <scott@scottstvnsn.com> wrote:
>
> On 07/11/11 at 09:28 AM, Srdjan Rakic wrote:
> > I've changed MANPAGER to vimmanpager and PAGER to vimpager. Ever since
I'm
> > having trouble with dispatch-conf displaying content in a really weird
way.
> > http://i.imgur.com/YFdLh.jpg
> > Setting it back to 'less' doesn't help. Any ideas on how to fix this?
Here
> > is my dispatch.conf.conf: http://paste.pocoo.org/show/504112/
>
> The ANSI escape sequences are from colordiff; try changing line 25 of
> dispatch.conf to use plain diff instead.
>

I also have been experiencing the same problem, and knew that it's gotta be
something simple >.<

That said, reverting to plain diff will cause me to lose colorization, no?
Hmmm... time to whup up some vim syntax script, then...

Rgds,

[-- Attachment #2: Type: text/html, Size: 1125 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] dispatch-conf not showing correctly
  2011-11-08  1:19   ` Pandu Poluan
@ 2011-11-08  8:41     ` Scott Stevenson
  2011-11-08 16:13       ` Srdjan Rakic
  0 siblings, 1 reply; 9+ messages in thread
From: Scott Stevenson @ 2011-11-08  8:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

On 08/11/11 at 08:19 AM, Pandu Poluan wrote:
> That said, reverting to plain diff will cause me to lose colorization, no?
> Hmmm... time to whup up some vim syntax script, then...

I don't use vimpager, but is it not possible to just issue set
filetype=diff from within for syntax highlighting? Also upon further
inspection, vimpager >= 1.4.2 should filter out escape sequences [1] so
you may want to update if you're running an older version.

[1] http://www.vim.org/scripts/script.php?script_id=1723

-- 
Scott Stevenson

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] dispatch-conf not showing correctly
  2011-11-08  8:41     ` Scott Stevenson
@ 2011-11-08 16:13       ` Srdjan Rakic
  2011-11-08 20:26         ` Mick
  2011-11-09  0:46         ` Pandu Poluan
  0 siblings, 2 replies; 9+ messages in thread
From: Srdjan Rakic @ 2011-11-08 16:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 749 bytes --]

Actually I didn't lose colors.  It seems like colordiff is not needed if
you use vimpager as vimpager itself colorize output.
On Nov 8, 2011 3:47 AM, "Scott Stevenson" <scott@scottstvnsn.com> wrote:

> On 08/11/11 at 08:19 AM, Pandu Poluan wrote:
> > That said, reverting to plain diff will cause me to lose colorization,
> no?
> > Hmmm... time to whup up some vim syntax script, then...
>
> I don't use vimpager, but is it not possible to just issue set
> filetype=diff from within for syntax highlighting? Also upon further
> inspection, vimpager >= 1.4.2 should filter out escape sequences [1] so
> you may want to update if you're running an older version.
>
> [1] http://www.vim.org/scripts/script.php?script_id=1723
>
> --
> Scott Stevenson
>

[-- Attachment #2: Type: text/html, Size: 1129 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] dispatch-conf not showing correctly
  2011-11-08 16:13       ` Srdjan Rakic
@ 2011-11-08 20:26         ` Mick
  2011-11-09  0:51           ` Pandu Poluan
  2011-11-09  0:46         ` Pandu Poluan
  1 sibling, 1 reply; 9+ messages in thread
From: Mick @ 2011-11-08 20:26 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 404 bytes --]

On Tuesday 08 Nov 2011 16:13:17 Srdjan Rakic wrote:
> Actually I didn't lose colors.  It seems like colordiff is not needed if
> you use vimpager as vimpager itself colorize output.
>

I'm using colordiff like so:

diff="colordiff -Nu '%s' '%s' | less --no-init --QUIT-AT-EOF"

I don't have your problem with ASCII characters (using urxvt) and of course I 
have colors.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] dispatch-conf not showing correctly
  2011-11-08 16:13       ` Srdjan Rakic
  2011-11-08 20:26         ` Mick
@ 2011-11-09  0:46         ` Pandu Poluan
  1 sibling, 0 replies; 9+ messages in thread
From: Pandu Poluan @ 2011-11-09  0:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 889 bytes --]

> On Nov 8, 2011 3:47 AM, "Scott Stevenson" <scott@scottstvnsn.com> wrote:
>>
>> On 08/11/11 at 08:19 AM, Pandu Poluan wrote:
>> > That said, reverting to plain diff will cause me to lose colorization,
no?
>> > Hmmm... time to whup up some vim syntax script, then...
>>
>> I don't use vimpager, but is it not possible to just issue set
>> filetype=diff from within for syntax highlighting? Also upon further
>> inspection, vimpager >= 1.4.2 should filter out escape sequences [1] so
>> you may want to update if you're running an older version.
>>
>> [1] http://www.vim.org/scripts/script.php?script_id=1723
>>
On Nov 9, 2011 12:02 AM, "Srdjan Rakic" <srki80@gmail.com> wrote:
>
> Actually I didn't lose colors.  It seems like colordiff is not needed if
you use vimpager as vimpager itself colorize output.
>

Ah, thanks for the info! I'm going to revert to plain old diff then :-)

Rgds,

[-- Attachment #2: Type: text/html, Size: 1288 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] dispatch-conf not showing correctly
  2011-11-08 20:26         ` Mick
@ 2011-11-09  0:51           ` Pandu Poluan
  0 siblings, 0 replies; 9+ messages in thread
From: Pandu Poluan @ 2011-11-09  0:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 644 bytes --]

On Nov 9, 2011 4:02 AM, "Mick" <michaelkintzios@gmail.com> wrote:
>
> On Tuesday 08 Nov 2011 16:13:17 Srdjan Rakic wrote:
> > Actually I didn't lose colors.  It seems like colordiff is not needed if
> > you use vimpager as vimpager itself colorize output.
> >
>
> I'm using colordiff like so:
>
> diff="colordiff -Nu '%s' '%s' | less --no-init --QUIT-AT-EOF"
>
> I don't have your problem with ASCII characters (using urxvt) and of
course I
> have colors.

Yes that was how my box was originally set up. Then I switch to vimpager,
and the last worldwide emerge (my term for 'emerge -avuND @world') produced
a lot of ANSI gobbledegook...

Rgds,

[-- Attachment #2: Type: text/html, Size: 893 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-11-09  0:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-07 14:28 [gentoo-user] dispatch-conf not showing correctly Srdjan Rakic
2011-11-07 14:59 ` Scott Stevenson
2011-11-07 16:04   ` Srdjan Rakic
2011-11-08  1:19   ` Pandu Poluan
2011-11-08  8:41     ` Scott Stevenson
2011-11-08 16:13       ` Srdjan Rakic
2011-11-08 20:26         ` Mick
2011-11-09  0:51           ` Pandu Poluan
2011-11-09  0:46         ` Pandu Poluan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox