1996-07-30 16:05:56 -03:00
|
|
|
import sys
|
|
|
|
import rcvs
|
|
|
|
|
2006-03-17 02:49:51 -04:00
|
|
|
def raw_input(prompt):
|
|
|
|
sys.stdout.write(prompt)
|
|
|
|
sys.stdout.flush()
|
|
|
|
return sys.stdin.readline()
|
|
|
|
|
1996-07-30 16:05:56 -03:00
|
|
|
def main():
|
2004-07-18 02:56:09 -03:00
|
|
|
while 1:
|
|
|
|
try:
|
2007-07-17 17:59:35 -03:00
|
|
|
line = input('$ ')
|
2004-07-18 02:56:09 -03:00
|
|
|
except EOFError:
|
|
|
|
break
|
2006-03-17 02:49:51 -04:00
|
|
|
words = line.split()
|
2004-07-18 02:56:09 -03:00
|
|
|
if not words:
|
|
|
|
continue
|
|
|
|
if words[0] != 'rcvs':
|
|
|
|
words.insert(0, 'rcvs')
|
|
|
|
sys.argv = words
|
|
|
|
rcvs.main()
|
1996-07-30 16:05:56 -03:00
|
|
|
|
2006-03-17 02:49:51 -04:00
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|