I have a program writting in c++ which has I compiled and it is
setting in a directory called myProg/str1/ the compiled file is called
I need to fire it up on starting xterm as well as on boot up. the program prints out a menu and waits
for user selection. so I need to fire it up under xterm. by first
going to the directory and then firing the proj application.
working under fedora core 5 "linux".
at the end of my .bash_profile I have the line
which starts xterm.
in .bashrc (which is used by xterm ever time it starts) I
# Source global definitions
if [ -f /etc/bashrc ]; then
# User specific aliases and functions
/sbin/fuser ./proj >/dev/null || ./proj
that works when I fire up xterm. but the problem is when I reboot I
get a bank green screen with the mouse only and nothing else. I have
to Alt-Ctl f11 and Alt-right_arrow to a console and login/emacs/edit
the .bashrc (comment out the last line above) reboot. then I get an
bash: cd: myProg/str1/: No such file or directory
so it changed the dir to what I want but did not fire the program. but
then whats this first line above mean.
anyway, how can I fix this.