Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142508 - dispatch-conf need a better separator
Summary: dispatch-conf need a better separator
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 194041 358927
  Show dependency tree
 
Reported: 2006-08-02 02:14 UTC by Fredrik
Modified: 2011-06-06 12:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
clear the screen with curses if possible and fall back to system('clear') (clear_screen.patch,888 bytes, patch)
2007-10-01 03:17 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fredrik 2006-08-02 02:14:27 UTC
As I see it dispatch-conf needs a new and better separator between the config files it wants to edit. Currently it seems to be just a simple \n which is not sufficient when running on my screen (running term in fullscreen showing around 60-70 lines at the same time). The screen becomes cluttered and it's hard to follow where the current file starts and the last one ended (especialy when they are of different size).

I suggest that either a clear screen is runned or a larger separator is implemented (three or four new line will do).
Comment 1 Pablo Antonio 2006-08-02 17:12:29 UTC
Well, I've noticed this and had the same idea. Actually, I think a "clear" would be perfect. However, I could be forgetting something.
Comment 2 Zac Medico gentoo-dev 2007-10-01 03:17:06 UTC
Created attachment 132280 [details, diff]
clear the screen with curses if possible and fall back to system('clear')

This is fixed in svn r7893.
Comment 3 Zac Medico gentoo-dev 2007-10-06 04:35:27 UTC
This has been released in 2.1.3.12.
Comment 4 Zac Medico gentoo-dev 2011-05-18 05:45:31 UTC
There's a similar fix for etc-update here:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=5cfba96ca932266c7b50c9e432f13dd858e031db
Comment 5 Zac Medico gentoo-dev 2011-05-27 04:58:06 UTC
(In reply to comment #4)
> There's a similar fix for etc-update here:
> 
> http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=5cfba96ca932266c7b50c9e432f13dd858e031db

This is in 2.1.9.50 and 2.2.0_alpha34.
Comment 6 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-05-31 12:05:09 UTC
Ugh, I really dislike the new etc-update behavior. Do we really need this?
Comment 7 Fabian Groffen gentoo-dev 2011-05-31 12:07:50 UTC
+1, can we make this configurable perhaps?
Comment 8 Zac Medico gentoo-dev 2011-05-31 21:51:25 UTC
Ok, I've added a clear_term config setting for this:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=254e853c8a6aad06d4781b0eb0f5a1d2e1919754
Comment 9 Zac Medico gentoo-dev 2011-06-03 05:25:45 UTC
I've disabled clear_term by default for etc-update:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=8f677b5e1d7c8e41c4b677b4cf802b1e8ab21a69
Comment 10 Zac Medico gentoo-dev 2011-06-06 12:59:19 UTC
(In reply to comment #9)
> I've disabled clear_term by default for etc-update:
> 
> http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=8f677b5e1d7c8e41c4b677b4cf802b1e8ab21a69

This is in 2.1.10 and 2.2.0_alpha38.