On 24.09.2011 15:17, Richárd Szalai wrote: > nc works flawlessly, but I failed at making the two scripts together. > > Is there a way to do such (pararelly outputting NC while getting user input) > in Bash.
You can put nc in the background using &, but I don't think you'll get a program that feels user friendly that way. :/ > I don't know python very well. I don't want to ask you to do the > code for me, but can you help me with some google keywords to get this > rolling? You'd basically need two threads, one that reads stdin and runs the commands you enter, and one that listens on the UDP port and prints the logs it receives. Apart from that, it's simple socket stuff. It should be fairly easy to do using srcdspy[1]. Cheers, Michael [1] http://sourceforge.net/projects/srcdspy/ -- Öffentlicher Schlüssel: 48F81543 - Michael Ziegler (Svedrin) Wo kämen wir denn da hin, wenn jeder nur fragte "Wo kämen wir denn da hin?", aber niemand ginge, um zu sehen, wohin wir kämen, wenn wir gingen? (Autor unbekannt) _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

