A Sourceful of Secrets

Andrew E. Bruno

Archive for September 2010

Logging out without killing a process

leave a comment »

Here’s the scenario, you’re logged into your favorite *nix box and are using bash as your shell. You fired off some process which is going to take a while to run (and forgot to run screen) and you want to logout without killing that process. The command to use is disown. Here’s a really simple example:

$ ssh some-host
$ perl script-that-chugs-along.pl
$ Ctrl-Z (suspend)
$ bg (put it in background)
$ disown -h
$ logout

The disown command allows you to remove jobs from the list of active jobs associated with your login shell. Here’s an excerpt from the bash man page:

Without options, each jobspec is removed from the table of active jobs. If the -h option is given, the job is not removed from the table, but is marked so that SIGHUP is not sent to the job if the shell receives a SIGHUP.

Written by Andrew

2010/09/14 at 04:29

Posted in Linux

No more moko for me

with 2 comments

Well it’s been just over 2 years now since I picked up my Neo Freerunner and unfortunately I have nothing good to report back. When I first got my hands on the Freerunner I had great expectations as can be seen in my previous posts however it turns out I was little too optimistic.

My hope was to write about my experience developing applications for the device but it seems as though I was one of the unlucky users who suffered from the infamous buzz. And I don’t mean buzz in a good way :) Apparently this didn’t effect every user and was more prevalent when using certain GSM bands. However random it may have been for some users it was an absolute show stopper for me and rendered the device pretty much unusable as a phone. Anytime I placed a call, the person on the other end heard a horrible loud buzzing sound. After a while Openmoko finally tracked down the source of the buzzing to a hardware problem and published some instructions on how to mod the device (known as the big-C rework). Unfortunately it requires some fairly advanced SMD-soldering skills and is way out of my league. As far as I know, Openmoko never really offered much help in resolving the issue for people who had already purchased the device with the hardware flaw (rev A5/A6) and were unable to preform the necessary surgery.

Despite the lacking phone functionality the Freerunner itself is still pretty cool. I’m sure I’ll be able to think of some other fun projects to use it for especially since it runs Debian.

Written by Andrew

2010/09/13 at 02:28

Posted in FreeRunner

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: