escapecode: added smcup and rmcup codes
escapecode: added some methods