command line url output #2
Rodolfo Alcázar
rodolfo.alcazar at padep.org.bo
Mon Sep 26 12:24:37 UTC 2005
On Sat, 2005-09-24 at 11:57 -0400, Marc M wrote:
> can anyone decipher this?
>
> [root at 149 etc]# gnucash
> http://www.site_I_visited_yesterday.com/yada/yada.html
...
> [root at 149 etc]# http://www.site_I_visited_yesterday.com/yada/yada.html
Please take a look at this last output line: the output continues when
gnucash has ended and returned control to bash. Bash outputs the prompt
and then trat output continues. Probably it is a replaced script. My
suggestions:
- Do not run X as root! if thats even a kiddie's script, it could blow
your system.
- try starting gnucash with its absolute path:
$ /usr/bin/gnucash
- You may want to look this system output of my fc4, and verify you have
the right scripts:
[rodolfoap] /home/rodolfoap > file /usr/bin/gnucash
/usr/bin/gnucash: Bourne shell script text executable
[rodolfoap] /home/rodolfoap > cat /usr/bin/gnucash
#!/bin/sh
PATH="/usr/libexec/gnucash/overrides:${PATH}"
export PATH
GUILE_WARN_DEPRECATED="no"
export GUILE_WARN_DEPRECATED
exec "gnucash" "$@"
[rodolfoap] /home/rodolfoap >
file /usr/libexec/gnucash/overrides/gnucash
/usr/libexec/gnucash/overrides/gnucash: Bourne shell script text
executable
[rodolfoap] /home/rodolfoap > cat /usr/libexec/gnucash/overrides/gnucash
#!/bin/sh
exec gnucash-env guile -e main -s "$0" "$@"
!#
(use-modules (gnucash main))
(define (main args)
;; UGLY HACK -- FIXME -- code should be rewritten to not need this.
;; In particular, we should be using gnc_scm_lookup where we're using
;; gh_lookup or gh_eval_str now.
(set-current-module (resolve-module '(gnucash main)))
(gnc:main))
;; Local Variables:
;; mode: scheme
;; End:
[rodolfoap] /home/rodolfoap >
file /usr/libexec/gnucash/overrides/gnucash-env
/usr/libexec/gnucash/overrides/gnucash-env: Bourne shell script text
executable
[rodolfoap] /home/rodolfoap >
cat /usr/libexec/gnucash/overrides/gnucash-env
#!/bin/sh
# Usage: gnucash-env any-cmd [ args ... ]
# runs any-cmd in an environment appropriate for gnucash.
# we'll also add a gnucash-build-env later for running from the install
tree.
GNC_MODULE_PATH="/usr/lib/gnucash:${GNC_MODULE_PATH}"
EXTRA_PATH="/usr/share/guile"
EXTRA_PATH="${EXTRA_PATH}:/usr/share/gnucash/guile-modules"
EXTRA_PATH="${EXTRA_PATH}:/usr/share/gnucash/scm"
GUILE_LOAD_PATH="${EXTRA_PATH}:${GUILE_LOAD_PATH}"
EXTRA_LIBS="${GNC_MODULE_PATH}"
EXTRA_LIBS="${EXTRA_LIBS}:/usr/lib"
EXTRA_LIBS="${EXTRA_LIBS}:/usr/lib/gnucash"
EXTRA_LIBS="${EXTRA_LIBS}:/usr/lib"
LD_LIBRARY_PATH="${EXTRA_LIBS}:${LD_LIBRARY_PATH}"
LTDL_LIBRARY_PATH="${EXTRA_LIBS}:${LTDL_LIBRARY_PATH}"
export GNC_MODULE_PATH
export GUILE_LOAD_PATH
export LD_LIBRARY_PATH
export LTDL_LIBRARY_PATH
exec "$@"
[rodolfoap] /home/rodolfoap > file /usr/libexec/gnucash/overrides/guile
/usr/libexec/gnucash/overrides/guile: Bourne shell script text
executable
[rodolfoap] /home/rodolfoap > cat /usr/libexec/gnucash/overrides/guile
#!/bin/sh
if test "${GNC_GUILE}"x = x
then
GNC_GUILE="/usr/bin/guile"
fi
exec ${GNC_GUILE} "$@"
[rodolfoap] /home/rodolfoap > file /usr/bin/guile
/usr/bin/guile: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs),
stripped
[rodolfoap] /home/rodolfoap > /usr/bin/guile
guile> (I dont know what the heck is this, so I typed a ^D. You could go
on further, I suppose.)
[rodolfoap] /home/rodolfoap >
--
Rodolfo Alcazar rodolfo.alcazar at padep.org.bo
Netzmanager Padep, GTZ
591-70656800, -22417628
LA PAZ, BOLIVIA
-- Han Solo:
Get in there you big furry oaf! I don't care what
you smell!
More information about the fedora-list
mailing list