2016 UPDATE: Switcap now works on Linux via a dos emulator (dosemu). THIS MUST be run on a Linux machine in 2107 Kemper, and must be run in that room. (The dos emulator doesn't work remotely). The switcap input file must be a DOS file. On Linux using vi, you can save the file as a DOS file with the vi command: :set ff=dos (If you use a PC editor to create the file, it should not need conversion to a DOS file. If you don't use VI normally, create your file then do this on Linux: vi filename then type ':set ff=dos' then type ':wq' to save and exit. After the SWITCAP file is saved as a dos file, the program is able to process the file. Complete Instuctions Getting Started: To run SWITCAP on the ECE machines in 2107 Kemper: Login to Linux. To open a terminal, right-click on the desktop, select the line that mentions "terminal". Simply type in the terminal window "setup_switcap". Run this only once, when you want to run SWITCAP the first time. This command copies setup files and sets up a .dosemu directory. Before launching the DOS emulator, any files you will want to access inside of the DOS emulator (e.g. SWITCAP input files) have to be in the "~/.dosemu/drive_c" folder. Otherwise you will not have access to them inside of the DOS window. You can type "cd ~/.dosemu/drive_c" to move into that folder. Then "ls" will list the files there. Runing Switcap: 1. create switcap.in file in vi. Be sure to save the file as a DOS file with the following vi command before writing the file: :set ff=dos OR convert your text file to DOS format on Linux using the command: unix2dos ps6_swit.in (in this example, ps6_swit.in is the name of the SWITCAP input file. You can use a different filename) 2. launch dosemu: type the command "dosemu" In the DOS window that appears, type "d:\bin\command.com" In the DOS window, start SWITCAP by typing "SW.EXE" 3. enter input/output file names (NOTE: input file must exist in your Linux directory "~/.dosemu/drive_c") (NOTE: output file will be placed in your Linux directory "~/.dosemu/drive_c") Example: input: ps6_swit.in output: ps6_swit.out ***** 4. You can look at the output file: type: cd ~/.dosemu/drive_c more ps6_swit.out or cat ps6_swit.out You can print the output file using "lpr -PLJ2107 ps6_swit.out" Filenames are limited to the eight characters plus a three letter file extension. (e.g. filename.ext). NOTE: You can test SWITCAP using a test input file that is automatically placed in your directory "~/.dosemu/drive_c" by the "setup_switcap" command. -> Start SWITCAP by typing "SW.EXE" in the DOS window -> at the 'input' prompt, type 'sw_test.in' -> at the 'output' prompt, type 'sw_test.out' Then look at the sw_test.out file, which should a plot of a filter transfer function (using ascii characters).