Ricardo Bánffy 发布了一篇关于如何使用 VM/370 Community Edition (CE) 大型机操作系统的详细教程 1。VM/370 CE 是基于 IBM 最后发布的无限制许可证的 VM/370 R6 版本改进而来的开源及公共领域软件集合 1。该教程介绍了通过 Docker 快速启动模拟环境的方法,并演示了使用 x3270 终端模拟器进行登录、自定义配置文件、运行 BASIC 和 FORTRAN 程序以及管理虚拟磁盘的基本操作 1。
用户可以通过执行命令 docker run -it --name vm370 -p 3270:3270 rbanffy/vm370ce 快速启动模拟环境 1。默认登录凭证为用户名 CMSUSER,密码 cmsuser 1。在 x3270 终端中,PA2 键(对应 Alt-2 或 Control-C)用于清屏和接收下一页文本 1。VM/370 CE 支持多种编程语言,包括 BASIC, FORTRAN IV, PL/I, REXX, C, Pascal 等 1。对于 FORTRAN 程序,其输出默认重定向到名为 FT06F001 的文件,需使用 FILEDEF 6 TERMINAL 命令将其重定向至终端 1。
此外,教程还探讨了如何上传文件以运行经典游戏(如 Zork),并简要说明了在 USER DIRECT 文件中修改用户定义的技巧 1。系统采用扁平文件系统结构,无子目录,通过盘符(A, D, S等)区分存储卷 1。可以通过 GitHub 获取 GAMES.VMARC 文件包,其中包含 Tic Tac Toe 和 Zork 等经典游戏 1。
Ricardo Bánffy has published a comprehensive tutorial demonstrating how to operate the VM/370 Community Edition (CE), an open-source and public-domain software collection derived from IBM’s final unrestricted license version of VM/370 R6 1. The guide details how users can quickly spin up a simulated mainframe environment using Docker, specifically by executing the command docker run -it --name vm370 -p 3270:3270 rbanffy/vm370ce 1. Once the container is running, access is provided through default login credentials, with the username "CMSUSER" and the password "cmsuser" 1.
The tutorial covers essential interactions via the x3270 terminal emulator, explaining that the PA2 key—activated through Alt-2 or Control-C—is used to clear the screen and receive the next page of text 1. It highlights the system's versatility in supporting multiple programming languages, including BASIC, FORTRAN IV, PL/I, REXX, C, and Pascal 1. For those working with legacy code, the author notes that FORTRAN program output defaults to a file named FT06F001, requiring the use of the FILEDEF 6 TERMINAL command to redirect results directly to the console 1. Users can also explore classic computing history by downloading the GAMES.VMARC file package from GitHub, which includes titles such as Tic Tac Toe and Zork 1. The article further explains that the underlying storage structure utilizes a flat filesystem without subdirectories, distinguishing volumes instead by drive letters like A, D, and S 1, while also offering tips on modifying user definitions within the USER DIRECT file 1.
评论
还没有评论,欢迎留下第一条。