When ansi-osc.el was created, moving code originally in comint.el, the variable and function aliases created for backwards compatibility purposes were not marked as obsolete. The attached patch fixes this.