Author Archive
ethload Redux
by armpit on Jun.02, 2010, under Bash, Gaming, Unix, Wolfenstein: Enemy Territory
This is a quick update to my script for running multiple eth32 versions on linux. It can now handle eth as well as eth32. The script is pretty much self explanatory, but if you need more information then look here.
Quick intro to ncurses
by armpit on Feb.03, 2010, under C Programming, Development, Unix
Curses is a pun on the name “cursor optimization”, it is a library that forms a wrapper for working with raw terminal codes. It’s flexible and efficient API provides functions to move the cursor, create windows, produce colors, play with mouse, and more. By using curses we do not need to bother worrying about the capabilities of the terminal we are running on.
For this demonstration we will build a simple ‘Keycode Scanner’. To show off a bit, we will add a realtime clock display as well. (continue reading…)
IPC Message Queues on *nix
by armpit on Feb.01, 2010, under C Programming, Development, Unix
Message queues are handy. A process can create a new queue or connect to an existing one. This allows multiple processes to share the same queue. By default messages are taken off the queue in the same order as they are put on, but there are ways to retrieve messages before they reach the front of the queue. (continue reading…)
Running Multiple Versions of ETH32nix
by armpit on Jan.16, 2010, under Bash, Gaming, Unix, Wolfenstein: Enemy Territory
The following script is what I use to load my ETH32nix. It allows me to have multiple versions installed and set a particular version as active. This lets me quickly drop any newly released versions into a folder, compile it, and then I can set it as active and run it using this script. If I don’t like the new version it is a simple matter of setting my old one back as active. (continue reading…)
Simple Port Scanner
by armpit on Jan.06, 2010, under Perl
This is a simple port scanner that uses the IO::Socket module. The host to scan and the port range are passed as arguments to the script. The only error checking done is to ensure that the start/end ports given are non-floating point numbers, so one enhancement that could be made is to check that the hostname/ip is valid. (continue reading…)