--- title: "Shell" type: "article" slug: "shell" url: "http://localhost/article/shell/" markdown_url: "http://localhost/article/shell.md" published_at: "2020-10-27T17:13:35+00:00" modified_at: "2024-05-26T13:18:36+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "The listing in this article allows you to COPY or ERASE any or all of the files on a disk. The first part asks you what you want to do in a series of questions. The second part of the program creates a sequential file using the screen channel. This redirects the screen output to…" category: - name: "Update Magazine" slug: "update-magazine" taxonomy: "category" url: "http://localhost/category/periodicals/update-magazine/" post_tag: - name: "RAMEX International" slug: "ramex-international" taxonomy: "post_tag" url: "http://localhost/tag/ramex-international/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "Munson Cockayne" slug: "munson-cockayne" taxonomy: "indiv" url: "http://localhost/indiv/munson-cockayne/" publication: "TS-2068 Up-date" publication_r: id: 10283 title: "Update Magazine" type: "periodical" url: "http://localhost/periodical/update-magazine/" authors: "Munson Cockayne" issues_articles: - id: 26483 title: "Update April 1988" type: "issue" url: "http://localhost/issue/ts-2068-up-date-april-1988-2/" pages: "38-39" pubdate: "April 1988" archive_link: false volumeissue: "v1n3" companies_articles: - id: 11214 title: "RAMEX International" type: "company" url: "http://localhost/company/ramex-international/" --- # Shell The listing in this article allows you to COPY or ERASE any or all of the files on a disk. The first part asks you what you want to do in a series of questions. The second part of the program creates a sequential file using the screen channel. This redirects the screen output to a sequential disk file. While this part runs, only disk activity will be noted until the end where the filenames are read back into a string array. The next part lists the filenames to the screen. As you mark files for action, they are converted to inverse video. When you are done, the requested action is taken on the files you indicated.