Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 1998 11:40:02 -0500
From:      Drifter <drifter@stratos.net>
To:        Wei Weng <wweng@stevens-tech.edu>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>, peter <peter@worldinternet.net>
Subject:   Re: Afterstep1.0 
Message-ID:  <199801161640.LAA06264@stratos.net>
In-Reply-To: Your message of "Thu, 15 Jan 1998 09:40:05 EST." <Pine.SGI.3.96.980115093824.28814A-100000@attila.stevens-tech.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help

>U dont actually need exec afterstep just put 
>#!/bin/sh
>
>afterstep 

	Actually, though this will work perfectly fine, it is "not as
efficient" on system resources. Without using "exec," the calling shell
script (.xinitrc) and its environment will stick around in memory even
though you're not using it, thereby wasting space.
	Using "exec" replaces the .xinitrc script in memory with afterstep
-- the only thing to remember is that "exec" should only be used with the
LAST command (afterstep) to be executed, because any following commands
would be overwritten by afterstep.
	But, depending on circumstances, it may not be that big of a deal :)

	-Drifter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801161640.LAA06264>