|
|
1.1 ! root 1: .TH CON 1 ! 2: .CT 1 comm_mach ! 3: .SH NAME ! 4: con, rx \- remote login and execution ! 5: .SH SYNOPSIS ! 6: .B con ! 7: [ ! 8: .B -l ! 9: ] ! 10: .I machine ! 11: .PP ! 12: .B rx ! 13: [ ! 14: .B -n ! 15: ] ! 16: .I machine ! 17: [ ! 18: .I command-word ... ! 19: ] ! 20: .PP ! 21: .BI /usr/bin/m/ machine ! 22: [ ! 23: .I command-word ... ! 24: ] ! 25: .SH DESCRIPTION ! 26: .I Con ! 27: connects to the computer whose network address is ! 28: .I machine ! 29: and logs in if possible. ! 30: Standard input and output go to the local machine. ! 31: Option ! 32: .B -l ! 33: prevents automatic login; a normal login dialog ensues. ! 34: .PP ! 35: The quit signal (control-\e) is a local escape. ! 36: It prompts with the local machine name and ! 37: .BR >> . ! 38: Legitimate responses to the prompt are ! 39: .TP \w'\fL!\fIcommand\ \ 'u ! 40: .B i ! 41: Send a quit [sic] signal to the remote machine. ! 42: .PD0 ! 43: .TP ! 44: .BR q , " x" ", or " . ! 45: Exit. ! 46: .TP ! 47: .B b ! 48: Send a break. ! 49: .TP ! 50: .BI ! command ! 51: Execute ! 52: .I command ! 53: locally. ! 54: .PD ! 55: .PP ! 56: .I Rx ! 57: executes one shell command ! 58: on the remote machine as if logged in there, ! 59: but with local standard input and output. ! 60: Unquoted shell metacharacters in the command ! 61: are interpreted ! 62: locally, quoted ones remotely. ! 63: The assignment ! 64: .B REXEC=1 ! 65: appears in the remote environment. ! 66: With no arguments, ! 67: .I rx ! 68: just diagnoses availability. ! 69: Option ! 70: .B -n ! 71: ignores sporadic end-of-file indications on a ! 72: sick network. ! 73: .PP ! 74: Network addresses for both ! 75: .I con ! 76: and ! 77: .I rx ! 78: have the form ! 79: .IB network ! host ! 80: or simply ! 81: .I host. ! 82: Supported networks are ! 83: .L dk ! 84: (Datakit) and ! 85: .L tcp ! 86: (TCP/IP, usually Ethernet). ! 87: .PP ! 88: Directory ! 89: .F /usr/bin/m ! 90: contains machine names as commands: ! 91: .BI /usr/bin/m/ machine ! 92: with no argument runs an appropriate flavor of ! 93: .I con ! 94: for the named ! 95: .I machine. ! 96: If given arguments, ! 97: .BI /usr/bin/m/ machine ! 98: runs ! 99: .I rx ! 100: with those arguments. ! 101: If ! 102: .F /usr/bin/m ! 103: is in the ! 104: .IR sh (1) ! 105: search path, ! 106: the names become commands for navigating the ! 107: local cluster. ! 108: .SH EXAMPLES ! 109: .TP ! 110: .L ! 111: rx overthere cat file1 >file2 ! 112: Copy remote ! 113: .I file1 ! 114: to local ! 115: .IR file2 . ! 116: .TP ! 117: .L ! 118: rx overthere cat file1 ">file2" ! 119: Copy remote ! 120: .I file1 ! 121: to remote ! 122: .IR file2. ! 123: .TP ! 124: .L ! 125: eqn paper | rx pipe troff -ms | rx arend lp ! 126: Parallel processing: ! 127: do each stage of a pipeline on a different machine. ! 128: .SH FILES ! 129: .TF /usr/ipc/lib/auth* ! 130: .TP ! 131: .F /usr/ipc/lib/auth* ! 132: authentication ! 133: .TP ! 134: .F /usr/ipc/lib/serv* ! 135: servers ! 136: .SH "SEE ALSO" ! 137: .IR push (1), ! 138: .IR dcon (1), ! 139: .IR cu (1), ! 140: .IR dkmgr (8), ! 141: .IR svcmgr (8), ! 142: .IR tcpmgr (8), ! 143: .IR ipc (3) ! 144: .br ! 145: D. L. Presotto, ! 146: `Interprocess Communication in the Eighth Edition ! 147: .SM UNIX ! 148: System', ! 149: this manual, Volume\ 2 ! 150: .SH BUGS ! 151: The remote standard error and standard output are combined ! 152: and go inseparably to the local standard output. ! 153: .br ! 154: Under ! 155: .I rx, ! 156: a program ! 157: that should behave specially towards terminals may not: ! 158: .IR sh (1) ! 159: will not prompt, ! 160: .IR vi (1) ! 161: will not manage the screen, etc. ! 162: .I Nrx ! 163: (see ! 164: .IR dcon (1)) ! 165: avoids this trouble, but has others of its own. ! 166: .br ! 167: .I Con ! 168: and ! 169: .I rx ! 170: may not guess the right kind of connection. ! 171: In case of trouble, try the programs in ! 172: .IR dcon (1). ! 173: .br ! 174: The names in ! 175: .F /usr/bin/m ! 176: are conventions, not actual network addresses.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.