Re: Switching between Xedit screens.
Looking at the original stated problem, 'not enough text showing', I'm wondering if you can't see enough at one time, or is it just too slow moving through many lines. A few solutions come to mind, depending upon your need. Increase screen size: You can change the model of the screen to display more than the standard 24 x 80 screen size. I don't know if you've tried this, and it has been discussed in the past, so I won't pursue it. Show the lines of two screens a little differently, vertically: Instead of 'screen 2', try 'screen 2 v'. This displays the two files side by side, with a full set of lines showing, albeit only half of each line. Sometimes, that is a good way to see more of the files at the same time, sometimes better for comparing them. (This depends upon what you are trying to see or do, so as a solution, it might not fit for you, but it might for others reading this.) Work more efficiently with the keyboard - !: No, I'm not cursing. You can prefix x with an ampersand, thus 'x'. The command will be redisplayed in the command area when you return. If you do this on both screens, you can toggle back and forth between screens every time you hit enter. Now, combine using the ampersand with two screens, and although you may not see a lot of lines at the same time, you can page through two files simultaneously, rapidly, with little keystroke effort. Hence, after 'screen 2', type 'fo' (or maybe 'n5') on both command lines, and hitting enter will page down both files at the same pace. Of course, it can be used with 'screen 2 v' as well. And locally, we have a macro with which we can do 'compare' to find the next lines that aren't the same. 'locate /...' (or '/...') works well also. I like something like '/.../#-2' followed by inserting '+2#' after the ampersand, thus paging through the file with '+2#/.../#-2', finding '...' but showing a couple lines above it. (I know there are other ways to do this.) Paul Nieman - Original Message - From: Howard Rifkind To: IBMVM@LISTSERV.UARK.EDU Sent: Friday, November 21, 2008 12:48 PM Subject: Switching between Xedit screens. Hello all, I first Xedit one file then Xedit a second file, now there is one up front and one in the background. I don't want to do a 'screen 2' because it's to small, not enough text showing. How do I flip between the two screens? There has to be an easy way to do this. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Switching between Xedit screens.
If it is about comparing two files in XEDIT, have a look at the COMPAIR package, it highlights changed lines, in split screen mode. You can enter ,somecmd to execute that command in both screens. PF2 and PF14 can be used to jump from one difference to the other. I stole the idea from COMPAIR and created two synonyms for my macro's ,somecmdexecutes that command in all visible XEDIT screens (calls CMDALL XEDIT) ;somecmdexecutes that command in all files in the ring (calls RING XEDIT) I'll refresh my GD-XEDIT package on the download lib to distribute the most recent versions 2008/11/25 Paul Nieman [EMAIL PROTECTED] Looking at the original stated problem, 'not enough text showing', I'm wondering if you can't see enough at one time, or is it just too slow moving through many lines. A few solutions come to mind, depending upon your need. Increase screen size: You can change the model of the screen to display more than the standard 24 x 80 screen size. I don't know if you've tried this, and it has been discussed in the past, so I won't pursue it. Show the lines of two screens a little differently, vertically: Instead of 'screen 2', try 'screen 2 v'. This displays the two files side by side, with a full set of lines showing, albeit only half of each line. Sometimes, that is a good way to see more of the files at the same time, sometimes better for comparing them. (This depends upon what you are trying to see or do, so as a solution, it might not fit for you, but it might for others reading this.) Work more efficiently with the keyboard - !: No, I'm not cursing. You can prefix x with an ampersand, thus 'x'. The command will be redisplayed in the command area when you return. If you do this on both screens, you can toggle back and forth between screens every time you hit enter. Now, combine using the ampersand with two screens, and although you may not see a lot of lines at the same time, you can page through two files simultaneously, rapidly, with little keystroke effort. Hence, after 'screen 2', type 'fo' (or maybe 'n5') on both command lines, and hitting enter will page down both files at the same pace. Of course, it can be used with 'screen 2 v' as well. And locally, we have a macro with which we can do 'compare' to find the next lines that aren't the same. 'locate /...' (or '/...') works well also. I like something like '/.../#-2' followed by inserting '+2#' after the ampersand, thus paging through the file with '+2#/.../#-2', finding '...' but showing a couple lines above it. (I know there are other ways to do this.) Paul Nieman - Original Message - From: Howard Rifkind To: IBMVM@LISTSERV.UARK.EDU Sent: Friday, November 21, 2008 12:48 PM Subject: Switching between Xedit screens. Hello all, I first Xedit one file then Xedit a second file, now there is one up front and one in the background. I don't want to do a 'screen 2' because it's to small, not enough text showing. How do I flip between the two screens? There has to be an easy way to do this. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. -- Kris Buelens, IBM Belgium, VM customer support
Switching between Xedit screens.
Hello all, I first Xedit one file then Xedit a second file, now there is one up front and one in the background. I don't want to do a 'screen 2' because it's to small, not enough text showing. How do I flip between the two screens? There has to be an easy way to do this. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Switching between Xedit screens.
On: Fri, Nov 21, 2008 at 12:48:21PM -0500,Howard Rifkind Wrote: } I first Xedit one file then Xedit a second file, now there is one up front and one in the background. } } I don't want to do a 'screen 2' because it's to small, not enough text showing. } } How do I flip between the two screens? There has to be an easy way to do this. On the command line: x Or you can set a PF key to x. -- Rich Greenberg N Ft Myers, FL, USA richgr atsign panix.com + 1 239 543 1353 Eastern time. N6LRT I speak for myself my dogs only.VM'er since CP-67 Canines:Val, Red, Shasta Casey (RIP), Red Zero, Siberians Owner:Chinook-L Retired at the beach Asst Owner:Sibernet-L
Re: Switching between Xedit screens.
You can just put an X in the command line and press enter. Or you could probably assign the function to a PFKEY if you wanted. Ed Zell Illinois Mutual Life (309) 636-0107 From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Friday, November 21, 2008 11:48 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Switching between Xedit screens. Hello all, I first Xedit one file then Xedit a second file, now there is one up front and one in the background. I don't want to do a 'screen 2' because it's to small, not enough text showing. How do I flip between the two screens? There has to be an easy way to do this. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. . CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you receive this e-mail in error, notify the sender and delete this e-mail from your system.
Re: Switching between Xedit screens.
X on the command line will flip through the xedit ring. I first Xedit one file then Xedit a second file, now there is one up front and one in the background. I don't want to do a 'screen 2' because it's to small, not enough text showing. How do I flip between the two screens? There has to be an easy way to do this. Thanks.
Re: Switching between Xedit screens.
And if you create more than 2 windows, you can cycle through them using the x command or enter x fn ft to go directly to a file in the XEDIT ring. Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Rich Greenberg Sent: Friday, November 21, 2008 9:52 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Switching between Xedit screens. On: Fri, Nov 21, 2008 at 12:48:21PM -0500,Howard Rifkind Wrote: } I first Xedit one file then Xedit a second file, now there is one up front and one in the background. } } I don't want to do a 'screen 2' because it's to small, not enough text showing. } } How do I flip between the two screens? There has to be an easy way to do this. On the command line: x Or you can set a PF key to x. -- Rich Greenberg N Ft Myers, FL, USA richgr atsign panix.com + 1 239 543 1353 Eastern time. N6LRT I speak for myself my dogs only. VM'er since CP-67 Canines:Val, Red, Shasta Casey (RIP), Red Zero, Siberians Owner:Chinook-L Retired at the beach Asst Owner:Sibernet-L
Re: Switching between Xedit screens.
Hello Everyone, Ok now to ask the next cursor question, I am Xediting two members (screen 2 with CMDLINE TOP), I would like to have a pf key set to jump between screens. VSE/ESA ICCF has CURSOR INPUT. z/VM 'CURSOR HOME' does not do it. Ed Martin Aultman Health Foundation 330-588-4723 ext 40441 -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Rich Greenberg Sent: Friday, November 21, 2008 12:52 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Switching between Xedit screens. On: Fri, Nov 21, 2008 at 12:48:21PM -0500,Howard Rifkind Wrote: } I first Xedit one file then Xedit a second file, now there is one up front and one in the background. } } I don't want to do a 'screen 2' because it's to small, not enough text showing. } } How do I flip between the two screens? There has to be an easy way to do this. On the command line: x Or you can set a PF key to x.
Re: Switching between Xedit screens.
Put SET PFn COMMAND X in your profile xedit. Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Edward M Martin Sent: Friday, November 21, 2008 10:17 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Switching between Xedit screens. Hello Everyone, Ok now to ask the next cursor question, I am Xediting two members (screen 2 with CMDLINE TOP), I would like to have a pf key set to jump between screens. VSE/ESA ICCF has CURSOR INPUT. z/VM 'CURSOR HOME' does not do it. Ed Martin Aultman Health Foundation 330-588-4723 ext 40441 -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Rich Greenberg Sent: Friday, November 21, 2008 12:52 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Switching between Xedit screens. On: Fri, Nov 21, 2008 at 12:48:21PM -0500,Howard Rifkind Wrote: } I first Xedit one file then Xedit a second file, now there is one up front and one in the background. } } I don't want to do a 'screen 2' because it's to small, not enough text showing. } } How do I flip between the two screens? There has to be an easy way to do this. On the command line: x Or you can set a PF key to x.
Re: Switching between Xedit screens.
I use: set pfnn before SOS TABCMDF Jim Edward M Martin wrote: Hello Everyone, Ok now to ask the next cursor question, I am Xediting two members (screen 2 with CMDLINE TOP), I would like to have a pf key set to jump between screens. VSE/ESA ICCF has CURSOR INPUT. z/VM 'CURSOR HOME' does not do it. Ed Martin Aultman Health Foundation 330-588-4723 ext 40441 -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Rich Greenberg Sent: Friday, November 21, 2008 12:52 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Switching between Xedit screens. On: Fri, Nov 21, 2008 at 12:48:21PM -0500,Howard Rifkind Wrote: } I first Xedit one file then Xedit a second file, now there is one up front and one in the background. } =20 } I don't want to do a 'screen 2' because it's to small, not enough text showing. } =20 } How do I flip between the two screens? There has to be an easy way to do this. On the command line: x Or you can set a PF key to x. -- Jim Bohnsack Cornell University (972) 596-6377 home/office (972) 342-5823 cell [EMAIL PROTECTED]
Re: Switching between Xedit screens.
And don't forget 'q ring' to see what files are in your top ring. BTW, once you have a ring, some commands will cause a new ring to be created and push your current ring down. If you issue FILELIST or RDRLIST, and then start to xedit a new member(s). Those members will be in a new ring. Sometimes you can forget that you already have a member, under xedit, and you have made changes to that member without saving them. Then you stack the ring and xedit the member again and make changes. The changes in that member will not include the changes made to that member in the lower level ring (as they were not saved). When you do a 'save' for the member in the top ring, it will save without any messages. However, as you terminate the top ring and pop the lower ring, if you try to save that member, you will get an error message (ssave or ffile, will save the member and wipe out the changes you made at the higher ring). Usually, when I get this I save the member under a different name, and then compare the two members to see what changes I really wanted. Tom Duerbusch THD Consulting If anyone ever sees my desk, you will understand that I might have xedit sessions up for days/weeks. I got interrupted by some higher priority work, and I just stack. On Win/XP, I have I have 47 windows opened. 5 of them are TN3270 sessions. However each session is a TUBES (session manager) session. Right now, the session with the largest number of sessions, has 12 host sessions active. My life is really a mess G Edward M Martin [EMAIL PROTECTED] 11/21/2008 12:17 PM Hello Everyone, Ok now to ask the next cursor question, I am Xediting two members (screen 2 with CMDLINE TOP), I would like to have a pf key set to jump between screens. VSE/ESA ICCF has CURSOR INPUT. z/VM 'CURSOR HOME' does not do it. Ed Martin Aultman Health Foundation 330-588-4723 ext 40441 -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Rich Greenberg Sent: Friday, November 21, 2008 12:52 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Switching between Xedit screens. On: Fri, Nov 21, 2008 at 12:48:21PM -0500,Howard Rifkind Wrote: } I first Xedit one file then Xedit a second file, now there is one up front and one in the background. } } I don't want to do a 'screen 2' because it's to small, not enough text showing. } } How do I flip between the two screens? There has to be an easy way to do this. On the command line: x Or you can set a PF key to x.
Re: Switching between Xedit screens.
And, if you have lots of files in the XEDIT ring, use my RING XEDIT macro (part of http://www.vm.ibm.com/download/packages/descript.cgi?LISTSG ) - RING xyz executes xyz in all files in the ring - RING displays the files in the ring in a FILELIST like way and lets you execute XEDIT commands to them I used this often when I had to apply changes to similar, but not identical, files. Oh yes, and how do you get many files in the RING without having to type their names? If you use my enhanced FILELIST, you can enter X2 (instead of X) in FLELIST to bring all these files in the ring where FILELIST lives. And to complement the explanation about SSAVE and FFILE: I saw quite some people that use FF (the abbrev of FFILE) as it is easier to type than FILE. By doing that, they no longer could profit of this extra protection XEDIT gives to avoid wiping out changes unexpectedly. Once I explained what they loosed they all stopped using FF and SS as default command. While at the subject: if you code XEDIT macros, and precede all XEDIT commands by COMMAND (to avoid user defined command synonyms), know then that FFILE is in fact a standard synonym. COMMAND FFILE doesn't exist. Synonym: FILE native command: PFILE Synonym: FFILE native command: FILE PFILE stands for Protected FILE, that is the command with the extra protecting. Similar for SAVE/PSAVE/SSAVE and QUIT/PQUIT/QQUIT So in macros code COMMAND FILE if you want to file anyhow, and COMMAND PFILE if the extra wipe out protection is wanted. Why this complex setup? PFILE and friends were added later, and with the synonym setup macros that use COMMAND FILE remain compatible; end-users that type FILE get the extra protection automatically. 2008/11/21 Tom Duerbusch [EMAIL PROTECTED]: And don't forget 'q ring' to see what files are in your top ring. BTW, once you have a ring, some commands will cause a new ring to be created and push your current ring down. If you issue FILELIST or RDRLIST, and then start to xedit a new member(s). Those members will be in a new ring. Sometimes you can forget that you already have a member, under xedit, and you have made changes to that member without saving them. Then you stack the ring and xedit the member again and make changes. The changes in that member will not include the changes made to that member in the lower level ring (as they were not saved). When you do a 'save' for the member in the top ring, it will save without any messages. However, as you terminate the top ring and pop the lower ring, if you try to save that member, you will get an error message (ssave or ffile, will save the member and wipe out the changes you made at the higher ring). Usually, when I get this I save the member under a different name, and then compare the two members to see what changes I really wanted. Tom Duerbusch THD Consulting If anyone ever sees my desk, you will understand that I might have xedit sessions up for days/weeks. I got interrupted by some higher priority work, and I just stack. On Win/XP, I have I have 47 windows opened. 5 of them are TN3270 sessions. However each session is a TUBES (session manager) session. Right now, the session with the largest number of sessions, has 12 host sessions active. My life is really a mess G Edward M Martin [EMAIL PROTECTED] 11/21/2008 12:17 PM Hello Everyone, Ok now to ask the next cursor question, I am Xediting two members (screen 2 with CMDLINE TOP), I would like to have a pf key set to jump between screens. VSE/ESA ICCF has CURSOR INPUT. z/VM 'CURSOR HOME' does not do it. Ed Martin Aultman Health Foundation 330-588-4723 ext 40441 -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Rich Greenberg Sent: Friday, November 21, 2008 12:52 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Switching between Xedit screens. On: Fri, Nov 21, 2008 at 12:48:21PM -0500,Howard Rifkind Wrote: } I first Xedit one file then Xedit a second file, now there is one up front and one in the background. } } I don't want to do a 'screen 2' because it's to small, not enough text showing. } } How do I flip between the two screens? There has to be an easy way to do this. On the command line: x Or you can set a PF key to x. -- Kris Buelens, IBM Belgium, VM customer support
Re: Switching between Xedit screens.
To go backwards in the ring, set up an XB (or other name) xedit as follows. /* Xedit previous file in the ring */ trace 'o' 'command extract /ring/' lastfile = ring.0 'command xedit 'left(ring.lastfile,20) Exit Bob -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Kris Buelens Sent: Friday, November 21, 2008 1:42 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Switching between Xedit screens. And, if you have lots of files in the XEDIT ring, use my RING XEDIT macro (part of http://www.vm.ibm.com/download/packages/descript.cgi?LISTSG ) - RING xyz executes xyz in all files in the ring - RING displays the files in the ring in a FILELIST like way and lets you execute XEDIT commands to them I used this often when I had to apply changes to similar, but not identical, files. Oh yes, and how do you get many files in the RING without having to type their names? If you use my enhanced FILELIST, you can enter X2 (instead of X) in FLELIST to bring all these files in the ring where FILELIST lives. And to complement the explanation about SSAVE and FFILE: I saw quite some people that use FF (the abbrev of FFILE) as it is easier to type than FILE. By doing that, they no longer could profit of this extra protection XEDIT gives to avoid wiping out changes unexpectedly. Once I explained what they loosed they all stopped using FF and SS as default command. While at the subject: if you code XEDIT macros, and precede all XEDIT commands by COMMAND (to avoid user defined command synonyms), know then that FFILE is in fact a standard synonym. COMMAND FFILE doesn't exist. Synonym: FILE native command: PFILE Synonym: FFILE native command: FILE PFILE stands for Protected FILE, that is the command with the extra protecting. Similar for SAVE/PSAVE/SSAVE and QUIT/PQUIT/QQUIT So in macros code COMMAND FILE if you want to file anyhow, and COMMAND PFILE if the extra wipe out protection is wanted. Why this complex setup? PFILE and friends were added later, and with the synonym setup macros that use COMMAND FILE remain compatible; end-users that type FILE get the extra protection automatically. 2008/11/21 Tom Duerbusch [EMAIL PROTECTED]: And don't forget 'q ring' to see what files are in your top ring. BTW, once you have a ring, some commands will cause a new ring to be created and push your current ring down. If you issue FILELIST or RDRLIST, and then start to xedit a new member(s). Those members will be in a new ring. Sometimes you can forget that you already have a member, under xedit, and you have made changes to that member without saving them. Then you stack the ring and xedit the member again and make changes. The changes in that member will not include the changes made to that member in the lower level ring (as they were not saved). When you do a 'save' for the member in the top ring, it will save without any messages. However, as you terminate the top ring and pop the lower ring, if you try to save that member, you will get an error message (ssave or ffile, will save the member and wipe out the changes you made at the higher ring). Usually, when I get this I save the member under a different name, and then compare the two members to see what changes I really wanted. Tom Duerbusch THD Consulting If anyone ever sees my desk, you will understand that I might have xedit sessions up for days/weeks. I got interrupted by some higher priority work, and I just stack. On Win/XP, I have I have 47 windows opened. 5 of them are TN3270 sessions. However each session is a TUBES (session manager) session. Right now, the session with the largest number of sessions, has 12 host sessions active. My life is really a mess G Edward M Martin [EMAIL PROTECTED] 11/21/2008 12:17 PM Hello Everyone, Ok now to ask the next cursor question, I am Xediting two members (screen 2 with CMDLINE TOP), I would like to have a pf key set to jump between screens. VSE/ESA ICCF has CURSOR INPUT. z/VM 'CURSOR HOME' does not do it. Ed Martin Aultman Health Foundation 330-588-4723 ext 40441 -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Rich Greenberg Sent: Friday, November 21, 2008 12:52 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Switching between Xedit screens. On: Fri, Nov 21, 2008 at 12:48:21PM -0500,Howard Rifkind Wrote: } I first Xedit one file then Xedit a second file, now there is one up front and one in the background. } } I don't want to do a 'screen 2' because it's to small, not enough text showing. } } How do I flip between the two screens? There has to be an easy way to do this. On the command line: x Or you can set a PF key to x. -- Kris Buelens, IBM Belgium, VM customer support This electronic transmission and any documents accompanying this electronic transmission contain confidential information belonging to the sender. This information may be legally
Re: Switching between Xedit screens.
Enter X again as if you are going to XEDIT a third file but with no fn ft On Fri, 11/21/08, Howard Rifkind [EMAIL PROTECTED] wrote: From: Howard Rifkind [EMAIL PROTECTED] Subject: Switching between Xedit screens. To: IBMVM@LISTSERV.UARK.EDU Received: Friday, November 21, 2008, 12:48 PM Hello all, I first Xedit one file then Xedit a second file, now there is one up front and one in the background. I don't want to do a 'screen 2' because it's to small, not enough text showing. How do I flip between the two screens? There has to be an easy way to do this. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.