Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rating: Thread Rating: 12 votes, 4.67 average. Display Modes
Old 08-16-2006, 11:54 PM   #1
luomat
Prospect
 
Join Date: Dec 2005
Posts: 11
Does anyone have cscreen.dmg?

The original website is now offline.

If someone has the dmg and could post it somewhere, I'd appreciate it.

TjL
luomat is offline   Reply With Quote
Old 08-17-2006, 01:37 AM   #2
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
Standard warning

It is an extremely bad idea to install software from strangers! (And people that you know only by their nickname on a forum such as this count as strangers) You have no idea what it really does and you are really inviting someone to send you a "trojan horse" or other such malware.
This is especially true of software that asks for your admin password.
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 08-17-2006, 09:41 AM   #3
luomat
Prospect
 
Join Date: Dec 2005
Posts: 11
How would this be any different than any other software that I download from a website? I don't know them either.

This program is just a commandline tool and should not need either root or administrative rights.

Maybe robg has a copy? The program was referred to in

http://www.macosxhints.com/article.p...60808051946975
luomat is offline   Reply With Quote
Old 08-17-2006, 09:50 AM   #4
voldenuit
League Commissioner
 
Join Date: Sep 2003
Location: Old Europe
Posts: 5,146
I have a copy, dated October 29th 2004, but it still works, here's the md5 hash so you can compare with other versions you may get:

$ md5 cscreen
MD5 (cscreen) = dc3620e75bf55c302322be13982f2222
voldenuit is offline   Reply With Quote
Old 08-23-2006, 12:12 AM   #5
jbessom
Prospect
 
Join Date: Jan 2002
Location: Huntington Beach, CA
Posts: 37
no, seriously, where can cscreen be downloaded from?

Anybody know?

I've been looking for it all day for use with sofa control. Original dl site is down, nowhere to be found.

Anybody care to share?
jbessom is offline   Reply With Quote
Old 08-23-2006, 12:23 AM   #6
voldenuit
League Commissioner
 
Join Date: Sep 2003
Location: Old Europe
Posts: 5,146
haynes objection is certainly valid, it's your call.

Anyway, cscreen is a handy tool and it's a pity that it somehow fell off the web, so here you go:
Attached Files
File Type: zip cscreen.zip (10.9 KB, 10941 views)
voldenuit is offline   Reply With Quote
Old 08-23-2006, 01:26 AM   #7
jbessom
Prospect
 
Join Date: Jan 2002
Location: Huntington Beach, CA
Posts: 37
Smile thanks!

I know it's not a good idea to take candy from strangers, but that's what backups are for.

Also, I think it's not so bad to have faith in your fellow humans as not always being out to screw you...paranoia is no way to live life.

Thanks again.
jbessom is offline   Reply With Quote
Old 08-23-2006, 07:58 AM   #8
luomat
Prospect
 
Join Date: Dec 2005
Posts: 11
Quote:
Originally Posted by voldenuit
haynes objection is certainly valid, it's your call. Anyway, cscreen is a handy tool and it's a pity that it somehow fell off the web, so here you go:

Thanks.... and the md5 matches that which was posted before:

$ md5 cscreen
MD5 (cscreen) = dc3620e75bf55c302322be13982f2222
luomat is offline   Reply With Quote
Old 08-23-2006, 08:31 AM   #9
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
Quote:
Originally Posted by luomat
How would this be any different than any other software that I download from a website? I don't know them either.

Normally you get software from web sites that have established a reputation for trustworthiness. And such sites are usually used by many thousands of users, so any problems with a piece of software will likely be noticed before you get there.
None of this is true if you download something from http://randomjoe.net or http://123.64.46.123
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 08-23-2006, 08:36 AM   #10
luomat
Prospect
 
Join Date: Dec 2005
Posts: 11
Quote:
Originally Posted by hayne
Normally you get software from web sites that have established a reputation for trustworthiness. And such sites are usually used by many thousands of users, so any problems with a piece of software will likely be noticed before you get there. None of this is true if you download something from http://randomjoe.net or http://123.64.46.123

