Re: Several problems while trying to make screen automatically start another program.

2006-04-26 Thread Rod Nussbaumer
Kresimir Cosic wrote: Thanks for answers. I still didn't solve the problem, but it gave me an idea. Adam Lazur wrote: > This isn't a screen problem, it's a dynamic linking problem. > > I bet the executable can't find the shared library when it starts up. > Does your shell have an LD_LIBRARY

Re: Several problems while trying to make screen automatically start another program.

2006-04-26 Thread Kresimir Cosic
It appears that I didn't understand/report the problem 2 correctly. The correct description of problem 2 is: I created a file named tdscreenrc.txt, which contains a single line with the command 'detach'. Then i execute screen -S tdm -c /home/kreso/tdscreenrc.txt and screen immediately detache

Re: Several problems while trying to make screen automatically start another program.

2006-04-26 Thread Kresimir Cosic
Thanks for answers. I still didn't solve the problem, but it gave me an idea. Adam Lazur wrote: > This isn't a screen problem, it's a dynamic linking problem. > > I bet the executable can't find the shared library when it starts up. > Does your shell have an LD_LIBRARY_PATH environment variable

Re: Several problems while trying to make screen automatically start another program.

2006-04-26 Thread Adam Lazur
Kresimir Cosic ([EMAIL PROTECTED]) said: > Problem 1. > But, if I try to link it with libmysqlclient (v4.16): > g++ -o fooint2.exe fooint.cpp -L/home/kreso/prog/mysql/lib/mysql > -lmysqlclient > screen fooint2.exe > then fooint2.exe doesn't even get executed and I get error message: > [the screen

Several problems while trying to make screen automatically start another program.

2006-04-26 Thread Kresimir Cosic
Problem 1. For a test, I made a very simple C program named fooint.cpp: #include main() { int i; scanf("%d",&i); printf("rez: %d\n",i); return 0; } and compiled it with: g++ -o fooint.exe fooint.cpp If I try to start it with: screen fooint.exe it

Re: creating command aliases

2006-04-26 Thread Conrad O'Dea
On 25 Apr 2006, at 07:37, Conrad O'Dea wrote: On 25 Apr 2006, at 03:19, Buddy Burden wrote: alias sshhost screen -t [EMAIL PROTECTED] host Looks like a job for your favorite shell to me. In my own shell-- tcsh--the exact command you give above would work perfectly from the command