From owner-freebsd-hackers Fri Dec 6 10:05:09 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA03528 for hackers-outgoing; Fri, 6 Dec 1996 10:05:09 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id KAA03486 for ; Fri, 6 Dec 1996 10:04:59 -0800 (PST) Received: from alpha.inter.net.il (kube_new_32.access.net.il [206.249.128.96]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id IAA04535 for ; Fri, 6 Dec 1996 08:00:27 -0800 (PST) Received: (from enoch@localhost) by alpha.inter.net.il (8.7.5/8.7.3) id RAA00751; Fri, 6 Dec 1996 17:57:29 +0200 (IST) Date: Fri, 6 Dec 1996 17:57:28 +0200 (IST) From: Enoch Wexler Reply-To: wexler@inter.net.il To: freebsd-hackers@freebsd.org Subject: API for handling the mouse, etc. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I am porting a text program from DOS. The original is written in Borland C++ using their console I/O library and int86(51,...) for the mouse. 1. "curses" beats "conio", but I have no clue how to enter color... 2. From mouse.h and psm.c that I found it is difficult to learn on the API. Can you please tell me where the relevant docs or some programming examples are. Thanks, Enoch. P/S Will this ported program run under X?