}
line = readline(_config->Find("APT::Shell::Prompt", "apt> ").c_str());
if (!line || !*line) {
if (!line) {
free(line);
// exit from shell by Ctrl-D
continue;
c1out << "quit" << endl;
_config->Set("quit", "true");
if (!*line) {
add_history(line);
largc = 1; // CommandLine.Parse() ignores the first option.