Hi-
Instead of typing those long commands each time you want to do
something, you can just do this: (replacing quentins with your username)
In csh: CVSROOT=:ext:que...@cv...:/cvsroot/anet
In bash: export CVSROOT=:ext:que...@cv...:/cvsroot/anet
--Quentin
Benoit Nadeau wrote:
> Good news: I did my first checkin!
> The bad news is, the code almost doesn't work. The files are in
> ANet/ANet_Deamon/Linux.
>
> Here's a "crash course" on CVS.
>
> First, do this:
> In csh: CVS_RSH=ssh
> In bash: export CVS_RSH=ssh
>
> Then, (here, replace 'benad' with your user name in sourceforge)
>
> To checkout:
> cvs -d:ext:be...@cv...:/cvsroot/anet co -P Documentation
> cvs -d:ext:be...@cv...:/cvsroot/anet co -P ANet
>
> To checkin:
> cd ANet/ANet_Common
> cvs -d:ext:be...@cv...:/cvsroot/anet ci SomeFile.c
>
> To add a file:
> cd ANet/ANet_Common
> cvs -d:ext:be...@cv...:/cvsroot/anet add NewFile.c
>
> Notice the "-P". IT'S REALLY IMPORTANT! Remember, we can't delete a CVS
> directory, and we don't have ssh access to the CVS servers. So, if you make
> a new directory and you want to delete it, YOU CAN'T! So? Every empty
> directory should be considered "deleted" (hence the "-P"), and I placed
> some ".something" files in directories that are empty but that may be used
> later. (Man... What a day...)
>
> I'll send you later this week a pretty cool C-Shell script that set up
> everything , i.e. to stop having to type your password for each CVS
> command, or when you use "ssh" or "scp".
>
> For now, here's what you (yes, you!) can do:
> - Figure out how the client can use scanf and printf at the same time.
> - Clean up the TCPIP code in the server.
> - Place proper file headers (the comments at the beginning of the file).
> - Move client.c to the ANet_Client_SDK directory.
> - Make some header files.
> - Move TCPIP code to the "TCPIP" directory (for the TCPIP module).
> - Move IPC code to the "Client_Interface" directory.
>
> Until the end of this month, I'm off to documentation. Anyways, it's time
> everyone starts to understand my docs and the logic behind them...
>
> So, try to use CVS, but don't screw up our account.
>
> - Benad
>
>
>
>
|