static int hexMode = HEXMODE;
-static const char trbcmd_version[] = "$Revision: 2.49 $";
+static const char trbcmd_version[] = "$Revision: 2.50 $";
#define BACKLOG 10
static uint16_t tcp_port = 55555;
if (strcmp(argv[argc - 1], "tcp") != 0) {
/* Run normal TRBCMD */
-#ifndef TRB_RPC
init_ports();
-#else
- trb_connect(NULL);
-#endif
if (start(argc, argv) == 0) {
exit(EXIT_SUCCESS);
myPid = getpid();
write(myFd, "\n", 1);
atexit(atexit0);
-#ifndef TRB_RPC
- init_ports();
-#else
- trb_connect(NULL);
-#endif
+
clientout = fdopen(myFd, "a");
/* redirect output */