Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2002 13:32:14 +0200
From:      Paul Everlund <tdv94ped@cs.umu.se>
To:        Rohit Panda <prohit99@yahoo.com>
Cc:        Jonathan Chen <jonc@chen.org.nz>, freebsd-questions@FreeBSD.ORG
Subject:   Re: where can i get the source command binary ???
Message-ID:  <3CC151BE.100B077E@cs.umu.se>
References:  <20020420111506.20847.qmail@web12801.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CC151BE.100B077E>