        if ((bar == 'n') || (bar == strlen))
            done = 1;