mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet > GPU to 72

Reply
 
Thread Tools
Old 2012-08-17, 20:30   #23
schickel
 
schickel's Avatar
 
"Frank <^>"
Dec 2004
CDP Janesville

2×1,061 Posts
Default

Have you investigated the various flavours of *nix utils for Windows out there? A quick search turned up some Q&As on StackOverflow regarding "tail" for Windows....
schickel is offline   Reply With Quote
Old 2012-08-17, 20:37   #24
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

260216 Posts
Default

Quote:
Originally Posted by schickel View Post
Have you investigated the various flavours of *nix utils for Windows out there? A quick search turned up some Q&As on StackOverflow regarding "tail" for Windows....
Yeah... My rant had to do with the fact that WinBlows doesn't include the command-line command "tail" by default. A fundamental command for anyone serious.

Anyone can install cygwin (for example) and get the tail command in the shell. But come on, why is this not available under the "Power Shell" which now allows "ls"? The power shell was supposed to show that Microsoft was serious about power users.

At the end of the day my opinion remains that M$ is a toy operating system -- meant for those who are not serious, but have a lot of money to spend....
chalsall is online now   Reply With Quote
Old 2012-08-17, 20:59   #25
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2·3·1,693 Posts
Default

Quote:
Originally Posted by chalsall View Post
At the end of the day my opinion remains that M$ is a toy operating system -- meant for those who are not serious, but have a lot of money to spend....
Until Adobe puts out a 'nix version of Photoshop I'm locked into Windows. I can't afford a Mac of similar power to my PC.

Still, I have plenty of frustrations with Windows going way back.
kladner is offline   Reply With Quote
Old 2012-08-17, 21:13   #26
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×5×7×139 Posts
Default

Quote:
Originally Posted by kladner View Post
Until Adobe puts out a 'nix version of Photoshop I'm locked into Windows. I can't afford a Mac of similar power to my PC.
Yeah. I hear you loud and clear. I have several clients in a similar situation.

The ironic thing is MacOS is actually based on an Open Source Unix-like kernel. Apple spent a bit of time and money writing a flashy UI, but the core is Unix.

There is no technical reason why Adobe couldn't make their software available for Linux. If they use the excuse "there are so many distributions to choose from", the answer is "Choose one -- Ubuntu would be fine".

Want to bet when this will happen?
chalsall is online now   Reply With Quote
Old 2012-08-17, 21:13   #27
schickel
 
schickel's Avatar
 
"Frank <^>"
Dec 2004
CDP Janesville

2·1,061 Posts
Default

Quote:
Originally Posted by chalsall View Post
Yeah... My rant had to do with the fact that WinBlows doesn't include the command-line command "tail" by default. A fundamental command for anyone serious.
What I was thinking was finding the best/easiest of the publicly available stand alones out there, then you could either include it in the distribution of the future mfakt* Windows packages or make it available on the download page.
schickel is offline   Reply With Quote
Old 2012-08-17, 21:19   #28
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

260216 Posts
Default

Quote:
Originally Posted by schickel View Post
What I was thinking was finding the best/easiest of the publicly available stand alones out there, then you could either include it in the distribution of the future mfakt* Windows packages or make it available on the download page.
I don't need "tail" for my spider. That was just a tangential rant.

I want a fork() function which works no matter what version of Perl anyone has installed in any environment the Perl code finds itself.

I don't think that a small amount of code should come with a huge amount of baggage. Please forgive me, but in the Unix world it is possible to share a few lines of Perl which works without having to include an installer which downloads MBs of supporting libraries just to run.
chalsall is online now   Reply With Quote
Old 2012-08-17, 21:22   #29
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default

Quote:
Originally Posted by chalsall View Post
Yeah. I hear you loud and clear. I have several clients in a similar situation.

The ironic thing is MacOS is actually based on an Open Source Unix-like kernel. Apple spent a bit of time and money writing a flashy UI, but the core is Unix.

