From owner-freebsd-questions Fri Jan 16 08:38:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA25882 for questions-outgoing; Fri, 16 Jan 1998 08:38:24 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from stratos.net (pm3-3-14.stratos.net [209.81.153.142]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA25776 for ; Fri, 16 Jan 1998 08:37:09 -0800 (PST) (envelope-from drifter@stratos.net) Received: from stratos.net (localhost [127.0.0.1]) by stratos.net (8.8.7/8.8.5) with ESMTP id LAA06264; Fri, 16 Jan 1998 11:40:08 -0500 (EST) Message-Id: <199801161640.LAA06264@stratos.net> To: Wei Weng cc: FreeBSD Questions , peter Subject: Re: Afterstep1.0 In-reply-to: Your message of "Thu, 15 Jan 1998 09:40:05 EST." Date: Fri, 16 Jan 1998 11:40:02 -0500 From: Drifter Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk >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