Sub command example Listing 2.1 Sub command architecture Listing 2.2 Listing 2.3 Listing 2.4 Listing 2.5 Listing 2.6 User input time-out Listing 2.7 User signal handling Listing 2.8