element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) -N has no effect on promt suppression?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Autodesk EAGLE requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 2 replies
  • Answers 1 answer
  • Subscribers 146 subscribers
  • Views 150 views
  • Users 0 members are here
  • command
  • line
  • options
  • cli
  • cam
Related

-N has no effect on promt suppression?

Former Member
Former Member over 10 years ago

Hi,

 

I'm hacking together some scripts to CAM process my boards automatically. My current command line looks like

 

> eagle -C " " -N- -X -d EPS some.brd -o some.tl.eps Top Pads Vias
EAGLE Version 6.4.0 Copyright (c) 1988-2013 CadSoft                       
CAM Processor: Encapsulated PostScript                                    
: ------------------------------                                          
Package 'PACK-SOT89' of element 'E$18' contains a polygon that may cause extremely large plot data.
Continue?
[Yes No](y):
…                                                               
> eagle -C " " -N+ -X -d EPS some.brd -o some.tl.eps Top Pads Vias
EAGLE Version 6.4.0 Copyright (c) 1988-2013 CadSoft                       
CAM Processor: Encapsulated PostScript                                    
: ------------------------------                                          
Package 'PACK-SOT89' of element 'E$18' contains a polygon that may cause extremely large plot data.
Continue?
[Yes No](y):
…

 

The problem here is that neither the '-N-' nor the '-N+' option does not what it is supposed to do according to the manual,

 

Yes, I tried both versions, because http://www.cadsoft.de/wp-content/uploads/2011/05/V6_manual_en.pdf says:

-N+ Suppress message prompts

but in the F1 help of my installation I can read:

-N- keine Rückfragen in der Kommandozeile

UPDATE: Just found out that the +/- inidcates the option's default – still wondering why the german and english version should have different defaults.

 

In fact I just need a way to tell eagle not to stop processing, but answer all questions with yes.

 

Thanks

Moritz

  • Sign in to reply
  • Cancel
  • dukepro
    0 dukepro over 10 years ago

    On 11/13/2013 05:10 AM, Moritz Augsburger wrote:

    Hi,

     

    I'm hacking together some scripts to CAM process my boards

    automatically. My current command line looks like

    ...

     

    The problem here is that neither the '-N-' nor the '-N+' option does

    not what it is supposed to do according to the manual

     

    I ran across the same thing somewhere in v5, and it has not been fixed

    in v6.

     

    , Yes, I tried both versions, because

    http://www.cadsoft.de/wp-content/uploads/2011/05/V6_manual_en.pdf says:

    -N+ Suppress message prompts

    but in the F1 help of my installation I can read:

    -N- keine Rückfragen in der Kommandozeile

     

     

    Try:

     

        echo n | eagle -C " " -N- -X -d EPS some.brd -o some.tl.eps Top Pads

        Vias

     

     

    In fact I just need a way to tell eagle not to stop processing, but

    answer all questions with yes.

     

    echo -e "y\ny\ny\ny\ny\ny\ny\ny\n" | eagle -C " " ...

     

     

     

    Attachments:
    7128.att1.html.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to dukepro

    echo -e "y\ny\ny\ny\ny\ny\ny\ny\n" | eagle -C " " ...

     

    Will test this, but it looks good – except there is a little program called yes for this purpose:

     

    > yes | head
    y
    y
    y
    y
    y
    y
    y
    y
    y
    y

     

    So the better version of your solution should look like

     

    yes | eagle -C " " ...

     

    Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube