[PCB_FORUM] Re: Allegro script problem

  • From: Vinu Arumugham <vinu@xxxxxxxxx>
  • To: icu-pcb-forum@xxxxxxxxxxxxx
  • Date: Mon, 29 Nov 2004 14:03:56 -0800



Gary MacIndoe wrote:

Thanks for the response Kevin. I type "/" (to search), hold down the "Ctrl"
and "v" key, then hit the Enter (Return) key.


That does not look right. Hold down "Ctrl", type "v", release "Ctrl", hit enter. Hit enter again to start the search.

It says at the bottom
"Pattern not found: "[CNTL-V][m]".  Somehow it is like they are not a "^M",
but they are not two separate characters in the file.  I'm really stumped.

Thanks again!

Gary E. MacIndoe
PCB Design Engineer
Advanced Micro Devices, Inc.
Longmont, Colorado




-> -----Original Message----- -> From: Kevin McCowan [mailto:kmccowan@xxxxxxxxxxxxxx] -> Sent: Monday, November 29, 2004 1:46 PM -> To: icu-pcb-forum@xxxxxxxxxxxxx -> Subject: [PCB_FORUM] Re: Allegro script problem -> -> -> That's because it isn't cntrl-v "m" it's cntrl-v "return". -> That will give you a real "return" to search for. -> Try it it will amaze and astound you. -> Vim, it is what real editing is all about. -> -> Kevin McCowan -> Sr. PCB Designer -> TSI Telsys -> -> Gary MacIndoe wrote: -> > Thanks for the response Chris, but I can't seem to get it to -> work. I'm on -> > W2K and using Vim as my editor. -> > -> > It won't accept the "%", but I tried ":s/^M//". It says -> "Pattern not found: -> > ^M" even though I'm looking at a bunch of them in the file. I -> used the two -> > characters "^" and "M" in the search and replace. When I try to use -> > "[CNTL-V][m]" it doesn't work either. In the file, it sees -> the "^M" as one -> > character. -> > -> > Gary E. MacIndoe -> > PCB Design Engineer -> > Advanced Micro Devices, Inc. -> > Longmont, Colorado -> > -> > -> > -> > -> > -> -----Original Message----- -> > -> From: vince fornier [mailto:kerchunk@xxxxxxxxxx] -> > -> Sent: Friday, November 26, 2004 2:00 PM -> > -> To: icu-pcb-forum@xxxxxxxxxxxxx -> > -> Subject: [PCB_FORUM] Re: Allegro script problem -> > -> -> > -> -> > -> -> > -> > Since these scripts are made up of pieces of other -> > -> > scripts, and some hand entry, some lines have a "^M" -> > -> > at the end of the line, and some don't. Could this -> > -> > cause inconsistent behavior? -> > -> -> > -> Yuck! If you've got VI installed on your box, you can -> > -> zap all those pesky ^M characters with the following: -> > -> %s/^M// -> > -> | -> > -> entered as "[CNTL-V][m]" -> > -> -> > -> Dunno if this will solve your problem, but it will clean up your -> > -> codebase and eliminate one possibility of errors. -> > -> -> > -> Good Luck, -> > -> -> > -> Chris Walters -> > -> local Cadence guru -> > -> (Apple) -> > -> -> > -> -> > -> -> > -> _______________________________________________ -> > -> Join Excite! - http://www.excite.com -> > -> The most personalized portal on the Web! -> > -> ----------------------------------------------------------- -> > -> To subscribe/unsubscribe: -> > -> Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx -> > -> with a subject of subscribe or unsubscribe -> > -> -> > -> To view the archives of this list please login at -> > -> //www.freelists.org. Our list name is icu-pcb-forum -> > -> or go to //www.freelists.org/archives/icu-pcb-forum/ -> > -> -> > -> Problems or Questions: -> > -> Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx -> > -> -> > -> Want to post a job listing ? DON'T DO IT HERE! -> > -> Better yet, join our jobs listing forum. -> > -> -> > -> SUBSCRIBE: icu-jobs-forum-subscribe@xxxxxxxxxx -> > -> POST: icu-jobs-forum@xxxxxxxxxx -> > -> ----------------------------------------------------------- -> > -> -> > -> -> > -> > -> > ----------------------------------------------------------- -> > To subscribe/unsubscribe: -> > Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx -> > with a subject of subscribe or unsubscribe -> > -> > To view the archives of this list please login at -> > //www.freelists.org. Our list name is icu-pcb-forum -> > or go to //www.freelists.org/archives/icu-pcb-forum/ -> > -> > Problems or Questions: -> > Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx -> > -> > Want to post a job listing ? DON'T DO IT HERE! -> > Better yet, join our jobs listing forum. -> > -> > SUBSCRIBE: icu-jobs-forum-subscribe@xxxxxxxxxx -> > POST: icu-jobs-forum@xxxxxxxxxx -> > ----------------------------------------------------------- -> ----------------------------------------------------------- -> To subscribe/unsubscribe: -> Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx -> with a subject of subscribe or unsubscribe -> -> To view the archives of this list please login at -> //www.freelists.org. Our list name is icu-pcb-forum -> or go to //www.freelists.org/archives/icu-pcb-forum/ -> -> Problems or Questions: -> Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx -> -> Want to post a job listing ? DON'T DO IT HERE! -> Better yet, join our jobs listing forum. -> -> SUBSCRIBE: icu-jobs-forum-subscribe@xxxxxxxxxx -> POST: icu-jobs-forum@xxxxxxxxxx -> ----------------------------------------------------------- -> ->


-----------------------------------------------------------
To subscribe/unsubscribe: Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
with a subject of subscribe or unsubscribe


To view the archives of this list please login at
//www.freelists.org. Our list name is icu-pcb-forum
or go to //www.freelists.org/archives/icu-pcb-forum/

Problems or Questions:
        Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx

Want to post a job listing ? DON'T DO IT HERE! Better yet, join our jobs listing forum.

SUBSCRIBE:  icu-jobs-forum-subscribe@xxxxxxxxxx
POST:       icu-jobs-forum@xxxxxxxxxx
-----------------------------------------------------------





-----------------------------------------------------------
To subscribe/unsubscribe: Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
with a subject of subscribe or unsubscribe


To view the archives of this list please login at
//www.freelists.org. Our list name is icu-pcb-forum
or go to //www.freelists.org/archives/icu-pcb-forum/

Problems or Questions:
        Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx

Want to post a job listing ? DON'T DO IT HERE! Better yet, join our jobs listing forum.

SUBSCRIBE:  icu-jobs-forum-subscribe@xxxxxxxxxx
POST:       icu-jobs-forum@xxxxxxxxxx
-----------------------------------------------------------

Other related posts: