From owner-freebsd-hackers Sat Jul 21 3:10:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from active.ath.cx (ras8-p117.hfa.netvision.net.il [62.0.103.117]) by hub.freebsd.org (Postfix) with ESMTP id 1EF4E37B403 for ; Sat, 21 Jul 2001 03:10:20 -0700 (PDT) (envelope-from amir@boom.org.il) Received: by active.ath.cx (Postfix, from userid 1000) id 5ABC76E7BB; Sat, 21 Jul 2001 13:10:13 +0300 (IDT) Received: from localhost (localhost [127.0.0.1]) by active.ath.cx (Postfix) with ESMTP id 13B3B6A9CE for ; Sat, 21 Jul 2001 13:10:13 +0300 (IDT) Date: Sat, 21 Jul 2001 13:10:12 +0300 (IDT) From: Amir Shalem X-X-Sender: To: Subject: question about ttys Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in kernel, when I have (struct tty*)cur_tty pointer how can I know if the cur_tty is a console (ttyv) ? or X windows ? I'm writing a wheel support for console, but it creates problem with the X windows. thanks, Amir. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message