nicer prompt uri, print only cpim from header when available

darcs-hash:20081205134218-b2873-5fb6e6b1fd4c1e7e5b57a3db7102959714a43c82