home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!uunet.ca!canrem!dosgate!dosgate![harry.tempelman@canrem.com]
- From: "harry tempelman" <harry.tempelman@canrem.com>
- Subject: c menu program (#2)
- Message-ID: <1993Jan5.4577.16932@dosgate>
- Reply-To: "harry tempelman" <harry.tempelman@canrem.com>
- Organization: Canada Remote Systems
- Distribution: comp
- Date: 5 Jan 93 13:10:17 EST
- Lines: 53
-
- (Continued from the previous message)
-
- printf("\t\t\t(F) Read Ford Standard 9 track tape\n");
- printf("\t\t\t(R) Return to Main Menu\n");
- printf("\t\t\t(Q) Quit\n");
-
- printf("\n\t\t\t Choice: ");
- }
- }
-
- /****************************************************************************/
- /* rmtread */
- /****************************************************************************/
- void rmt1read()
- {
- char answer;
- {
- rmt1read_menu();
- answer = getchar();
- answer = tolower(answer);
- switch (answer)
- {
- case 'c' : {
- char *pc;
- printf("\nEnter file to read: ");
- scanf("%s",pc);
- pc = (char *)malloc(10 * sizeof(char));
- pc = strcpy("dd if=/dev/rmt1.1 if=/tmp/",pc,"ibs=1600 conv=sync");
- system(pc);
- }
- rmt1read();
- case 'f' : system("ls /tmp"); rmt1read();
- case 'r' : start();
- case 'q' : exit(1);
- default : rmt1read();
- }
- }
- }
-
-
-
- Any response is appreciated.....
-
- Harry Tempelman
- APEX METALS INC.
-
- APEX METALS INC. . . . . __|__ . . harry.tempelman@canrem.com
- . . . . . . . . --o--o--(_)--o--o-- . . . . . . . .
- ---
- ■ DeLuxe² 1.20 #11534 ■ REALITY.SYS Corrupted: Reboot universe? [Y/N]
- --
- Canada Remote Systems - Toronto, Ontario
- World's Largest PCBOARD System - 416-629-7000/629-7044
-