code: def read_choice(self):
          
          commands = {
              "r": "README",
              "R": "README",
              "s": "{0}.SlackBuild".format(self.name),
              "S": "{0}.SlackBuild".format(self.name),
              "f": "{0}.info".format(self.name),
              "F": "{0}.info".format(self.name),
              "o": "doinst.sh",
              "O": "doinst.sh",
              "d": "download",
              "D": "download",
              "download": "download",
              "b": "build",
              "B": "build",
              "build": "build",
              "i": "install",
              "I": "install",
              "install": "install",
              "c": "clear",
              "C": "clear",
              "clear": "clear",
              "q": "quit",
              "quit": "quit",
              "Q": "quit"
          }
          try:
              message = "  Choose an option > "
              self.choice = raw_input("{0}{1}{2}".format(self.grey, message,
                                                         self.endc))
          except EOFError:
              print("")
              raise SystemExit()
          try:
              sys.stdout.write("{0}\x1b[1A{1}{2}{3}\n".format(
                  " " * len(message), self.cyan, commands[self.choice],
                  self.endc))
              sys.stdout.flush()
          except KeyError:
              pass
docs: Return choice