weird shell problem ...

bridged with qdn.public.qnxrtp.os
Post Reply
Guest

weird shell problem ...

Post by Guest » Thu Sep 28, 2000 12:42 pm

Hi All,

I'm using an executable shell script in order to mount a volume of a
Win95 box.

# ls
.. .lastlogin .photon Mail mW95D <- located at /root
... .ph .profile mServer

When I open a terminal (working dir is /root) and type in 'mW95D'
.... the shell executes a tar archive of Python 2.0b2 located at
the filesystem root ('/') =:-/

# mW95D
/BeOpen-Python-2_0b2.tar.gz[9]: syntax error: `)' unexpected
../mW95D[4]: 0:43:default:-3:-3:0: not found
../mW95D[5]: syntax error: `(' unexpected
#

Here is the contents of mW95D:

# cat mW95D
fs-cifs //Armin:Armin:/D /W95D user none &

/** PhEDIT attribute block
0:43:default:-3:-3:0
** PhEDIT attribute block ends (-0000094)**/

I don't know what the cat command has to do with PhEDIT .... ???
Then I cut/paste and execute the contents of mW95D directly and
all is working :-))

# fs-cifs -v //Armin:Armin:/D /W95D user none
fs-cifs: starting...
fs-cifs: mount: Armin:/D -> /W95D by user [0]
fs-cifs: new server
fs-cifs: establishing connection to Armin:Armin
fs-cifs: smb connection successful
fs-cifs: logging user on Armin
fs-cifs: logon successful. uid [0] maps to [0]
fs-cifs: mounting Armin:/D
#

What's the problem ???

Regards

Armin

Michael Shane

Re: weird shell problem ...

Post by Michael Shane » Thu Sep 28, 2000 3:24 pm

Armin@steinhoff_.de wrote:
: Hi All,

: I'm using an executable shell script in order to mount a volume of a
: Win95 box.

: # ls
: . .lastlogin .photon Mail mW95D <- located at /root
: .. .ph .profile mServer

: When I open a terminal (working dir is /root) and type in 'mW95D'
: ... the shell executes a tar archive of Python 2.0b2 located at
: the filesystem root ('/') =:-/

: # mW95D
: /BeOpen-Python-2_0b2.tar.gz[9]: syntax error: `)' unexpected
: ./mW95D[4]: 0:43:default:-3:-3:0: not found
: ./mW95D[5]: syntax error: `(' unexpected
: #

: Here is the contents of mW95D:

: # cat mW95D
: fs-cifs //Armin:Armin:/D /W95D user none &

: /** PhEDIT attribute block
: 0:43:default:-3:-3:0
: ** PhEDIT attribute block ends (-0000094)**/

This portion of your problem is a known bug and we have a problem
report filled out for it. This should be fixed in the next
patch or update.

: I don't know what the cat command has to do with PhEDIT .... ???
: Then I cut/paste and execute the contents of mW95D directly and
: all is working :-))

: # fs-cifs -v //Armin:Armin:/D /W95D user none
: fs-cifs: starting...
: fs-cifs: mount: Armin:/D -> /W95D by user [0]
: fs-cifs: new server
: fs-cifs: establishing connection to Armin:Armin
: fs-cifs: smb connection successful
: fs-cifs: logging user on Armin
: fs-cifs: logon successful. uid [0] maps to [0]
: fs-cifs: mounting Armin:/D
: #

: What's the problem ???

: Regards

: Armin

Erick Muis

Re: weird shell problem ...

Post by Erick Muis » Thu Sep 28, 2000 8:24 pm

Hi Armin,

This attribute block is created by PhEdit, to remove this feature
select "Preferences" and unselect "Save and Load Styled Text".
The text can also be removed using vi or something else.

This is used as a information block for Ped, so it knows how you
styled the document (colors, fonts, etc). From reading Mike's posting,
it looks like this is going to be removed or changed.

Erick.



Armin@steinhoff_.de wrote:
Hi All,

I'm using an executable shell script in order to mount a volume of a
Win95 box.

# ls
. .lastlogin .photon Mail mW95D <- located at /root
.. .ph .profile mServer

When I open a terminal (working dir is /root) and type in 'mW95D'
... the shell executes a tar archive of Python 2.0b2 located at
the filesystem root ('/') =:-/

# mW95D
/BeOpen-Python-2_0b2.tar.gz[9]: syntax error: `)' unexpected
./mW95D[4]: 0:43:default:-3:-3:0: not found
./mW95D[5]: syntax error: `(' unexpected
#

Here is the contents of mW95D:

# cat mW95D
fs-cifs //Armin:Armin:/D /W95D user none &

/** PhEDIT attribute block
0:43:default:-3:-3:0
** PhEDIT attribute block ends (-0000094)**/

I don't know what the cat command has to do with PhEDIT .... ???
Then I cut/paste and execute the contents of mW95D directly and
all is working :-))

# fs-cifs -v //Armin:Armin:/D /W95D user none
fs-cifs: starting...
fs-cifs: mount: Armin:/D -> /W95D by user [0]
fs-cifs: new server
fs-cifs: establishing connection to Armin:Armin
fs-cifs: smb connection successful
fs-cifs: logging user on Armin
fs-cifs: logon successful. uid [0] maps to [0]
fs-cifs: mounting Armin:/D
#

What's the problem ???

Regards

Armin

Guest

Re: weird shell problem ...

Post by Guest » Thu Sep 28, 2000 10:29 pm

Hi Erik,

Erick Muis wrote:
Hi Armin,

This attribute block is created by PhEdit, to remove this feature
select "Preferences" and unselect "Save and Load Styled Text".
The text can also be removed using vi or something else.
Unfortunately ... the 'Styled Text' isn't visible if you use vi or vim
=:-/.

Ped creates BIG problems if you edit shell scripts or make files ... so
for this time
I have removed it from my disk volume :-))
This is used as a information block for Ped, so it knows how you
styled the document (colors, fonts, etc). From reading Mike's posting,
it looks like this is going to be removed or changed.
You should post a BIG warning to ALL news groups not to use Ped ...

Regards

Armin
Erick.

Armin@steinhoff_.de wrote:
Hi All,

I'm using an executable shell script in order to mount a volume of a
Win95 box.

# ls
. .lastlogin .photon Mail mW95D <- located at /root
.. .ph .profile mServer

When I open a terminal (working dir is /root) and type in 'mW95D'
... the shell executes a tar archive of Python 2.0b2 located at
the filesystem root ('/') =:-/

# mW95D
/BeOpen-Python-2_0b2.tar.gz[9]: syntax error: `)' unexpected
./mW95D[4]: 0:43:default:-3:-3:0: not found
./mW95D[5]: syntax error: `(' unexpected
#

Here is the contents of mW95D:

# cat mW95D
fs-cifs //Armin:Armin:/D /W95D user none &

/** PhEDIT attribute block
0:43:default:-3:-3:0
** PhEDIT attribute block ends (-0000094)**/

I don't know what the cat command has to do with PhEDIT .... ???
Then I cut/paste and execute the contents of mW95D directly and
all is working :-))

# fs-cifs -v //Armin:Armin:/D /W95D user none
fs-cifs: starting...
fs-cifs: mount: Armin:/D -> /W95D by user [0]
fs-cifs: new server
fs-cifs: establishing connection to Armin:Armin
fs-cifs: smb connection successful
fs-cifs: logging user on Armin
fs-cifs: logon successful. uid [0] maps to [0]
fs-cifs: mounting Armin:/D
#

What's the problem ???

Regards

Armin

Post Reply

Return to “qdn.public.qnxrtp.os”