Since December 3rd 2009 the rights of rail passengers are harmonized within the EU. The EC Regulation 1371/2007 foresees several rights in cases of a delay or cancellation for both national and crossborder intercity rail traffic in the EU.
For further information regarding cross-border or long distance rail travel, please see this article: Your Rail Passenger Rights
Detailed information on national short distance rail travel within Austria as well as improvements in customer relations of Austrian railway companies can be found in German here.