| 
Created on 2006-01-25.19:17:43 by zooko, last changed 2009-08-27.13:47:08 by admin. 
 
  
   | msg416 (view) | Author: zooko | Date: 2006-01-25.19:17:41 |  |  
   | If you hit "v" it displays trailing whitespace like this " [_$_]".
When you hit "p" it doesn't.  It ought!
This is under cygniw bash with rxvt.
Regards,
Zooko |  
   | msg447 (view) | Author: droundy | Date: 2006-01-31.13:37:45 |  |  
   | On Wed, Jan 25, 2006 at 07:17:43PM +0000, Zooko wrote:
> If you hit "v" it displays trailing whitespace like this " [_$_]".
> 
> When you hit "p" it doesn't.  It ought!
I agree.  At the same time, this should be configurable, since some pagers
won't be happy with ansi color codes, but other will.  Which means
documentation-writing for somebody...
-- 
David Roundy
http://www.darcs.net |  
   | msg450 (view) | Author: zooko | Date: 2006-01-31.18:18:40 |  |  
   | > > If you hit "v" it displays trailing whitespace like this " [_$_]".
> > When you hit "p" it doesn't.  It ought!
> 
> I agree.  At the same time, this should be configurable, since some pagers
> won't be happy with ansi color codes, but other will.  Which means
> documentation-writing for somebody...
Isn't it already configured by DARCS_ALWAYS_COLOR?
I think it is a simple matter of making 'p' do the same thing that 'v' does,
then?
Regards,
Zooko |  
   | msg453 (view) | Author: droundy | Date: 2006-02-02.13:23:30 |  |  
   | On Wed, Feb 01, 2006 at 11:34:25AM -0400, zooko@zooko.com wrote:
> 
> > > > > If you hit "v" it displays trailing whitespace like this "
> > > > > [_$_]".  When you hit "p" it doesn't.  It ought!
> > > > 
> > > > I agree.  At the same time, this should be configurable, since some
> > > > pagers won't be happy with ansi color codes, but other will.  Which
> > > > means documentation-writing for somebody...
> > > 
> > > Isn't it already configured by DARCS_ALWAYS_COLOR?
> > > 
> > > I think it is a simple matter of making 'p' do the same thing that
> > > 'v' does, then?
> > 
> > I am not sure how we should interpret DARCS_ALWAYS_COLOR.  Depending on
> > your pager settings, you may or may not see garbage when using ansi
> > color codes.  I know my less is set up to work fine with color codes,
> > but I'm not sure that was the default.  So a separate "color pager"
> > flag might be worthwhile.
> 
> Did you mean to remove the issue tracker from the Cc: on this mail?
No, I didn't.  I just didn't notice that the tracker was being cc'ed rather
than sent to directly...
> less does not do this by default -- you have to give it the "-R" flag on the
> command-line or in the LESS environment variable, or in a "lesskey" file.
> 
> I don't understand the issue.  If the user sets DARCS_ALWAYS_COLOR to 1, then
> we should send color codes.  If the user sets DARCS_DONT_COLOR to 1 then we
> shouldn't.  If the user has set neither, then we should set it only if stdout
> is a tty which understands color codes.  Right?  How does the difference
> between 'v' and 'p' change this?
I guess that makes sense.  I had been interpreting DARCS_ALWAYS_COLOR to
mean "always color when writing to stdout", but you're right that this is
an artificial distinction.
-- 
David Roundy
http://www.darcs.net |  
   | msg605 (view) | Author: jch | Date: 2006-04-07.23:15:51 |  |  
   | Fixed by
Mon Mar 20 00:41:03 CET 2006  Tommy Pettersson <ptp@lysator.liu.se>
  * write with fancyPrinters to pager (issue108)
Please reopen if not convinced. |  
   | msg641 (view) | Author: tommy | Date: 2006-05-13.18:02:57 |  |  
   | fixed in 1.0.7 |  |
 
| Date | User | Action | Args |  | 2006-01-25 19:17:43 | zooko | create |  |  | 2006-01-31 13:20:31 | droundy | set | nosy:
  droundy, tommy, zooko |  | 2006-01-31 13:37:46 | droundy | set | status: unread -> unknown nosy:
  droundy, tommy, zooko
 messages:
  + msg447
 |  | 2006-01-31 18:18:42 | zooko | set | nosy:
  droundy, tommy, zooko messages:
  + msg450
 |  | 2006-02-02 13:23:31 | droundy | set | nosy:
  droundy, tommy, zooko messages:
  + msg453
 |  | 2006-04-07 23:15:53 | jch | set | status: unknown -> resolved-in-unstable nosy:
  + jch
 messages:
  + msg605
 |  | 2006-05-13 18:02:57 | tommy | set | status: resolved-in-unstable -> resolved nosy:
  droundy, jch, tommy, zooko
 messages:
  + msg641
 |  | 2009-08-06 17:37:14 | admin | set | nosy:
  + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, dagit, mornfall, simon, kowey, beschmi, thorkilnaur, - droundy, jch |  | 2009-08-06 20:48:20 | admin | set | nosy:
  - beschmi |  | 2009-08-10 21:48:50 | admin | set | nosy:
  + jch, - markstos, darcs-devel, jast, dagit, Serware, mornfall |  | 2009-08-25 17:51:06 | admin | set | nosy:
  + darcs-devel, - simon |  | 2009-08-27 13:47:08 | admin | set | nosy:
  jch, tommy, kowey, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin | 
 |