That does happen sometimes, but there are also a whole lot of websites out there (including the one which the original cscreen was from) which I had never heard of before.
luomat is offline   Reply With Quote
Old 08-23-2006, 10:20 AM   #11
voldenuit
League Commissioner
 
Join Date: Sep 2003
Location: Old Europe
Posts: 5,146
Quote:
Originally Posted by luomat
Thanks.... and the md5 matches that which was posted before:
$ md5 cscreen
MD5 (cscreen) = dc3620e75bf55c302322be13982f2222

Unsurprisingly so, it was calculated over the very same cscreen I then zipped and posted.

Trusting me not to spread nastyware and feedback from others in this thread confirming that it is indeed cscreen without any ill effects are about the only ways to assess the risk.

But there still is some risk that everybody has to evaluate for himself and hayne is absolutely right to point that out.
voldenuit is offline   Reply With Quote
Old 08-24-2006, 11:55 AM   #12
luomat
Prospect
 
Join Date: Dec 2005
Posts: 11
Quote:
Originally Posted by voldenuit
Unsurprisingly so, it was calculated over the very same cscreen I then zipped and posted.

HA! I hadn't noticed it was the same person. Silly me :-)

Quote:
Originally Posted by voldenuit
Trusting me not to spread nastyware and feedback from others in this thread confirming that it is indeed cscreen without any ill effects are about the only ways to assess the risk.

But there still is some risk that everybody has to evaluate for himself and hayne is absolutely right to point that out.

Absolutely true.
luomat is offline   Reply With Quote
Old 09-19-2006, 07:17 PM   #13
displaced
Triple-A Player
 
Join Date: Dec 2002
Location: Kent, United Kingdom
Posts: 105
Anyone have a copy of csscreen?

Hi,

I've recently set up my Mac Mini as a media centre box. However, it refuses to boot into the low-resolution that my traditional CRT widescreen TV looks best with, instead defaulting to 800x600 each reboot.

A quick google suggests that there once was a unix utility called csscreen which provided command-line switching of resolutions. However, it seems to have disappeared off the face of the internet, with the original author leaving nothing on their site other than "I'm not interested, go away!" (paraphrased).

Does anyone have a copy of this utility they could send me (assuming the licence allows)

Thanks!
__________________
Regards,

Chris
displaced is offline   Reply With Quote
Old 09-19-2006, 07:44 PM   #14
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
displaced:
I merged your thread into the existing thread about the same topic.
See above for a copy of 'cscreen' and standard warnings.
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 09-19-2006, 07:46 PM   #15
displaced
Triple-A Player
 
