Friday, March 19, 2010

Shell script - almost got it.

I have been reading this book called "Linux Shell Scripting with Bash" by Ken O Burtch. Shell Script Book I have also been reading a sed tutorial and the Gnu Awk Manual. I think I am getting closer to making a shell script. Already, I have figured out how to use pipes. In order to user pipes to pipe the input to the next command you type more nameoffile.txt | stupidcommand. where nameoffile.txt is the big list of text you want to run through the stupidcommand. The stupidcommand is a stupid shell script. It took me a while to figure this out, like several years. I do not expect it to go any faster. Either people already know it and they go too fast for me, or they still have not figured it out yet because it is hard. I like how you can substitute one word for another with sed. I also found a sed command that allows you to get the path names for everything recursivly, so that way I could get the names of all the files I need to change with sed.

Since I am going to the libre planet conference tommarow and Sunday, I will try to either finish it there (since I have a laptop now) Or when I get back. I do not really have memorized how the sed command works though.

Monday, March 1, 2010

Evil Microsoft Windows Development

Yesterday I was thinking about something. I was wondering if I might get more people involved with a windows client and server. I don't have any windows later than 98SE though to test anything on. I was wondering if someone who already has windows (I would not want anyone buying or pirating ms windows just for this if they don't already have it, since you can just test and run the program on its native linux/unix anyway.) I found out about cygwin. http://www.cygwin.com/ How, supposevily, you can take any open source application written for unix and compile and run it on windows. I wonder how the performance compares to that of Linux. I have no idea (Linux performance is not what it should be either, but that is because we need to find a more efficent way to draw the tiles with out getting into requiring 3d drivers or dependency hunt, I am thinking either lower res graphics or if someone could redo the x11 client code.

The other thing I keep wondering is what do people really prefer in a user interface. I started to think people might like drag and drop, but most serious gamers just use macros anyway when they can get away with it, as drag and drop is too time consuming, so in that sense, maybe the User Interface is good how it is.