From owner-freebsd-questions Sat Apr 20 4:45:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from maila.telia.com (maila.telia.com [194.22.194.231]) by hub.freebsd.org (Postfix) with ESMTP id 0871D37B417 for ; Sat, 20 Apr 2002 04:45:39 -0700 (PDT) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maila.telia.com (8.11.6/8.11.6) with ESMTP id g3KBjb513043 for ; Sat, 20 Apr 2002 13:45:37 +0200 (CEST) Received: from falcon.midgard.homeip.net (h53n2fls20o913.telia.com [212.181.163.53]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id NAA21132 for ; Sat, 20 Apr 2002 13:45:36 +0200 (CEST) Received: (qmail 33635 invoked by uid 1001); 20 Apr 2002 11:45:27 -0000 Date: Sat, 20 Apr 2002 13:45:27 +0200 From: Erik Trulsson To: Paul Everlund Cc: Rohit Panda , Jonathan Chen , freebsd-questions@FreeBSD.ORG Subject: Re: where can i get the source command binary ??? Message-ID: <20020420114527.GA33619@student.uu.se> Mail-Followup-To: Paul Everlund , Rohit Panda , Jonathan Chen , freebsd-questions@FreeBSD.ORG References: <20020420111506.20847.qmail@web12801.mail.yahoo.com> <3CC151BE.100B077E@cs.umu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CC151BE.100B077E@cs.umu.se> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Apr 20, 2002 at 01:32:14PM +0200, Paul Everlund wrote: > Rohit Panda wrote: > > > > hi, > > but is there any way i can get the source code ????? > > how to hack to get the source code . > > > > thanks > > rohit > > Not the best, but maybe the easiest way is to go to the ports > collection and the shells "department". Do a make for the shell > you want to hack in, and the sources will be fetched from some > site. Wait until it has been unpacked and patches are applied. > When it starts to compile, just hit CTRL+C. Now the patched Doing a plain 'make' and then stopping with CTRL+C is not the best way to do this. It is much better to do a 'make patch' or 'make configure' which will cause the build process to stop after the patch/configure step. Then one can look at the code or change it. > source code for the shell of your choice is in the directory > work/name_of_shell_and_version/. Now it's just for you to find > the right file, where the source code is, and start to do what > you want to do. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message