just out of curiosity, how would I do something like this in non-windows operating systems?