/ #blog 

T610 Tricks

I have a Sony Ericsson T610 and happened upon these nifty tricks that increase the fun factor. The T610 is a nice little phone, with a bad camera but otherwise it’s full featured. As usual with SE phones, it’s bluetooth implementation just works and it does all the stuff the mobile professional with too much money (GRPS on holidays to work and surf) needs. At first, when ompared to soemthing like the Sharp GX20 which I have been seeing a lot lately, the GX20 (or it’s successor the GX30) win hand down. (The screen on the GX models is absolutely stunning (240*320 pixels)). But Bluetooth is only enabled for handsets. There is no modem that can be used (even though the GX20/30 uses GPRS for it’s WAP / Web stuff). In short: It’s totally useless for me. ...

Jens-Christian Fischer
/ #blog 

Spot the difference

Version 1: su bea -c “cd /opt/local/somewhere && ./runSomeShellScript.sh” Version 2: su - bea -c “cd /opt/local/somewhere && ./runSomeShellScript.sh” It took me about an hour to figure out why my installation package (which used version 1) didn’t work. Stranger because it worked flawlessly from the commandline. All *nix geeks will already have spotted the difference and LTAO my mistake. For all others: the “-” parameter to su specifies that the user should get his own correct environemnt. Without the “-”, the new shell process will inherit the environment from the calling process (which – as it was in my case – lacked some ENVIRONMENT variables that the script excpected) ...

Jens-Christian Fischer