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 with the message: INFO LINUX-390 or visit
For more information on Linux on System z, visit

Reply via email to