> It is hackery because you are placing special behaviour into how input
> is read from stdin for the sole purpose of supporting a deficiency in
> the design of the program.
What is the deficiency in the design of the "pkgrm" program?
I don't suggest to change its interface, because I don't see h
Shawn Walker wrote:
On 31/10/2007, Nikolay Molchanov <[EMAIL PROTECTED]> wrote:
I'm not suggesting to change stdio, I'm suggesting to change pkgrm code to use
"read(0, buf, 1);"
in loop to read 1 byte from standard input until the end of line or EOF happens.
Basica
I'm not suggesting to change stdio, I'm suggesting to change pkgrm code to use
"read(0, buf, 1);"
in loop to read 1 byte from standard input until the end of line or EOF
happens.
Basically it is the same loop as it uses to write its questions:
12580:write(2, " D", 1)= 1
1258
Jennifer Pioch wrote:
On 10/31/07, Nikolay Molchanov <[EMAIL PROTECTED]> wrote:
Thank you very much, guys, for giving this example:
% yes | pkgrm ...
It really works! But it is absolutely not understandable why a standard Unix
solution
does not work:
% echo "y" |
Good idea! Unfortunately it also does not work, and I suspect the root of the
problem
is a bug in /usr/sbin/pkgrm command. Here is the output:
# printf "y\ny\n"
y
y
# printf "y\ny\n" | pkgrm SPROprfnx
The following package is currently installed:
SPROprfnx Sun Studio 12 Non-ship 64-bit com
I tried another way to pass 2 "y" replies:
rm -f /tmp/yes.txt
touch /tmp/yes.txt
echo "y" >> /tmp/yes.txt
echo "y" >> /tmp/yes.txt
cat /tmp/yes.txt | pkgrm SPROprfnx
And it also does not work. It reads fisrt "y", but ignores the second "y".
At the same time /usr/sbin/pkgadd works just fine. It al
Thank you very much, guys, for giving this example:
% yes | pkgrm ...
It really works! But it is absolutely not understandable why a standard Unix
solution
does not work:
% echo "y" | echo "y" | pkgrm ...
What is interesting, the first "y" works, but the second "y" does not. Why? Is
it a bug?
Roland,
Nikolay Molchanov wrote:
[snip]
We plan to start with Mozilla build, and to define the list of
features,
that we need in dmake to build Mozilla without changes in makefiles.
Erm... such a project is likely going to fail. Mozilla depends specific
Ian,
>>>Which features do you like to add?
>>
>>We plan to start with Mozilla build, and to define the list of features,
>>that we need in dmake to build Mozilla without changes in makefiles.
>>The list is not defined yet. Obviously "if" and other new keywords
>>can create some conflicts with exi
Hi Joerg,
Nikolay Molchanov <[EMAIL PROTECTED]> wrote:
Roland Mainz <[EMAIL PROTECTED]> wrote:
How different is their "make" version (or better:
What are the differences ?) ?
GNU makefiles
> Roland Mainz <[EMAIL PROTECTED]> wrote:
>
> > How different is their "make" version (or better:
> What are the differences ?) ?
GNU makefiles and SUN makefiles have different syntax,
and this is the main difference between "gmake" and "dmake".
Sun Studio "dmake" (in serial mode) is compatible w
Hello Bill and Rich,
I think it is not quite correct to compare sparc build with x64 build, but
anyway,
could you please add more information:
1. number of CPUs
2. number of parallel jobs (assuming you use dmake)
3. total real time
4. total user time
5. total sys time
Thanks in advance,
Nikolay
o) and
put this workspace on web, developers will be able to do bringover directly
from OpenSolaris workspace.
Nikolay Molchanov
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
kspace
with a CVS or SVN repository, and also allows to create intermediate local
deltas,
and to have local child workspaces.
Nikolay Molchanov
P.S.: As I said, we already have a TW-CVS bridge, and it can be easy modified
to work with SVN, or with any other CMS, which provides command line
I don't know if JDS sources have ever been under TW, or if JDS developers used
to use TW, but now decided to use CVS (which sounds strange to me :-).
Anyway, this is not a problem. We have created a TeamWare client for CVS.
This tool allows to use CVS repository as a "parent" workspace, so each
de
Solaris development, and for many other projects
inside Sun. What about external developers? What do we recommend them to use?
Technically it is easy to provide free CodeManager binaries for OpenSolaris
developers.
Thanks,
Nikolay Molchanov
P.S.: For those who want to know what is TeamWare, there a
16 matches
Mail list logo