Subject: Re: xterm: Can't execvp screen; sleep 10: Permission denied
To: Pierre-Philipp Braun <ppwb@club-internet.fr>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 05/19/2003 22:10:38
On Mon, May 19, 2003 at 04:58:14AM +0200, Pierre-Philipp Braun wrote:
> > Do you get the licence page or an error message or nothing?
> 
> When i start an xterm into X, and run 'screen', i get nothing.
> The only way i found to get an error msg was to do this
> xterm -e "screen ; sleep 10"
> which gives
> xterm: Can't execvp screen; sleep 10: Permission denied

Because it doesn't split this in 2 commands.
Try
xterm -e sh -c "screen ; sleep 10" ?

For xterm -e screen not working: I suspect it's a PATH problem.
Try xterm -e /usr/pkg/bin/screen (assuming screen is in /usr/pkg/bin of course)

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--