Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mailrus!uwm.edu!cs.utexas.edu!yale!mintaka!bloom-beacon!GATEWAY.MITRE.ORG!rich From: rich@GATEWAY.MITRE.ORG Newsgroups: comp.windows.x Subject: (none) Message-ID: <9008031147.AA18169@gateway.mitre.org> Date: 3 Aug 90 11:47:20 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 69 ------- Forwarded Message Received: from localhost by gateway.mitre.org (5.61/SMI-2.2) id AA18082; Fri, 3 Aug 90 07:40:17 -0400 Message-Id: <9008031140.AA18082@gateway.mitre.org> Organization: The MITRE Corp. To: rich Subject: send failed on enclosed draft Date: Fri, 03 Aug 90 07:40:16 -0400 From: rich xpert@expo.lcs.mit.edurich: post: unexpected response; [RPLY] 554 xpert@expo.lcs.mit.edurich... Unknown domain edurich or host expo . lcs . mit Message not delivered to anyone. - ------- Unsent Draft To: snorkelwacker!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsu ng!rex!ukma!chaney@bloom-beacon.mit.edu (Dan Chaney) cc: xpert@expo.lcs.mit.edu rich Subject: Re: xdm and /dev/console windows.... In-reply-to: Your message of 02 Aug 90 20:29:55 +0000. <15752@s.ms.uky.edu> - - -------- > I need to associate a window with /dev/console in order to >prevent cron, et al. from goofing up my root X window (background). >I'm running a Sun 4.0.1 Sparc 1+ (if that matters) with the standard >X stuff and xdm. I've heard there was a way to start a window as >/dev/console (thus taking away all the output piped to /dev/console...) I have also wanted to do something similar. I wanted to know if I can open a window and associate it with a particular ttyp device other than the console? I want a process that is spawned by a deamon process to write to a specific window, but I do not want to use the Xlib to have the process open a window. I just want to use xterm to open a window in the background and associate that window with, say /dev/ttyp5, and then open a file descriptor to /dev/ttyp5 in my C program and use fprintf(). There is an option to xterm, -Sccn which according to the X Window System User's Guide "Specifies the last two letters of the name of a pseudo-terminal to use in slave mode. This allows xterm to be used as an input and output channel for an existing program..." X11 man page says that "this allows xterm to be used as an input and output channel for an existing program and is sometimes used in specialized applications". The xterm -help information is a little more specific. It decribes the - - -Sxxd option as "slave mode on 'ttyxx', file descriptor 'd'". I could not get this option to work... Does anyone know how to actually use this option? Does "slave mode" refer to the parent/child relationship of two processes? Or does it mean something else? Thanks, Rich - - ----------------------------------------------------------- rich@gateway.mitre.org aTdHvAaNnKcSe :-) - ------- End of Unsent Draft ------- End of Forwarded Message