bugCybernetics Oriented Programming - Bugs: bug #50443, TUI user input does not work on...


bug #50443: TUI user input does not work on mac os x

Submitter:  Enrico Gallus <susanoo>
Submitted:  Fri 03 Mar 2017 06:22:28 AM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Postponed
Privacy:  Public Assigned to:  susanoo
Open/Closed:  Open Release:  * 0.18
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


Fri 03 Mar 2017 01:51:41 PM UTC, comment #1: 

This is a larger issue that needs greater reflexion since it affects the whole event handling architecture.

CYBOI is based on just one main event/signal handling loop, similar to game programming.

There are two possibilities for sensing input:
1 non-blocking calls
2 blocking calls wrapped in a thread
Currently, both are used in a mixed manner in CYBOI.

Among others, the following channels have to be considered:
- tui: terminal/console
- gui: x_window_system, win32 api
- wui: socket

The problem is, that each platform handles things a bit differently. For example, the pthread library for threads in unix/linux may not be used in windows (and possibly not in mac osx) because threads are handled differently there.

This issue is on my todo list and we may also talk about it, perhaps in person, once you are back in Germany.

I currently have the idea of inspecting the "libuv" library and using their ideas. All a matter of time ...

Christian Heller <christian>
Project Administrator
Fri 03 Mar 2017 06:22:28 AM UTC, original submission:  

At the moment the user input does not take any arguments.
The TUI does not react to any pressed button.

Enrico Gallus <susanoo>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by christian (Posted a comment)
  • -email is unavailable- added by susanoo (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-03 christian StatusNone Postponed

    Back to the top

    Powered by Savane 3.9