A From:	SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 18-MAY-1993 19:16:13.36  To:	EVERHART CC:	1 Subj:	SOLVED: DecNet TTT with VMS/POSIX as Server   1 From: tom@finwds01.tu-graz.ac.at (Thomas Leitner)  X-Newsgroups: comp.os.vms 4 Subject: SOLVED: DecNet TTT with VMS/POSIX as Server Date: 18 May 1993 16:54:31 GMT3 Organization: Technical University of Graz, Austria 	 Lines: 27 1 Message-ID: <1tb4c7INNjjb@fstgds15.tu-graz.ac.at> ) NNTP-Posting-Host: finwds01.tu-graz.ac.at # X-Newsreader: TIN [version 1.1 PL9]  To: Info-VAX@KL.SRI.COM  X-Gateway-Source-Info: USENET   E The solution is: Use the following command file to start up the Posix  server:   - $ open/read/write/error=opnerr infile sys$net B $ posix/nodeb/run/input=infile/output=infile <.wiis.lib.cslib>srv. $ close infile $ exit	 $ opnerr: + $ write sys$output "can't open net channel"  $ exit  G In the server code, change stdin to RAW mode and turn off echoing using = standard POSIX termios calls. Copy fileno(stdin) to netin and A fileno(stdout) to netout and use these as network in/out sockets, C respectively. Open a log file and redirect stdout and stderr to the 	 log file.   A Thanks how I do it now. Hope I don't run into more problems since  I got to do non-blocking read.   Tom I ------------------------------------------------------------------------- I Tom Leitner, Dept. of Communications, Technical University Graz / Austria E Internet: tom@finwds01.tu-graz.ac.at  or  tom@piassun1.joanneum.ac.at  FidoNet : 2:316/7.91I ------------------------------------------------------------------------- E When a train station is where the train stops, what is a workstation?   