Sam Hocevar
adc85b5711
* Do not switch to alternate screen when clearing, because sometimes we
are unable to cleanly restore the state.
il y a 18 ans
Sam Hocevar
a188ec5c32
* Pressing Ctrl-C on the client side now drops the connection.
il y a 18 ans
Sam Hocevar
31229fae80
* Changed port environment variable to "CACA_PORT". No need to mention it's
a network port, we could have guessed.
il y a 18 ans
Sam Hocevar
2442e911a4
* Improvements to the network output:
+ Changed port to 51914 (rationale: it's 0xCACA; so okay, it's outside
the registered ports area, but we'd never be accepted anyway).
+ Retry network sends in caca_get_event(), too.
+ Have a per-client buffer in case of network congestion. If that buffer
gets full, just drop it and start again at the next frame.
+ Set the window title to "caca for the network".
+ Do not send the ANSI buffer's terminating \0.
+ Restore the SIGPIPE handler on close.
+ Set window size to 80x24 instead of 80x25.
il y a 19 ans
Sam Hocevar
edbd6a2e55
* Set the client sockets as non-blocking, and implemented non-blocking
writes. Currently works very badly with more than one client.
il y a 19 ans
Jean-Yves Lamoureux
d47bd8b490
* Added CACA_NETWORK_PORT env and related documentation
il y a 19 ans
Jean-Yves Lamoureux
1c6bfd09a1
* Fixed configure script to check for UTF8 enabled slang, removed network driver debug output, added size > 255 in telnet negociation, fixed scrolling bug in network driver
il y a 19 ans
Sam Hocevar
6f7f557f83
* Handle incoming connections in network_get_event() as well as
network_display() so that new clients immediately get the contents
of the canvas and do not need to wait for a caca_display() call.
il y a 19 ans
Sam Hocevar
d1e1dbd630
* Use the internal version of cucul_set_size in output drivers so that
they can force a resize. We need to find a way to make those specific
cucul - caca interactions unavailable to the clueless user.
il y a 19 ans
Jean-Yves Lamoureux
80d7cee0ba
* Multiplexed sockets, it is now possible to have multiple clients at the same time watching for the same libcaca application. And no fork or threads involved. THAT'S high technology.
il y a 19 ans
Jean-Yves Lamoureux
a676487863
* Changed way temporary buffer of ansi export was handled. Need to do that for other exporters as well.
il y a 19 ans
Jean-Yves Lamoureux
e710d1078d
* Fixed memory leak in network driver
il y a 19 ans
Jean-Yves Lamoureux
f957e380d4
* Fixed blinking screen
il y a 19 ans
Jean-Yves Lamoureux
b9ab5e0e5a
* Exporters now return size of generated data
il y a 19 ans
Jean-Yves Lamoureux
fd331c1504
* Added very preliminary network driver
il y a 19 ans