Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 142508

Summary: dispatch-conf need a better separator
Product: Portage Development Reporter: Fredrik <sedrik>
Component: ToolsAssignee: Portage team <dev-portage>
Severity: enhancement CC: radek
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 194041, 358927    
Attachments: clear the screen with curses if possible and fall back to system('clear')

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
Comment 4 Zac Medico gentoo-dev 2011-05-18 05:45:31 UTC
There's a similar fix for etc-update here:;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:

This is in 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:;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:;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:

This is in 2.1.10 and 2.2.0_alpha38.