Computing

bash and tab-completion of symlinked directories

(in Computing on 2008/11/08)

OOTB on my desktop, tab-completion of a symlink to a directory doesn’t include the trailing slash unless you tab twice. This apparently comes from readline and not bash itself, and your ~/.inputrc can change the behavior:


mark-symlinked-directories
If set to ‘on’, completed names which are symbolic links to directories have a slash appended (subject to the value of mark-directories). The default is ‘off’.

$ cat /home/covener/.inputrc
set mark-directories On
set mark-symlinked-directories On

Comments (0)

Chrome browser

(in Computing on 2008/09/02)

Read the Chrome comic if you care about technology or the internet.

Comments (0)

Accelerated graphics for dummies

(in Computing on 2008/08/30)

Comments (0)

owned by /usr/bin/tee

(in Computing on 2008/08/08)

I was debugging a perl script that invoked lots of external commands and checked return codes along the way. Somewhere in the course of debugging, I decided it would be a good idea to dump the output of one of the subcommands to a file.

I appended 2>1 | tee log to the command invocation, because this is a pattern I use in a terminal for running a very similar script (whose progress I want to track but still be able to get at it in a file).

But, when you add to the pipeline instead of just redirecting with the regular operators, you actually clobber the return code of the entire pipeline.

Compare:

false; echo $?

vs.

false | tee log; echo $?

vs.

false > log; echo $?

Comments (1)

decision on anonymous shared memory allocation method failed

(in Computing on 2008/06/25)

This can happen if autoconf decides to use the wrong pre-processor while testing for what headers you have installed (AC_CHECK_HEADER). Each header test will fail, so when it comes to testing for actual featrures, the feature tests will fail b/c the proper headers won’t be included.

On Solaris 10 (amd64), run configure with CPP=”cc -E” so /lib/cpp isn’t found. /lib/cpp can’t handle some of the system headers that are ultimately included.

Comments (0)

Error 34 detected in refresh_z90crypt

(in Computing on 2008/06/02)

Contrary to popular belief, this error message does not always mean your z/Linux system hasn’t detected any z/VM crypto coprocessors. Even when you see this logged when laoding z90crypt, you should still be able to access your crypto card slot. If you can’t, turn your focus away from z90crypt and back towards things like pkcsslotd.

Comments (0)

Apache promotion

(in Apache
Computing
IBM on 2008/05/01)

I accepted an invitation to join the Apache HTTPD Project Management Committee (PMC)

http://www.apache.org/foundation/how-it-works.html#structure

PMC member is a developer or a committer that was elected due to merit for the evolution of the project and demonstration of commitment. They have write access to the code repository, an apache.org mail address, the right to vote for the community-related decisions and the right to propose an active user for committership. The PMC as a whole is the entity that controls the project, nobody else.

Comments Off

pidgin forked…

(in Computing on 2008/05/01)

And the fork already addresses one of my pet-peeves:

An option to set the size of the buddy icons displayed in the chat window.

funpidgin++!

Comments Off

RHEL5 upgrade: Error: No Package Matching kernel.ppc64

(in Computing on 2008/03/21)

I saw a system today where one lonely RHEL4 package had been installed, and it caused a conflict during 5.0->5.1 upgrade that ultimately “hid” the kernel package.

The last two messages in yum upgrade

–> Processing Conflict: kernel conflicts e2fsprogs < 1.37-4
Error: No Package Matching kernel.ppc64

rpm -q e2fsprogs showed a .EL4 version of the package, lucked out in resolving it!

Comments Off

No stranger to Marjorie….

(in Computing on 2008/02/20)

Comments (1)