From owner-freebsd-questions Mon Mar 27 00:00:51 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA13256 for questions-outgoing; Mon, 27 Mar 1995 00:00:51 -0800 Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id AAA13236 for ; Mon, 27 Mar 1995 00:00:43 -0800 Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id KAA06274 for questions@freebsd.org; Mon, 27 Mar 1995 10:00:11 +0200 From: Luigi Rizzo Message-Id: <199503270800.KAA06274@labinfo.iet.unipi.it> Subject: Any mouse library for tty apps ? To: questions@FreeBSD.org Date: Mon, 27 Mar 1995 10:00:11 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1229 Sender: questions-owner@FreeBSD.org Precedence: bulk I have to set up a very simple application which should talk to the outside workd and make use of a mouse and TEXT display for the user interface -- no keyboard, no graphics. I have the choice of using an old PC with a serial line, and write some code to the PC; or, I can get a terminal and hook it to the serial line of a FreeBSD system, and either putting the mouse on a separate line, or in ''parallel'' with the terminal (a bit of electronics doesn't scare me; however, speed might need to be reduced) . At this point, I would need some code which allows me to track the mouse, and report actions to the application program. I think such a thing might be of more general use than for my application, so I was wondering if something was already written for this purpose, or if there was any source available (e.g. the mouse driver code ?) to help in the work. Thanks Luigi ==================================================================== Luigi Rizzo Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it Universita' di Pisa tel: +39-50-568533 via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 ====================================================================