I am not sure what you want to achieve. If you want to just arise the ActionRequested
event in runtime, following commands can be used in common UNIX:
$ echo -e "alert sound... \a"
$ echo -e "changing screen columns to 100... \e[100$|"
$ echo -e "changing screen rows to 40... \e[40*|"