Date: Fri, 24 Mar 2006 09:04:57 -0500 From: Chuck Swiger <cswiger@mac.com> To: Nikolas Britton <nikolas.britton@gmail.com> Cc: freebsd general questions <freebsd-questions@freebsd.org> Subject: Re: KDE App Launcher Message-ID: <4423FC89.5010304@mac.com> In-Reply-To: <ef10de9a0603240552q222d41c7odf1228e953103393@mail.gmail.com> References: <ef10de9a0603240552q222d41c7odf1228e953103393@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Nikolas Britton wrote: > How do I get KDE to run this command: > > setenv SDL_VIDEO_X11_DGAMOUSE 0; setenv QEMU_AUDIO_DRV sdl; nice +5 > qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img& > > or this: > > export SDL_VIDEO_X11_DGAMOUSE=0; export QEMU_AUDIO_DRV=sdl ; nice +5 > nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img& > > Or this, win98se_start.sh: > > #!/bin/sh > export SDL_VIDEO_X11_DGAMOUSE=0 > export QEMU_AUDIO_DRV=sdl > nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img& > exit > > I can't get any of them to work, I've tried other permutations too. > The only way I got it to work is if I tell it to run in a term window, > but I don't want that. setenv is csh; export is /bin/sh. Don't confuse the two or else you will be doomed to wander endlessly in confusion. :-) / 2 For /bin/sh, you can't export a variable on the line you set it; that's an extension found in bash, ksh, and zsh, but is not part of the original sh: #!/bin/sh SDL_VIDEO_X11_DGAMOUSE=0 export SDL_VIDEO_X11_DGAMOUSE QEMU_AUDIO_DRV=sdl export QEMU_AUDIO_DRV nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img & -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4423FC89.5010304>