Re: Best way to edit Linux files in z/VM 3270
I prefer ed, myself. It reminds me of the old days, before we had full screen editors. Screw up enough fstab or network config files and you get real good at it. Always impresses my younger colleages when I can fix a fstab with a few keystrokes, even on their precious non-z based Linux servers. It also helps to keep a "cheat sheet" bookmarked for when your stuck. My go-to page is: http://linux.about.com/library/cmd/blcmdl1_ed.htm Martha On Thu, 22 Sep 2016 13:07:46 -0400 Robert J Brenneman said: >the /best/ way to edit linux files on 3270 is not to. Plan ahead and make >backup copies of important config files before making changes and rebooting >so you can just rename the backup back in place. > >but when one must, ed is available. You have to think of it as a typewriter >though. It is not capable or aware of a terminal that can display multiple >lines - basically you have a keyboard with no arrow keys, no PF keys, no >pgup pgdn home end keys to use to talk to ed, and ed is only able to talk >back to you by spitting out a single line of output at a time with a >carriage return at the end. > >cat / head / tail / sed can also be used to assemble a new file out of an >existing but broken one. > > > >-- >Jay Brenneman > >-- >For LINUX-390 subscribe / signoff / archive access instructions, >send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit >http://www.marist.edu/htbin/wlvindex?LINUX-390 >-- >For more information on Linux on System z, visit >http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
If the boot process has reach the stadium where vmur is available, you can just send files to another Linux, fix it and send it back again. /Tore Tore Agblad Infrastructure Architect – Mainframe zOpen HCL Technologies Ltd. DA1S Gunnar Engellaus väg 3, 418 78 Gothenburg, Sweden Direct: +46 31 3233569 Mob: +46 76 5533569 www.hcltech.com www.hcl.com ::DISCLAIMER:: The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Robert J Brenneman Sent: den 22 september 2016 7:08 To: LINUX-390@VM.MARIST.EDU Subject: Re: Best way to edit Linux files in z/VM 3270 the /best/ way to edit linux files on 3270 is not to. Plan ahead and make backup copies of important config files before making changes and rebooting so you can just rename the backup back in place. but when one must, ed is available. You have to think of it as a typewriter though. It is not capable or aware of a terminal that can display multiple lines - basically you have a keyboard with no arrow keys, no PF keys, no pgup pgdn home end keys to use to talk to ed, and ed is only able to talk back to you by spitting out a single line of output at a time with a carriage return at the end. cat / head / tail / sed can also be used to assemble a new file out of an existing but broken one. -- Jay Brenneman -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
the /best/ way to edit linux files on 3270 is not to. Plan ahead and make backup copies of important config files before making changes and rebooting so you can just rename the backup back in place. but when one must, ed is available. You have to think of it as a typewriter though. It is not capable or aware of a terminal that can display multiple lines - basically you have a keyboard with no arrow keys, no PF keys, no pgup pgdn home end keys to use to talk to ed, and ed is only able to talk back to you by spitting out a single line of output at a time with a carriage return at the end. cat / head / tail / sed can also be used to assemble a new file out of an existing but broken one. -- Jay Brenneman -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
Indeed, sed/awk can be used. Or check out the rpl package, but still that is just a command to replace strings from the command line, just like sed. The only times I need to use the 3270 console is when the network (ssh) is not available. In that case we have the option to shutdown the machine, since it's not available to the customer anyway. Then we can link/mount the disks in our emergency system and use vi (or whatever full-screen editor) from there. Regards, Berry. Op 20-09-16 om 21:10 schreef Harley Linker: The only option that I'm aware of is the 'sed' command. Harley Linker -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Diep, David (OCTO-Contractor) Sent: Tuesday, September 20, 2016 2:02 PM To: LINUX-390@VM.MARIST.EDU Subject: Best way to edit Linux files in z/VM 3270 Hi everyone, I've searched everywhere and I cannot find for editing Linux files while logged in with 3270. Vi will just get me stuck. I looked at 'ed', but I get stuck as well... any recommendations?? Thanks David Diep -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ © 2016 Ensono, LP. All rights reserved. Ensono is a trademark of Ensono, LP. The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
Also remember that for ".conf" files that are assigning values to environment variables, last assignment wins. So, sometimes I just use "echo" to append a new value to the file so that I can get the system up. (3270 copy and paste also helps input the line.) Then later on I use vi to remove the duplicate assignment. On Tue, Sep 20, 2016 at 2:59 PM, Marcy Cortes wrote: > There's just mainly one sed command that i've needed in order to fix > enough to get the network up. > > sed -i -e 's/oldstring/newstring/' filename > > That's generally been enough to get me through say bad IP addresses or > gateway settings. > > > > -Original Message- > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of > Mark Post > Sent: Tuesday, September 20, 2016 12:25 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: [LINUX-390] Best way to edit Linux files in z/VM 3270 > > >>> On 9/20/2016 at 03:01 PM, "Diep, David (OCTO-Contractor)" > >>> > wrote: > > Hi everyone, > > > > I've searched everywhere and I cannot find for editing Linux files > > while logged in with 3270. Vi will just get me stuck. I looked at > > 'ed', but I get stuck as well... any recommendations?? > > The ed command works fine, but you need to understand how to use it. It's > ... different. > > I frequently use sed, but if you're at the point where the root file > system is mounted, you should be able to use the terminal server access. > This allows you to SSH to the terminal server, then connect to the target > system and use the normal vi/vim editors. > > > Mark Post > > -- > For LINUX-390 subscribe / signoff / archive access instructions, send > email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit http://wiki.linuxvm.org/ > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > -- Bruce Hayden z/VM and Linux on z Systems ATS IBM, Endicott, NY -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
I think it's always a good idea to have a Linux terminal server available for just such instances when you *can't* reach the z/Linux guest via the network. There is a short writeup of how to build a terminal server here: http://www.vmworkshop.org/docs/2014/24dH6VdP.pdf Have a good one. DJ On 09/20/2016 02:59 PM, Marcy Cortes wrote: There's just mainly one sed command that i've needed in order to fix enough to get the network up. sed -i -e 's/oldstring/newstring/' filename That's generally been enough to get me through say bad IP addresses or gateway settings. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post Sent: Tuesday, September 20, 2016 12:25 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] Best way to edit Linux files in z/VM 3270 On 9/20/2016 at 03:01 PM, "Diep, David (OCTO-Contractor)" wrote: Hi everyone, I've searched everywhere and I cannot find for editing Linux files while logged in with 3270. Vi will just get me stuck. I looked at 'ed', but I get stuck as well... any recommendations?? The ed command works fine, but you need to understand how to use it. It's ... different. I frequently use sed, but if you're at the point where the root file system is mounted, you should be able to use the terminal server access. This allows you to SSH to the terminal server, then connect to the target system and use the normal vi/vim editors. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- *David Jones **|**Managing Director for zSystems Services **|**z/VM, Linux, and Cloud 703.237.7370 (Office) **|**281.578.7544 (Cell)* *Information Technology Company <http://www.itconline.com/>* -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
Several good responses, perhaps disjoint. Summary at end. On 09/20/2016 03:35 PM, Michel Beaulieu wrote: > Are you? > A) logon to a Linux console, using linemode Linux? > or > B) a CMS users that can access Linux? > -- > What kind of files are we talking about: standard ASCII files or something > else. > Do we have any translation issues between EBCDIC and ASCII? > --- > Can the files be visible on NFS v3 (that is what z/VM support)? > OpenVM anyone? > --- > Do you have any special need for security/encryption? This would be high on my list, so I'm quoting Michel: try mounting Linux filesystems to CMS using the _NFS client built-into OpenVM_. Works well. Then you get XEDIT. Requires that the Linux guest have network and have an NFS server. You would then mount selected Linux filesystems to CMS. Brad mentioned the _SYSASCII console_. Requires CP privs (and HMC access). Wish it were virtualized (like so that you could SSH to it). I am sure there are resource constraints which have kept SSH-to-SYSASCII from being developed because it's an obvious need-to-implement feature. Rogério suggested IUCV. This is a great idea and doesn't require CP privs, but does require another Linux guest. SSH to that guest and then 'iucvconn' to the target. Attach point on the target can be kernel space or user space. (Am leaving out a lot of details.) The _IUCV terminal service_ is excellent, well tested, highly secure, based on solid reliable tech. Like Marcy said, you can probably get by with minimal 'sed' from the v-console until you have your network back. (This has been my experience.) Harley also suggested 'sed', but it's not your only option. (combine that with 'awk' and 'grep'; see below) Mark mentioned 'ed'. I don't know it and have avoided it just because memories of 'edlin' aren't all that pleasant. But if one expects to be in a line-mode context then that's the right tool. Mauro gave you the power combo: awk, sed, grep. Not CMS Pipelines, but together they're pretty handy. However, 3270 itself is not the problem. The line-mode effect is that CP presents the guest with a 3215 typewriter. (keep reading) Linux /does have/ a _3270 full-screen driver_. 'vi' will display on it. Input will be difficult. Way more complicated then we want to talk about here, but fun. And somehow I don't think I've answered your question, which is the "best". :-( -- R; <>< -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
Another option is the HMC ASCII console: http://www.ibm.com/support/knowledgecenter/linuxonibm/com.ibm.linux.z.lgdd/lgdd_c_con_access_zvm_hmc.html Since it's fullscreen it will allow vi as well. Brad Hinson Solution Architect, Red Hat (919) 360-0443 On Tue, Sep 20, 2016 at 2:22 PM, Rogério Soares wrote: > Set iucv on your servers... Vi works perfectly! > > Em ter, 20 de set de 2016 17:01, Marcy Cortes < > marcy.d.cor...@wellsfargo.com> > escreveu: > > > There's just mainly one sed command that i've needed in order to fix > > enough to get the network up. > > > > sed -i -e 's/oldstring/newstring/' filename > > > > That's generally been enough to get me through say bad IP addresses or > > gateway settings. > > > > > > > > -Original Message- > > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of > > Mark Post > > Sent: Tuesday, September 20, 2016 12:25 PM > > To: LINUX-390@VM.MARIST.EDU > > Subject: Re: [LINUX-390] Best way to edit Linux files in z/VM 3270 > > > > >>> On 9/20/2016 at 03:01 PM, "Diep, David (OCTO-Contractor)" > > >>> > > wrote: > > > Hi everyone, > > > > > > I've searched everywhere and I cannot find for editing Linux files > > > while logged in with 3270. Vi will just get me stuck. I looked at > > > 'ed', but I get stuck as well... any recommendations?? > > > > The ed command works fine, but you need to understand how to use it. > It's > > ... different. > > > > I frequently use sed, but if you're at the point where the root file > > system is mounted, you should be able to use the terminal server access. > > This allows you to SSH to the terminal server, then connect to the target > > system and use the normal vi/vim editors. > > > > > > Mark Post > > > > -- > > For LINUX-390 subscribe / signoff / archive access instructions, send > > email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > -- > > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > > > > -- > > For LINUX-390 subscribe / signoff / archive access instructions, > > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > > visit > > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > -- > > For more information on Linux on System z, visit > > http://wiki.linuxvm.org/ > > > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
Set iucv on your servers... Vi works perfectly! Em ter, 20 de set de 2016 17:01, Marcy Cortes escreveu: > There's just mainly one sed command that i've needed in order to fix > enough to get the network up. > > sed -i -e 's/oldstring/newstring/' filename > > That's generally been enough to get me through say bad IP addresses or > gateway settings. > > > > -Original Message- > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of > Mark Post > Sent: Tuesday, September 20, 2016 12:25 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: [LINUX-390] Best way to edit Linux files in z/VM 3270 > > >>> On 9/20/2016 at 03:01 PM, "Diep, David (OCTO-Contractor)" > >>> > wrote: > > Hi everyone, > > > > I've searched everywhere and I cannot find for editing Linux files > > while logged in with 3270. Vi will just get me stuck. I looked at > > 'ed', but I get stuck as well... any recommendations?? > > The ed command works fine, but you need to understand how to use it. It's > ... different. > > I frequently use sed, but if you're at the point where the root file > system is mounted, you should be able to use the terminal server access. > This allows you to SSH to the terminal server, then connect to the target > system and use the normal vi/vim editors. > > > Mark Post > > -- > For LINUX-390 subscribe / signoff / archive access instructions, send > email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit http://wiki.linuxvm.org/ > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
There's just mainly one sed command that i've needed in order to fix enough to get the network up. sed -i -e 's/oldstring/newstring/' filename That's generally been enough to get me through say bad IP addresses or gateway settings. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post Sent: Tuesday, September 20, 2016 12:25 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] Best way to edit Linux files in z/VM 3270 >>> On 9/20/2016 at 03:01 PM, "Diep, David (OCTO-Contractor)" >>> wrote: > Hi everyone, > > I've searched everywhere and I cannot find for editing Linux files > while logged in with 3270. Vi will just get me stuck. I looked at > 'ed', but I get stuck as well... any recommendations?? The ed command works fine, but you need to understand how to use it. It's ... different. I frequently use sed, but if you're at the point where the root file system is mounted, you should be able to use the terminal server access. This allows you to SSH to the terminal server, then connect to the target system and use the normal vi/vim editors. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
You mentioned in "z/VM" 3270: Are you? A) logon to a Linux console, using linemode Linux? or B) a CMS users that can access Linux? -- What kind of files are we talking about: standard ASCII files or something else. Do we have any translation issues between EBCDIC and ASCII? --- Can the files be visible on NFS v3 (that is what z/VM support)? OpenVM anyone? --- Do you have any special need for security/encryption? Michel Beaulieu IBM Canada, SSO /* My opinion expressed here do not engage my employer in any way. */ > Date: Tue, 20 Sep 2016 16:13:39 -0300 > From: thoriu...@gmail.com > Subject: Re: Best way to edit Linux files in z/VM 3270 > To: LINUX-390@VM.MARIST.EDU > > There's no "best way", there's only less bad way... 3270 is not a full > screen terminal, so anything expecting a full screen will get stuck. This > includes emacs, vi/vim, nano, pine... > > You can use sed, grep and awk. Save a backup copy, use sed/awk combo to > parse the lines and change whatever is needed. Just beware editing files > when you need to add/delete the '#' char, it's the default escape char for > CP. > > Mauro > http://mauro.limeiratem.com - registered Linux User: 294521 > Scripture is both history, and a love letter from God. > > 2016-09-20 16:01 GMT-03:00 Diep, David (OCTO-Contractor) > : > > > Hi everyone, > > > > I've searched everywhere and I cannot find for editing Linux files while > > logged in with 3270. Vi will just get me stuck. I looked at 'ed', but I > > get stuck as well... any recommendations?? > > > > Thanks > > > > David Diep > > > > -- > > For LINUX-390 subscribe / signoff / archive access instructions, > > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > > visit > > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > -- > > For more information on Linux on System z, visit > > http://wiki.linuxvm.org/ > > > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
>>> On 9/20/2016 at 03:01 PM, "Diep, David (OCTO-Contractor)" >>> wrote: > Hi everyone, > > I've searched everywhere and I cannot find for editing Linux files while > logged in with 3270. Vi will just get me stuck. I looked at 'ed', but I get > stuck as well... any recommendations?? The ed command works fine, but you need to understand how to use it. It's ... different. I frequently use sed, but if you're at the point where the root file system is mounted, you should be able to use the terminal server access. This allows you to SSH to the terminal server, then connect to the target system and use the normal vi/vim editors. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
There's no "best way", there's only less bad way... 3270 is not a full screen terminal, so anything expecting a full screen will get stuck. This includes emacs, vi/vim, nano, pine... You can use sed, grep and awk. Save a backup copy, use sed/awk combo to parse the lines and change whatever is needed. Just beware editing files when you need to add/delete the '#' char, it's the default escape char for CP. Mauro http://mauro.limeiratem.com - registered Linux User: 294521 Scripture is both history, and a love letter from God. 2016-09-20 16:01 GMT-03:00 Diep, David (OCTO-Contractor) : > Hi everyone, > > I've searched everywhere and I cannot find for editing Linux files while > logged in with 3270. Vi will just get me stuck. I looked at 'ed', but I > get stuck as well... any recommendations?? > > Thanks > > David Diep > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
The only option that I'm aware of is the 'sed' command. Harley Linker -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Diep, David (OCTO-Contractor) Sent: Tuesday, September 20, 2016 2:02 PM To: LINUX-390@VM.MARIST.EDU Subject: Best way to edit Linux files in z/VM 3270 Hi everyone, I've searched everywhere and I cannot find for editing Linux files while logged in with 3270. Vi will just get me stuck. I looked at 'ed', but I get stuck as well... any recommendations?? Thanks David Diep -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ © 2016 Ensono, LP. All rights reserved. Ensono is a trademark of Ensono, LP. The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system.
Best way to edit Linux files in z/VM 3270
Hi everyone, I've searched everywhere and I cannot find for editing Linux files while logged in with 3270. Vi will just get me stuck. I looked at 'ed', but I get stuck as well... any recommendations?? Thanks David Diep -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/