There is no technical reason why Adobe couldn't make their software available for Linux. If they use the excuse "there are so many distributions to choose from", the answer is "Choose one -- Ubuntu would be fine".

Want to bet when this will happen?
I wouldn't bet on it, but I would venture that it might happen about the same time that the waters around Barbados freeze a meter deep.

Last fiddled with by kladner on 2012-08-17 at 21:23
kladner is offline   Reply With Quote
Old 2012-08-17, 21:55   #30
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

Quote:
Originally Posted by kladner View Post
Until Adobe puts out a 'nix version of Photoshop I'm locked into Windows. I can't afford a Mac of similar power to my PC.

Still, I have plenty of frustrations with Windows going way back.
GIMP or Inkscape
Dubslow is offline   Reply With Quote
Old 2012-08-17, 22:09   #31
schickel
 
schickel's Avatar
 
"Frank <^>"
Dec 2004
CDP Janesville

2×1,061 Posts
Default

Quote:
Originally Posted by chalsall View Post
I don't need "tail" for my spider. That was just a tangential rant.

I want a fork() function which works no matter what version of Perl anyone has installed in any environment the Perl code finds itself.

I don't think that a small amount of code should come with a huge amount of baggage. Please forgive me, but in the Unix world it is possible to share a few lines of Perl which works without having to include an installer which downloads MBs of supporting libraries just to run.
Sorry, I was obviously concentrating on the wrong issue there.

Getting back to something LaurV said about START, the answers are 1) no, not from the command line, and 2) limited control; yes, XP or higher has TASKKILL, which can kill other processes from the command line; and no, not when starting from a CMD box.

START spawns processes off and turns them loose; GUI programs open normally, console programs open with an independent console (CMD) window.

Unfortunately, if you want to get down as close as controlling the in/out pipes of a console program, you need to write to the Win32/64 API.

Either that, or develop a GUI version of the various programs where the MBs of supporting libraries are already there deep in the bowels of the Windows installation.....
schickel is offline   Reply With Quote
Old 2012-08-17, 22:27   #32
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×5×7×139 Posts
Default

Quote:
Originally Posted by schickel View Post
Unfortunately, if you want to get down as close as controlling the in/out pipes of a console program, you need to write to the Win32/64 API.
Sigh... Thanks schickel. That was what I was afraid of.

Kinda strange that getting "down and dirty" and reading/writing the in/out/error pipes of a console program under Windows would be so very difficult.

We do this kind of thing every day under Unix, and we don't even really think about it....
chalsall is online now   Reply With Quote
Old 2012-08-18, 00:54   #33
schickel
 
schickel's Avatar
 
"Frank <^>"
Dec 2004
CDP Janesville

212210 Posts
Default

Quote:
Originally Posted by chalsall View Post
Sigh... Thanks schickel. That was what I was afraid of.

Kinda strange that getting "down and dirty" and reading/writing the in/out/error pipes of a console program under Windows would be so very difficult.

We do this kind of thing every day under Unix, and we don't even really think about it....
Unfortunately it's not really that hard if you write it in non-portable C/C++ code. So for a portable Perl-based solution, that's not really an option.
schickel is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic submit results + fetch assignments for mfaktc? DuskFalls GPU Computing 5 2017-12-02 00:34
Simple Script to get Trial Factoring Work jfamestad PrimeNet 3 2016-11-06 20:32
Why trial factoring work chopped into chunks? lidocorc PrimeNet 4 2008-11-06 18:48
How does the trial factoring work with 15K*2^n-1 jocelynl 15k Search 0 2003-07-11 14:23
How does trial-factoring work? ThomRuley Software 5 2003-05-30 20:34

All times are UTC. The time now is 15:29.


Fri Jul 16 15:29:26 UTC 2021 up 49 days, 13:16, 1 user, load averages: 1.60, 1.58, 1.65

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.