The script could set the variables you want, export them, and then launch the terminal. Exported variables will be inherited by a subshell.
You could also set the variables on the same line where you launch the konsole program.
var1=value1 var2=value2 konsole &
If the variables already exist and where previously exported, then changing the values will be inherited by a subsequent subshell. If the variables were created in the same script and not exported, they won't exist in the subshell.
Be sure to experiment, and learn this for yourself. Good Luck.
Last edited by jschiwal; 01-27-2011 at 08:06 AM.