bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] programming with readline without terminal


From: AL13N
Subject: [Bug-readline] programming with readline without terminal
Date: Sun, 20 Jan 2008 12:39:06 +0100
User-agent: KMail/1.9.7

Hello,

This is not a bug, but i couldn't find any other relevant mailing-list.

I 've made a small 3D game, and i have some console support on it, but i'd 
like to use readline; i'm wondering what the best approach should be.

Since i don't have a 'terminal' as such; i have functions that read a char and 
print a char on screen depending on several things; how would i set it up 
using readline? do i need SIGWINCH or it's callback functions? should i set 
the input/output FILE* ?

Or should i make a fake terminal?

A small thing to keep in mind is, that the game h       as a cli version as 
well; a 
complication is that there is a command that when in cli version, starts up 
an internal gaming module that starts a X window and switches to the fake 
console in that opengl X window.

Thanks in Advance
-- 
AL13N is my name and head-biting is my game.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]