Null Termination

Please refer to Handling Filenames with Spaces


The Linux process scheduler allows custom priorities to be attached to a process to provide some metric to decide whether a process deserves more processor time than others.

XTerm Escapes

You can modify the title of an XTerm window by printing a certain escape sequence.

XFree Resources

XFree resources allow presetting preferences of most clients in ~/.Xdefaults and ~/.Xresources. These files are merged into the resources database by running xrdb -merge ~/.Xresource. Resources that are recognized by a client are usually documented in the accompanying man page.

Window Geometry

The positions and size of the window of an X client is controlled by the -geometry switch.

The -- Flag

Imagine you need to create the file -o but observe the following.

Filenames and Spaces

Filenames with spaces proove to be a major pita because many code constructs do not properly handle them.

Colour Escapes

Colour escape sequences are useful for designing text user interfaces (TUI).

XFree Key Bindings

Modern keyboard offer so called multimedia keys which allow direct control over the browser or media player. But the keycodes which are generated by the individual keys are usually unknown to the system and, therefore, ignored.

Tar: Archiving Selected Files

Instead of letting tar recursively add files to the archive simply provide a file list on stdin.