abs0 / wargames

Shell script to simulate the W.O.P.R. computer from WarGames (wopr)
81 stars 25 forks source link

Some tiny patchs #1

Closed nsapa closed 12 years ago

nsapa commented 12 years ago
abs0 commented 12 years ago

Thanks - the cuu1 usage works fine in NetBSD too :) As for the -- arguments change - thats just cosmetic - as the first argument doesn't start with a "-"?

nsapa commented 12 years ago

The -- argument change is required:

$ ./wopr "IDENTIFICATION NOT RECOGNIZED BY SYSTEM" "--CONNECTION TERMINATED--" ./wopr: invalid option -- '-' usage: wopr [opt] arg [arg2 ...] opt: -c msec Delay per character -l msec Delay per line -n No new line

$ ./wopr -- "IDENTIFICATION NOT RECOGNIZED BY SYSTEM" "--CONNECTION TERMINATED--" IDENTIFICATION NOT RECOGNIZED BY SYSTEM --CONNECTION TERMINATED--