Re: [U2] Editors and environments we like to use--digression from talking about mvToolBox.
Easy in visual studio to search and replace within a scope (e.g. project/solution/open files etc) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David Jordan Sent: 20 February 2012 22:41 To: U2 Users List Subject: Re: [U2] Editors and environments we like to use--digression from talking about mvToolBox. How would you do this in a GUI Editor I can use the TCL Editor in universe to change a variable name in a 1,000 programs in a program file by the following process. ED &ED& PROG.CHANGE 2: C/OLD.ATTRIBUTE.NAME/NEW.ATTRIBUTE.NAME/G1000 3: FI 4: LOOP 2 1000 ED BP * .X PROG.CHANGE There are pros and cons of both environments David Jordan ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1424 / Virus Database: 2112/4821 - Release Date: 02/20/12 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Editors and environments we like to use
If I would need to change a variable in a hundreds of programs, usually required when an INCLUDE variable changes, I would use the Search and Replace. I would hope the variable is unique enough that I would still like to see every line it is reference before starting a massive change. Since my source is local via my version control project in SVN, the locking component has really no value. I would then copy my changes from my local file to the database or I would check them into SVN depending on where I am in the change process. Regards, Doug www.u2logic.com/XLr8_Editor.html On Mon, Feb 20, 2012 at 5:21 PM, David Jordan wrote: > Whilst these editors can do it to a file in the directory, they are > bypassing the record locking within UniVerse. > > I am playing devil's advocate, that whilst there are some things easier to > do in a Gui, there are some things easier to do in a green screen editor. > I jump back and forward between GUI editors and green screen editors all > the time to take advantage of their different functionality. > > Regards > David Jordan > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto: > u2-users-boun...@listserver.u2ug.org] On Behalf Of Boydell, Stuart > Sent: Tuesday, 21 February 2012 10:02 AM > To: U2 Users List > Subject: Re: [U2] Editors and environments we like to use > > I just read this article on tools and the concept of a "backplane" as an > IDE. Read the article and the linked articles inside it to see that this > discussion about X v Y is really pointless. :) > > http://www.johndcook.com/blog/2012/02/17/whats-your-backplane/ > > David, I think most common IDEs/editors I can think of will do this type > of universal search and replace across selected sets of files or entire > directory trees. Most of them allow regex too which ED does not. > > Cheers, > Stuart > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Editors and environments we like to use
Whilst these editors can do it to a file in the directory, they are bypassing the record locking within UniVerse. I am playing devil's advocate, that whilst there are some things easier to do in a Gui, there are some things easier to do in a green screen editor. I jump back and forward between GUI editors and green screen editors all the time to take advantage of their different functionality. Regards David Jordan -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Boydell, Stuart Sent: Tuesday, 21 February 2012 10:02 AM To: U2 Users List Subject: Re: [U2] Editors and environments we like to use I just read this article on tools and the concept of a "backplane" as an IDE. Read the article and the linked articles inside it to see that this discussion about X v Y is really pointless. :) http://www.johndcook.com/blog/2012/02/17/whats-your-backplane/ David, I think most common IDEs/editors I can think of will do this type of universal search and replace across selected sets of files or entire directory trees. Most of them allow regex too which ED does not. Cheers, Stuart ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Editors and environments we like to use--digression from talking about mvToolBox.
Sure that's possible, but I can't recall ever needing to change a reference in every program which exists. Why would you need such a thing -Original Message- From: David Jordan To: U2 Users List Sent: Mon, Feb 20, 2012 2:40 pm Subject: Re: [U2] Editors and environments we like to use--digression from talking about mvToolBox. How would you do this in a GUI Editor I can use the TCL Editor in universe to change a variable name in a 1,000 programs in a program file by the following process. ED &ED& PROG.CHANGE 2: C/OLD.ATTRIBUTE.NAME/NEW.ATTRIBUTE.NAME/G1000 3: FI 4: LOOP 2 1000 ED BP * .X PROG.CHANGE There are pros and cons of both environments David Jordan ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Editors and environments we like to use
I just read this article on tools and the concept of a "backplane" as an IDE. Read the article and the linked articles inside it to see that this discussion about X v Y is really pointless. :) http://www.johndcook.com/blog/2012/02/17/whats-your-backplane/ David, I think most common IDEs/editors I can think of will do this type of universal search and replace across selected sets of files or entire directory trees. Most of them allow regex too which ED does not. Cheers, Stuart -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David Jordan Sent: Tuesday, 21 February 2012 09:41 To: U2 Users List Subject: Re: [U2] Editors and environments we like to use--digression from talking about mvToolBox. How would you do this in a GUI Editor I can use the TCL Editor in universe to change a variable name in a 1,000 programs in a program file by the following process. ED &ED& PROG.CHANGE 2: C/OLD.ATTRIBUTE.NAME/NEW.ATTRIBUTE.NAME/G1000 3: FI 4: LOOP 2 1000 ED BP * .X PROG.CHANGE There are pros and cons of both environments David Jordan ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Editors and environments we like to use--digression from talking about mvToolBox.
How would you do this in a GUI Editor I can use the TCL Editor in universe to change a variable name in a 1,000 programs in a program file by the following process. ED &ED& PROG.CHANGE 2: C/OLD.ATTRIBUTE.NAME/NEW.ATTRIBUTE.NAME/G1000 3: FI 4: LOOP 2 1000 ED BP * .X PROG.CHANGE There are pros and cons of both environments David Jordan ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Editors and environments we like to use--digression from talking about mvToolBox.
I know several older programmers who use ED exclusively. It's incredible how quickly they can jump into code and make complex changes with just a few keystrokes. In the course of the day I use ED, a few full-screen non-gui editors (jed/vi/maybe JET or SED sometimes) and some gui editors (WED, Cache Studo and sometimes Wordpad). Notably, the gui editors are mostly launched from an mv command line though On Feb 20, 2012, at 8:40 AM, Richard wrote: > --- On Sat, 18/2/12, Symeon Breen wrote: >> I seriously believe most MV people >> are not programming in ED on telnet (or >> ssh) and that they are using some form of >> GUI editor. > > With respect, I disagree. I work alongside dozens of UniVerse developers and > I am in a very small minority who use a GUI based editor. The vast majority > use our own custom editor, which runs on a ubiquitous 'green-screen' terminal > emulator. Even those like myself who favour editing in a GUI still do all > other tasks through command line. > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users