View Single Post
Old 01-05-2017, 05:46 AM   #6
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 477
Karma: 445678
Join Date: Feb 2010
Device: Too many..
Quote:
Originally Posted by encol View Post
you must use kterm -e

See midnight commander kual extension
encol, I've done that. The commands in popeye.sh are:

Code:
#!/bin/sh

cd /mnt/us/extensions/popeye/bin
/mnt/us/extensions/kterm/bin/kterm -e"./popeye ./inp.txt"
read -p "Press any key to exit"
This works OK up to a point. The program runs, produces the output and displays it on the screen. But the requirement is that the window should remain open till the user presses a key. This doesn't happen. The window closes almost immediately after displaying the final line of the output.
nasser is offline   Reply With Quote