[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cnews and scripts



In article <9501130154.AA00527@mailmak.ping.de> you write:
>Hi folks !
>
>Seems that a lot of people already ported cnews to MiNT.
>I tried it myself during the last two days and have a more or
>less working installation now.

 which version?

>But what about all those f... Shell-scripts ?! A question to all of
>you, who also ported the stuff. What's to be done ?

 well the only real problem i can think of was that dreaded blocking fork,
things like (foo; bar) |baz deadlock, use sh -c "foo; bar" |baz instead.
my /bin/sh is ash, others (ksh, bash) may also work but surely eat more
memory (i'm talking of scripts here, my loginshell is still ksh).
whatever you use make sure its compiled -mbaserel and give it a sticky
bit for good measure (chmod +t), then the scripts are not even that slow...

>Do i really have to "rewrite" all the scripts in C ?

 ooh _those_ days should be long gone really :)

 mail me if you want diffs (cnews-xt 1.3)...  greetings
	Juergen