Page 1 of 1

How to kill a purenasic task

Posted: Tue Jan 20, 2004 6:52 pm
by Brujah
Hy Programmers,

sometimes I start a purebasic program and I can't quit it because my routine to examine the keyboard has an error, or the like.

How can I kill that task ?

I know how to use "ps ax",
but when I kill the task named "purebasic" nothing happens.
My program is still running.

What do I have to do ?

Posted: Tue Jan 20, 2004 7:13 pm
by Saboteur
Have you tried with: ???

kill -15 pid

or

kill -9 pid

(I don't remember exact number) where pid is the process_id showed in 'ps ax'.

Posted: Tue Jan 20, 2004 10:20 pm
by Brujah
Yes I just tried it.
It eally kills the task.

BUT after that my resolution is 640x480, thats what I use in the game.
And my mouse is not working anymore...

How can I restart he mouse and change screen resolution ?

Posted: Tue Jan 20, 2004 10:35 pm
by dmoc
Ctrl+Alt+Backspace kills X, then restart again with "startx"