[u3b.tech] using take on 3B2/300

xchen@caip.rutgers.edu (Xinghao Chen) (02/21/91)

I need help on using the take command on my 3B2/300 computer.
I am having two problems with using take:
    1. It would halt there until I press the DELETE key.
    2. It would add extra two lines at the end of the file being
       transfered.

Here is the outcome on the screen. The tee file has three lines. The
first line has 41 "t" characters and the second and the third lines
have 41 "e" characters in each line.

Outcomes on the screen:(YYY% is the remotor machine's prompt and XXX
is the name of the local 3B2/300 computer)

YYY%~[XXX]%take tee tee
stty -echo;test -r tee&&(echo '~>':tee;cat tee;echo '~>');stty echo
~>:tee
**** I pressed the DELETE key ****
File tranmission interrupted
+
~>
4 lines/141 characters
';mesg y;sttUnmatched '.
YYY%missing name for redirect.
YYY%y echo
^? Unmatched '.
YYY%pwd   ****I typed the pwd ****
^?pwd: Command not found
YYY%~[XXX]%put tee tp   **** I typed the put command ****
tty - echo;(cat - > tp)||cat - >/dev/null; stty echo
+
4 lines/141 characters
YYY%more tp ****I typed the more command ****
ttttttttttttttttttttttttttttttttttttttttt
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee^>  **** the tail was added in ****
YYY% echo '   **** this line was added in by the take process ****


Please give me some advices on this. The put command is working fine.
At least it completes its process and return the system prompt.

Thanks a lot.

- Chen