Join Date: Dec 2002
Location: Kent, United Kingdom
Posts: 105
excellent, thank you very much hayne! Apologies for not searching first (I thought I'd fire off a quick missive before heading up to bed... my fault! )
__________________
Regards,

Chris
displaced is offline   Reply With Quote
Old 10-30-2007, 01:46 PM   #16
Osakans
Registered User
 
Join Date: Oct 2007
Posts: 1
Here's code that does much the same thing...

I was also sorry to hear that cscreen had dropped off the Internet. In the hopes that future folks won't have to scrounge for bootleg copies, I've attached some sample code that does much the same as cscreen. This Macoshints page is the top Google hit on cscreen, so I thought it would be as good a place as any.

This code only sets resolution. Adding bit depth would be trivial for someone with interest. The command line parsing code is atrocious -- I'm not a programmer by day, so don't have the energy to spruce it up.

I compiled this code in XCode 3. I assume it will work in earlier versions. The APIs I used date back to OS 10.2, so if appropriately compiled it should be backward compatible at least that far. If you're going to compile this yourself, make sure to include the ApplicationServices framework in the project file.

Sample usage is:

newscreen -h 1440 -v 900

Hope this helps someone.

/*
* main.c
* newscreen
*
* Created by Jeffrey Osterman on 10/30/07.
* Copyright 2007 Jeffrey Osterman. All rights reserved.
* PROVIDED AS IS AND WITH NO WARRANTIES WHATSOEVER
*/

#include <ApplicationServices/ApplicationServices.h>

void MyDisplaySwitchToMode (CGDirectDisplayID display, CFDictionaryRef mode);

int main (int argc, const char * argv[]) {

int h; //horizontal resolution
int v; //vertical resolution
CFDictionaryRef switchMode; //mode to swich to
CGDirectDisplayID mainDisplay; //ID of main display


if (argc != 5)
{
printf("Expected 4 inputs, but only received %i\n", argc-1);
return 0;
}

if (!strcmp(argv[1],"-h"))
h=strtol(argv[2], NULL, 0);
else if (!strcmp(argv[1],"-v"))
v=strtol(argv[2], NULL, 0);
else {
printf("Error! Expected first argument to be -h or -v\n");
return 0;
}


if (!strcmp(argv[3],"-h"))
h=strtol(argv[4], NULL, 0);
else if (!strcmp(argv[3],"-v"))
v=strtol(argv[4], NULL, 0);
else {
printf("Error! Expected third argument to be -h or -v");
return 0;
}

mainDisplay = CGMainDisplayID();
switchMode = CGDisplayBestModeForParameters(mainDisplay, 32, h, v, NULL);
MyDisplaySwitchToMode (mainDisplay, switchMode);
return 0;

}



void MyDisplaySwitchToMode (CGDirectDisplayID display, CFDictionaryRef mode)
{
CGDisplayConfigRef config; // 1
CGBeginDisplayConfiguration (&config); // 2
CGConfigureDisplayMode (config, display, mode); // 3

CGCompleteDisplayConfiguration (config, kCGConfigureForSession ); // 5
}
Osakans is offline   Reply With Quote
Old 11-19-2008, 02:09 PM   #17
priglmeier
Registered User
 
Join Date: Nov 2008
Posts: 1
cscreen, 15Khz arcade monitor and mame for macintosh (any)

Has anyone tried this utility in conjunction with the following:

Mac with J-PAC card from Ultimarc using JAMMA harness
Arcade monitor 15KHz

The plan:

Use an old Mac G4 with and ATI video card to run MAME and output to the arcade hardware.

If I can get this to work I will document it on my Arcade site:
www.priglmeier.com/game

thanks for your input.

greg
priglmeier is offline   Reply With Quote
Old 09-04-2012, 09:24 PM   #18
lpp
Prospect
 
Join Date: May 2005
Posts: 5
cscreen for Intel now available

Hi all,

I don't like to necro threads, but this seemed a relevant place to post this.

I'm the original developer of cscreen. I've just released a copy of cscreen for Intel. You can grab a copy here: http://www.pyehouse.com/cscreen/

Unfortunately, I don't have a Retina display so I don't know how well it does or doesn't work on such devices, but it does seem to work alright on my machine.

If you have any feedback, please let me know.

Regards,

Lynn Pye
lpp is offline   Reply With Quote
Old 09-04-2012, 11:46 PM   #19
acme.mail.order
League Commissioner
 
Join Date: Sep 2003
Location: Tokyo
Posts: 6,334
Quote:
Originally Posted by hayne
Normally you get software from web sites that have established a reputation for trustworthiness. And such sites are usually used by many thousands of users, so any problems with a piece of software will likely be noticed before you get there.
None of this is true if you download something from http://randomjoe.net

randomjoe.net appears to be legit, and specializes in Android and iOS software.

However, Joe doesn't appear to be active and the domain expires on Saturday.

somedude.com will be happy to design your trojan-embedded illicit software site for you, someguy.com was SOCMOB and got taken out by somedude's homies.
acme.mail.order is offline   Reply With Quote
Old 09-05-2012, 02:09 PM   #20
NovaScotian
League Commissioner
 
Join Date: Oct 2002
Location: Halifax, Canada
Posts: 5,155
I assume the OP knows that cscreen (the original) only runs on PowerMacs (i.e., it runs on my G5, but not my iMac).
__________________
17" MBP, OS X; 27" iMac, both OS X 10.10.x (latest)

Last edited by NovaScotian; 09-05-2012 at 02:12 PM.
NovaScotian is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 10:07 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.