More than 800,000 people , almost a quarter of Lebanon 's population , fled the south during the monthlong bombardment , escaping to the relative safety of Beirut and other major cities , where they languished in schools , parks and with relatives in dour living conditions .