A compound of the formula ##STR1## wherein R.sup.1 to R, R.sup.a, R.sup.b X, Y, Z, m and n have the significance given in the description, can be used as medicaments, especially for the treatment and prophylaxix of conditions which are associated with endothelin activities.