From mint-bounce@lists.fishpool.fi Fri Jul 31 07:04:24 2009 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=zpHiOohD1XDygav0Qur5GYg+0qLVtWZDpu/xgS+bpjY=; b=RPoeF5pQIY1uPKVLl3lCxGIKFuZskOsRL0sAFxUN0kolhZjyNq/YmnFIOZFxUg3/C2 b5rprB0kVchMkx8is3J+xY1OYc0s3+X+fzdDbS2dWFLE/CBKLnnx6U03lr2RLa9kf9xw PBCeua226Fo68Q+ob7v+VpbeRPb7SE+/ewYn0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=iR3QU8/k6nan1vrfw9ELkISytUK+YzCUd9Q7DxvI2DjKdvnRUhqjV84jUqfbDvQD6f /H2OxH8wGh6BeoWU3COqvwjE9Wh0UgeMQySSGMca4rk992caZnzpP02zy7hprJ6ga60v L9OM+kPr4GLwSUr9vG2S1DXFa3LnpU9u9DbEE= Message-Id: <1C73DC0F-2F69-4BAA-85A1-1E112B7988BF@gmail.com> From: Peter Persson To: mint In-Reply-To: <4A71C3BB.5070604@atari-source.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: [MiNT] Half-ugly fullscreen applications, how to recover when things go bump Date: Fri, 31 Jul 2009 12:56:50 +0200 References: @mail.ie-meel.nl <4A71C3BB.5070604@atari-source.org> X-Mailer: Apple Mail (2.935.3) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: pep.fishmoose@gmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Hi, I'm working on a framebuffer library, which does some ugly stuff to be able to run stuff in fullscreen, and to be able to read multiple keys at once. At the moment I can't see any clean way to do that stuff, unfortunately. The biggest problem with this is that when something goes wrong, i.e. if the app crashes, I need to restore the desktop screen and keyboard/mouse/joystick vectors. Is there a nice way to do this? Maybe it's obvious and fundamental unix knowledge, but let's say I get a bus error, is there a way to implement some kind of "panic" recovery? best regards -- PeP