Showing posts with label namefix. Show all posts
Showing posts with label namefix. Show all posts

Sunday, April 12, 2009

4.0.1a

Happy easter all

4.0.1a - bit more polish on the CLI interface, thanks to John Tibbs for picking out the coding errors and typos I never manage to.

Ive been a bit quite on the updates for namefix.pl lately due to a new job which keeps me very busy (Systems Administrator for a Large International Mining Laboratory). I have also been house hunting and currently waiting for finance approval for the house I have made an offer on. Hopefully once Im in my new house I will be able to get more coding done and also resume my electronic projects.

Enjoy The holidays :)

Changelog:
  • cli short options can be put anywhere, not just at start
  • updated install.sh to stop making broken links
  • fixed - Special Case misses casing that begin with a hyphen, eg "- a "
  • fixed chdir error when just running namefix-cli.pl
  • fixed "pad NN w -" when using underscores
  • fixed cli short options being double processed as long options and being rejected
  • fixed a few typos

Notes:
Forgot to comment out line 635 and cbf re-uploading and bumping version number either. Line 635 just prints out some info when processing short options.

Monday, December 15, 2008

Drivel & Updated install.sh

Ive been rather busy with a new job, loving it to :)

I have also written another perl app that I will release when I cbf (media playing related). The app also needs some fine tuning yet.

Ubuntu dist upgrade to intrepid fucking ruined my pc. By ruined I mean, the yanking of binary legacy nvidia drivers. My main pc has been faithfully acting in its second roll as media pc. I run a matrox g550 for the desktop and my trusty old ASUS Nvidia TNT2 Ulta (reow). Needless to say, I was pissed - I had encountered the issue previously and managed to resolve it with a custom kernel compile. Not this time though, spent far to long trying everything else but a reinstall.
Having spent far to long avoiding a reinstall, i did it. Then noticed today my install.sh for namefix.pl was not correct. After fixing the stupid stuff I noticed that force install for cpan was no longer working (did it ever work ?). So I googled around, and found this great thread below with a guru giving out his fix.

http://www.perlmonks.org/?node_id=606768

The updated install.sh
echo installing modules

sudo perl -MCPAN -e "CPAN::Shell->force(qw(install Tk));"
sudo perl -MCPAN -e "CPAN::Shell->force(qw(install Tk::JComboBox));"
sudo perl -MCPAN -e "CPAN::Shell->force(qw(install Tk::DynaTabFrame));"
sudo perl -MCPAN -e "CPAN::Shell->force(qw(install Tk::JComboBox));"

echo install script

sudo chmod a+x ./namefix.pl
sudo rm /usr/bin/namefix.pl
sudo ln ./namefix.pl /usr/bin/namefix.pl

This has been corrected in my private wip version and will be included in the next release.

Saturday, September 27, 2008

namefix.pl 4.0.1 - CLI Returns

Welcome back to CLI mode which has been missing since version 2.0.
Its funny how things seem to come full circle, back in 2000 when I started this app it was a very simple command line tool that grew into a gui app. Now 8 years later the command line interface has been put back in. I never intended to take out the cli but I simply lost the 2.0 cli only code while I went mad learning to use the Tk widget set.

New CLI Features:
  • The new cli interface boasts nearly full access to namefix.pl options and once I am done it will have complete access.
  • Short and long style options are supported
  • Can save options as default from cli interface
  • Can output to a console (or gui if u want) html webbrowser using --html, defaults to elinks atm (extremely handy for id3 mode).

Notes:
  • The current options names are not set in stone, think of them as placeholders for better names which Im waiting on users like yourself to suggest.
  • HTML mode really does rock.

namefix.pl 4.0.1