OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: nakor on August 18, 2004, 11:28:03 pm
-
Hi,
I think I've encountered a bug in the /usr/sbin/chat program.
Whenever it's executed during my connectgprs script, the shell that launches it closes.
To test this I've actually opened an xterm/aterm and typed:
exec /usr/sbin/chat
the end result has been the xterm/aterm closing.
I closed out of mb and attempted the same command from the shell. This time finding myself
at a log in prompt.
I've been using this scripts on the previous version of pdaXrom pretty much since it's first release.
If it would be helpful, I can post the scripts tomorrow when I can cut/paste them over(they have very funky and specific tab requirements).
the modem I'm attempting to connect with is an AudioVOX RTM-8000 and I'm using the Kathrin RC2 distro an a C860.
I'd have to say that other then this issue, i've had no problems with Kathrin so far. Excellent work!!
Nakor
-
From the bash(1) man page:
exec [-cl] [-a name] [command [arguments]]
If command is specified, it replaces the shell. No new process
is created. The arguments become the arguments to command. If
the -l option is supplied, the shell places a dash at the begin-
ning of the zeroth arg passed to command. This is what login(1)
does. The -c option causes command to be executed with an empty
environment. If -a is supplied, the shell passes name as the
zeroth argument to the executed command. If command cannot be
executed for some reason, a non-interactive shell exits, unless
the shell option execfail is enabled, in which case it returns
failure. An interactive shell returns failure if the file can-
not be executed. If command is not specified, any redirections
take effect in the current shell, and the return status is 0.
If there is a redirection error, the return status is 1.
Particularly, note "command ... replaces the shell".
-Seva
-
ah, well, there's that and to complete my err. the problem ended up being that I forgot to set the /etc/pcmcia/serial.opt files SERIAL_OPTS value to "uart 16550A" been a while .
Thanks though.