[comp.unix.wizards] C-kermit and unix

senderow@janus.Berkeley.EDU (Dan Senderowicz) (10/06/89)

If one reads the documentation of the C-kermit program, it seems
possible to perform an on line "take file" such as:

	% echo 'take filename' | kermit

or

	% kermit < filename

instead of the regular interactive "take" at the kermit prompt:

	C-Kermit> take filename

In fact the program seems to be happy with either of the first
two approaches, however it immediately exits as if was operating
in the background. The advantage of the first two modes is the
possibility of aliasing different kermit procedures such as
dialing scripts to different places with different login
procedures, etc. The only way (and chrummy) that I had to solve
the problem was to alias a procedure which first copies or
renames "filename" into .kermrc (the conventional initialization
file for kermit), and before exiting, rename .kermrc into
"filename" again. Does anybody have a more elegant way of
solving the problem? Maybe hacking into the code? Thanks.