A compound of formula (I) ##STR00001## wherein A and B are optionally
substituted cyclohexenyl or phenyl groups, X is carbonyl or sulfonyl, and
Y is 5 7 atoms-linker, is useful as histone deacetylase inhibitors,
particularly for inhibiting cell proliferation.