Re: gEDA-user: PCB no longer has a 50 mil grid size?

2007-11-30 Thread Ben Jackson
On Fri, Nov 30, 2007 at 12:31:51AM -0800, David Griffith wrote:
 I modify src/pcb-menu.res and
 look for these two lines:
 
 { 25 mil   checked=gridsize,2500 SetUnits(mil) SetValue(Grid,2500)}
 {100 mil   checked=gridsize,1 SetUnits(mil) SetValue(Grid,1)}
 
 Then I insert the correct code for 50 mils between those two.

You don't need to recompile,  You just have to put that in your ~/.pcb
and edit your ~/.pcb/settings to point at it (change the pcb-menu
line and uncomment it).

-- 
Ben Jackson AD7GD
[EMAIL PROTECTED]
http://www.ben.com/


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB no longer has a 50 mil grid size?

2007-11-30 Thread Dan McMahill
Ben Jackson wrote:
 On Fri, Nov 30, 2007 at 10:10:25AM +0100, Klaus Rudolph wrote:
 My pcb version takes /usr/local/share/pcb/gpcb-menu.res. I changed the 
 line and 50mil is available. Great!

 What is the difference for pcb-menu and gpcb-menu?
 
 Lesstif HID vs GTK hid.  I think the file formats are the same, it's
 just different default menus.


correct.  The file formats are the same and you could link one to the 
other if you wanted.  By searching for different names though, you're 
not forced into using the same menus.

-Dan




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB no longer has a 50 mil grid size?

2007-11-30 Thread DJ Delorie

I added 50 mil grid settings to the two menu files.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB no longer has a 50 mil grid size?

2007-11-30 Thread David Griffith
On Thu, 29 Nov 2007, Ben Jackson wrote:

 On Fri, Nov 30, 2007 at 08:50:31AM +0100, Klaus Rudolph wrote:
  David Griffith schrieb:
   I just upgraded my installation of PCB from 20070208 to pcb_20070912 and
   noticed that View-Grid_size no longer has an option to set the gridsize
   to 50 mils.  I don't see why that option should have been removed.  Would
   whoever took it out please put it back?
 
  Yes, I need it also! That is my most important grid. I have actually
  both versions installed while 50mil has gone :-( I have no idea how
  normal DIL routing should work without 50mil... wondering...

 You can do :SetValue(Grid,5000) as a workaround until it's changed, or you
 decide to set up your own .res...

 Looks like DJ changed it in Mar 2006 with the HID checkin.  It definitely
 wasn't in 20070208, I just checked the tagged revision (assuming you mean
 lesstif hid).  Perhaps you were picking up a different res file for a while?

The one I'm using is the 20070208p1-1 version installed by Ubuntu which
was taken from Debian.  That one has the 50mil setting.  I think I see how
to change things for a custom .deb build.  I modify src/pcb-menu.res and
look for these two lines:

{ 25 mil   checked=gridsize,2500 SetUnits(mil) SetValue(Grid,2500)}
{100 mil   checked=gridsize,1 SetUnits(mil) SetValue(Grid,1)}

Then I insert the correct code for 50 mils between those two.  But I'm
looking at the file from the Debian source for PCB that does include 50
mils, but that pcb-menu.res lacks a 50 mil clause as well.

scratches head

-- 
David Griffith
[EMAIL PROTECTED]

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB no longer has a 50 mil grid size?

2007-11-30 Thread Ben Jackson
On Fri, Nov 30, 2007 at 10:10:25AM +0100, Klaus Rudolph wrote:

 My pcb version takes /usr/local/share/pcb/gpcb-menu.res. I changed the 
 line and 50mil is available. Great!
 
 What is the difference for pcb-menu and gpcb-menu?

Lesstif HID vs GTK hid.  I think the file formats are the same, it's
just different default menus.

-- 
Ben Jackson AD7GD
[EMAIL PROTECTED]
http://www.ben.com/


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB no longer has a 50 mil grid size?

2007-11-30 Thread Klaus Rudolph
Ben Jackson schrieb:
 On Fri, Nov 30, 2007 at 12:31:51AM -0800, David Griffith wrote:
 I modify src/pcb-menu.res and
 look for these two lines:

 { 25 mil   checked=gridsize,2500 SetUnits(mil) SetValue(Grid,2500)}
 {100 mil   checked=gridsize,1 SetUnits(mil) SetValue(Grid,1)}

 Then I insert the correct code for 50 mils between those two.
 
 You don't need to recompile,  You just have to put that in your ~/.pcb
 and edit your ~/.pcb/settings to point at it (change the pcb-menu
 line and uncomment it).
 
My pcb version takes /usr/local/share/pcb/gpcb-menu.res. I changed the 
line and 50mil is available. Great!

What is the difference for pcb-menu and gpcb-menu?

Thanks


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB no longer has a 50 mil grid size?

2007-11-29 Thread Ben Jackson
On Fri, Nov 30, 2007 at 08:50:31AM +0100, Klaus Rudolph wrote:
 David Griffith schrieb:
  I just upgraded my installation of PCB from 20070208 to pcb_20070912 and
  noticed that View-Grid_size no longer has an option to set the gridsize
  to 50 mils.  I don't see why that option should have been removed.  Would
  whoever took it out please put it back?
  
 
 Yes, I need it also! That is my most important grid. I have actually 
 both versions installed while 50mil has gone :-( I have no idea how 
 normal DIL routing should work without 50mil... wondering...

You can do :SetValue(Grid,5000) as a workaround until it's changed, or you
decide to set up your own .res...

Looks like DJ changed it in Mar 2006 with the HID checkin.  It definitely
wasn't in 20070208, I just checked the tagged revision (assuming you mean
lesstif hid).  Perhaps you were picking up a different res file for a while?

-- 
Ben Jackson AD7GD
[EMAIL PROTECTED]
http://www.ben.com/


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB no longer has a 50 mil grid size?

2007-11-29 Thread Klaus Rudolph
David Griffith schrieb:
 I just upgraded my installation of PCB from 20070208 to pcb_20070912 and
 noticed that View-Grid_size no longer has an option to set the gridsize
 to 50 mils.  I don't see why that option should have been removed.  Would
 whoever took it out please put it back?
 

Yes, I need it also! That is my most important grid. I have actually 
both versions installed while 50mil has gone :-( I have no idea how 
normal DIL routing should work without 50mil... wondering...




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user