Hi. I assigned ctrl+esc to exit tn5250 (and after that the pc shutsdown instatly). The thing is i need the linux to end all the local printing sessions before it shuts down... And i dont want these sessions to be active on the as400 after the machines power off. I have createad a shellscrip than when i do "killapp lp5250d" the linux deamon is killed but the linux session keeps open.... Any advice? Thanks!!!