Stocks gain as Greek nears a deal on debt swap

NEW YORK — The stock market posted substantial gains Thursday as Greece closed in on a deal to restructure its debt and avoid a default. That overshadowed a small increase in unemployment claims last week. NEW YORK — The stock