Robert O'Hara
2010-07-03 01:37:55 UTC
I thought I'd continue the discussion with a new subject since KICKS has other issues besides fullscreen support. After reading the long discussion, let me try and summarize:
1. Many people would love to see fullscreen 3270 support. This would allow a fullscreen editor to be created. It would allow other programs that rely on fullscreen interaction to be ported to VM/370.
2. Duplicating the support for this that IBM created is a LOT of work: several large modules in CP. As Dave Wade has pointed out, the comparatively simple changes to get highlighting in EDIT to work were themselves quite difficult. I am somewhat familiar with the problem, and I agree with Dave, this is hard code to write and to get right. For us hobbyists I think it is not practical.
3. There are alternative solutions possible. Each has strengths and weaknesses, which we might explore.
Perhaps we can divide the solution space up for clearer discussion. Here is my take at possible solutions. Perhaps there are others out there!
Type 1: Dial support
If we have a CMS application that does 3270 I/O to an attached 3270 instead of the console, then many problems go away. There is no issue switching between "line mode" managed by CP and "fullscreen mode" managed by the application, because they are running on separate terminals.
Pro: Not too hard to implement, I think. If you have source code for 3270 programs, not much modification required, I suspect. It might even be possible to bury this code inside DIAG 58 and thus make it highly compatible to what IBM has done.
Con: Not sure about the last point above, investigation needed. Thus this may not be compatible with VM/SP or z/VM...
Type 2: Write a better terminal emulator
Mike Noel proposed this yesterday: embed 3270 data streams in the linemode console data stream, and have a modfied terminal emulator that does the right thing.
Pro: Similar to type 1 above.
Con: Similar to type 1, above.
Type 3: Forget the 3270
Paul Edwards has pointed out that it is straightforward to download the file you want to edit to an editor running on your local OS (Windows, Linux, etc). I work this way every day: My VMConsole program supports automatic download of CMS files to a Windows editor, and when I save it on Windows it is automatically uploaded to CMS. Any modern PC editor will run rings around a 3270-based editor, of course.
Also, VMConsole today lets you pop-up a Windows dialog box from CMS. This clearly could be extended to support forms-based input.
Pro: Easy to implement, as it is already working.
Con: Not really 3270 support at all.
Well, those are my thoughts.
Bob O'Hara
1. Many people would love to see fullscreen 3270 support. This would allow a fullscreen editor to be created. It would allow other programs that rely on fullscreen interaction to be ported to VM/370.
2. Duplicating the support for this that IBM created is a LOT of work: several large modules in CP. As Dave Wade has pointed out, the comparatively simple changes to get highlighting in EDIT to work were themselves quite difficult. I am somewhat familiar with the problem, and I agree with Dave, this is hard code to write and to get right. For us hobbyists I think it is not practical.
3. There are alternative solutions possible. Each has strengths and weaknesses, which we might explore.
Perhaps we can divide the solution space up for clearer discussion. Here is my take at possible solutions. Perhaps there are others out there!
Type 1: Dial support
If we have a CMS application that does 3270 I/O to an attached 3270 instead of the console, then many problems go away. There is no issue switching between "line mode" managed by CP and "fullscreen mode" managed by the application, because they are running on separate terminals.
Pro: Not too hard to implement, I think. If you have source code for 3270 programs, not much modification required, I suspect. It might even be possible to bury this code inside DIAG 58 and thus make it highly compatible to what IBM has done.
Con: Not sure about the last point above, investigation needed. Thus this may not be compatible with VM/SP or z/VM...
Type 2: Write a better terminal emulator
Mike Noel proposed this yesterday: embed 3270 data streams in the linemode console data stream, and have a modfied terminal emulator that does the right thing.
Pro: Similar to type 1 above.
Con: Similar to type 1, above.
Type 3: Forget the 3270
Paul Edwards has pointed out that it is straightforward to download the file you want to edit to an editor running on your local OS (Windows, Linux, etc). I work this way every day: My VMConsole program supports automatic download of CMS files to a Windows editor, and when I save it on Windows it is automatically uploaded to CMS. Any modern PC editor will run rings around a 3270-based editor, of course.
Also, VMConsole today lets you pop-up a Windows dialog box from CMS. This clearly could be extended to support forms-based input.
Pro: Easy to implement, as it is already working.
Con: Not really 3270 support at all.
Well, those are my thoughts.
Bob O'Hara