From owner-freebsd-questions Sat Apr 20 4:32:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tninet.se (sheridan.tninet.se [195.100.94.102]) by hub.freebsd.org (Postfix) with ESMTP id A844237B419 for ; Sat, 20 Apr 2002 04:32:17 -0700 (PDT) Received: from cs.umu.se (h151n1c1o1023.bredband.skanova.com [213.64.164.151]) by sheridan.tninet.se (BMR ErlangTM/OTP 3.0) with ESMTP id 295261.302334.1019.1s1881830sheridan ; Sat, 20 Apr 2002 13:32:14 +0200 Message-ID: <3CC151BE.100B077E@cs.umu.se> Date: Sat, 20 Apr 2002 13:32:14 +0200 From: Paul Everlund X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: sv,en MIME-Version: 1.0 To: Rohit Panda Cc: Jonathan Chen , freebsd-questions@FreeBSD.ORG Subject: Re: where can i get the source command binary ??? References: <20020420111506.20847.qmail@web12801.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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 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. Best regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message