Jean-Yves Lamoureux
eff2f954de
* Added telnet commands and options strings for debug
19 年前
Sam Hocevar
195da3f08f
* Support CACA_GEOMETRY in the network driver. Still defaults to 80x24.
* Use RETSIGTYPE for signal handler return values.
19 年前
Sam Hocevar
9e698966f2
* Replaced all cucul_get_* exporters with a generic cucul_export() function.
* Got rid of static buffers; we now use cucul_free() to free exported
buffers.
* Fixed light background in the ANSI exporter by adding escape sequences for
most terminal emulators.
19 年前
Sam Hocevar
adc85b5711
* Do not switch to alternate screen when clearing, because sometimes we
are unable to cleanly restore the state.
19 年前
Sam Hocevar
a188ec5c32
* Pressing Ctrl-C on the client side now drops the connection.
19 年前
Sam Hocevar
31229fae80
* Changed port environment variable to "CACA_PORT". No need to mention it's
a network port, we could have guessed.
19 年前
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.
19 年前
Sam Hocevar
edbd6a2e55
* Set the client sockets as non-blocking, and implemented non-blocking
writes. Currently works very badly with more than one client.
19 年前
Jean-Yves Lamoureux
d47bd8b490
* Added CACA_NETWORK_PORT env and related documentation
19 年前
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
19 年前
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.
19 年前
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.
19 年前
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.
19 年前
Jean-Yves Lamoureux
a676487863
* Changed way temporary buffer of ansi export was handled. Need to do that for other exporters as well.
19 年前
Jean-Yves Lamoureux
e710d1078d
* Fixed memory leak in network driver
19 年前
Jean-Yves Lamoureux
f957e380d4
* Fixed blinking screen
19 年前
Jean-Yves Lamoureux
b9ab5e0e5a
* Exporters now return size of generated data
19 年前
Jean-Yves Lamoureux
fd331c1504
* Added very preliminary network driver
19 年前