I have been looking online for a year, and cant find one.
I used to use the int86() command in dos command-line mode, but it can't
work in linux.
I am using Allegro to make my program work, but I need to put it on a
floppy, both the kernal and the program.
Allegro only works in X-windows, and is commericial anyway.
I have tried to figure it out from allegros code, but its too spread out for
me to get it all.
I just need a small program to read the /dev/mouse file and return the
mouses direction, button state, and its accelleration in any given
direction.
I can't see why I can't find it anywhere, doesn't anybody write code for
linux's command line using the mouse anymore.
I also don't want GPM installed either, just the command-line shell only,
with mouse support compiled into the kernel.
Please, if anybody know where I can find this, or has some really small code
for this, please post it.
I have tried reading the /dev/mouse file as a stream, and decoding the data,
but its above me.
Thanks.
MacGyver 1 2732 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Maurice LING |
last post by:
Hi,
I've been using FB1.5 and access the database using Kinterbasdb +
Python. My connection is established using kinterbasdb.connect() method
and the parameters host, dns, database, user,...
|
by: shoo |
last post by:
Any one know how to do this? thank
Write a simple text-formatting program that produces neatly printed
output from input text containing embedded command lines that
determine how to format the...
|
by: Adam |
last post by:
I am coding a microkernel based off of Tanebaum's theroy. For Isis to
be extensible, fast, and secure, it has been decided it will be a
microkernel. Not in the old Mach sense of the word, but in...
|
by: shoo |
last post by:
Any one know how to do this? thank
Write a simple text-formatting program that produces neatly printed
output from input text containing embedded command lines that
determine how to format the...
|
by: CK |
last post by:
Hi EveryBody!
This is the World Smallest Program in c.
main(l
,a,n,d)char**a;{
for(d=atoi(a)/10*80-
atoi(a)/5-596;n="@NKA\
CLCCGZAAQBEAADAFaISADJABBA^\
SNLGAQABDAXIMBAACTBATAHDBAN\...
|
by: CMG |
last post by:
Hi,
I have been looking for this quite some time now. I want
to be able to pass along a string of data into my
compiled programs, like prog.exe "myvar1" "myvar2" etc.
or prog.exe /f whatever /g...
|
by: utab |
last post by:
Dear all,
I am making a system call to the well known Gnuplot with
system("gnuplot");
gnuplot opens if I only supply this command but I would like to pipe
that command line in my C++...
|
by: Michael R |
last post by:
It's an interesting question, as I see it.
I have a form, in which there are a few command buttons, which change color when the mouse is on top of them (On Mouse Move). Now, I want the color to be...
|
by: Grant Edwards |
last post by:
I've got a system where I try to install extensions using
/usr/local/bin/python setup.py install
But, it fails when it tries to use a non-existant compiler path
and specs file. I suspect it's...
|
by: Dave |
last post by:
Hello All,
These one may be a bit tricky, and what I'd like to do may not even be
possible. I would love to hear any ideas you guys have for solving
this.
Here is the situation: I have a form...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |