6 ms·
Mainframes do have a more sensible way to build a TUI than something like curses. A 3270 TUI is very similar to using html forms. The fields are named, have a
by tyingq 5y ago
Mainframes do have a more sensible way to build a TUI than something like curses. A 3270 TUI is very similar to using html forms. The fields are named, have attributes, validation, and a so on. The mainframe sends the form, the user interacts with the form, and nothing is sent back to the server until either a field validation is needed or the "Enter" key is pressed.
More detail: http://bitsavers.trailing-edge.com/pdf/ibm/3270/GA23-0059-4_3270_Data_Stream_Programmers_Reference_Dec88.pdf http://bitsavers.trailing-edge.com/pdf/ibm/3270/GA23-0059-4_...
- BeFlatXIII 5y agoFew things would make me as happy as the Django admin module ported to a TUI. In the mainframe days, how much did application developers need to worry about the displayed field length, or was that handled by the OS?
- zozbot234 5y agoThat approach is good enough for simple forms ala HTML, but it's not effective for the sorts of full-featured TUI's with character-based graphics, drop-down menus, widgets, panes/windows etc. that are expected nowadays. Even writing a simple interactive text editor would be problematic using that model.
- tyingq 5y agoYou can do all that as well. Screenshot of a fairly complex 3270 TUI: https://davideellis.files.wordpress.com/2012/08/1-samplee3270screen.jpg?w=768&h=501 https://davideellis.files.wordpress.com/2012/08/1-samplee327... Or a video, skip forward to about 8:00 https://higherlogicdownload.s3.amazonaws.com/IMWUC/UploadedImages/b05c5aca-4975-4787-b708-044c901d8e30/Getting_started_with_Enhanced_3270UI-WGXeRaPB90I.mp4 https://higherlogicdownload.s3.amazonaws.com/IMWUC/UploadedI...
- coder543 5y agoDid you mean to link to a 380 page PDF book? Sure, it fits with the literal meaning of "more detail", but it doesn't feel helpful in a discussion context like this... I clicked on that link hoping to see one or two pages of info that made it clear how the whole system worked with more detail than you gave, but not a whole book of minutia that I don't have enough reason to care about at this point in the discussion.