Skip to content

Commit

Permalink
Convert text files to markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
rasa committed Feb 19, 2015
1 parent 22c83f1 commit 5e9cf13
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 77 deletions.
112 changes: 59 additions & 53 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,48 @@
res_set changelog
## 1.7 (unreleased)

Version 1.6 - 22 Oct 11:
* Updated to Visual Studio 2013
* Switch to MIT license

Added additional resolutions per http://en.wikipedia.org/wiki/List_of_common_resolutions
Added shared lib to source zip file (unzip into lsdsk/../shared)
Updated to Visual Studio 2010 Express
## 1.6 (22 Oct 11)

Version 1.5 - 03 Mar 07:
* Added additional resolutions per http://en.wikipedia.org/wiki/List_of_common_resolutions
* Added shared lib to source zip file (unzip into lsdsk/../shared)
* Updated to Visual Studio 2010 Express

Added additional resolutions per http://en.wikipedia.org/wiki/List_of_common_resolutions
Removed SUXGA (1800x1440} as it doesn't seem to be used anywhere

Version 1.4 - 12 Jul 06:
## 1.5 (03 Mar 07)

Standardized version information across all programs
* Added additional resolutions per http://en.wikipedia.org/wiki/List_of_common_resolutions
* Removed SUXGA (1800x1440} as it doesn't seem to be used anywhere

Version 1.3 - 22 May 06:
## 1.4 (12 Jul 06)

Added -Z | --raw List all graphics modes (CAUTION!)
Fixed command line parsing issue
Updated documentation
* Standardized version information across all programs

Version 1.2 - 21 May 06:
## 1.3 (22 May 06)

Added -o | --orientation n Set display orientation to 'n' (0,90,180,270)
Added -x | --positionx n Set display x position to 'x'
Added -y | --positiony n Set display y position to 'y'
Added -c | --current Set/get current settings (not registry settings)
Changed -d | --depth to -b | --bits (--depth still works)
Changed -E | --no-reset to -R | --no-reset
Changed -e | --reset to -r | --reset
Changed -i | --list-monitors to -L | --list-monitors
Changed -m | --monitor to -M | --monitor-name
Changed -n | --min to -i | --min
Changed -o | --mode to -e | --mode
Changed -r | --refresh to -f | --frequency (--refresh still works)
Changed -u | --full-screen to -T | --temporary (--full-screen still works)
Changed -z | --monitor-no to -m | --monitor (--monitor-no still works)
* Added -Z | --raw List all graphics modes (CAUTION!)
* Fixed command line parsing issue
* Updated documentation

Added ability to specify resolution using one of the following abbreviations:
## 1.2 (21 May 06)

* Added -o | --orientation n Set display orientation to 'n' (0,90,180,270)
* Added -x | --positionx n Set display x position to 'x'
* Added -y | --positiony n Set display y position to 'y'
* Added -c | --current Set/get current settings (not registry settings)
* Changed -d | --depth to -b | --bits (--depth still works)
* Changed -E | --no-reset to -R | --no-reset
* Changed -e | --reset to -r | --reset
* Changed -i | --list-monitors to -L | --list-monitors
* Changed -m | --monitor to -M | --monitor-name
* Changed -n | --min to -i | --min
* Changed -o | --mode to -e | --mode
* Changed -r | --refresh to -f | --frequency (--refresh still works)
* Changed -u | --full-screen to -T | --temporary (--full-screen still works)
* Changed -z | --monitor-no to -m | --monitor (--monitor-no still works)

* Added ability to specify resolution using one of the following abbreviations:
````
WUXGA (1920x1200)
SUXGA (1800x1440} (Sorta Ultra XGA :)
WSXGA+ (1680x1050)
Expand All @@ -52,36 +56,38 @@ Version 1.2 - 21 May 06:
VGA (640x480)
EGA (640x400)
CGA (320x200)

Version 1.1 - 08 Apr 06:

Added -s | --save Settings will be permanently changed for the current user
Added -g | --global Settings will be permanently changed for all users
Added -u | --full-screen Change is temporary in nature
Added -e | --reset Settings will be changed, even if they are the same
Added -E | --no-reset Settings will be stored, but will not take effect
Added -p | --primary Device will become the primary device
Added -t | --test Tests if the requested graphics mode could be set

````

## 1.1 (08 Apr 06)

* Added -s | --save Settings will be permanently changed for the current user
* Added -g | --global Settings will be permanently changed for all users
* Added -u | --full-screen Change is temporary in nature
* Added -e | --reset Settings will be changed, even if they are the same
* Added -E | --no-reset Settings will be stored, but will not take effect
* Added -p | --primary Device will become the primary device
* Added -t | --test Tests if the requested graphics mode could be set
````
These options set each of the following ChangeDisplaySettingsEx() flag options:
CDS_UPDATEREGISTRY The graphics mode for the current screen will be changed dynamically and the graphics mode will be updated in the registry.
The mode information is stored in the USER profile.
The mode information is stored in the USER profile.
CDS_GLOBAL The settings will be saved in the global settings area so that they will affect all users on the machine.
Otherwise, only the settings for the user are modified.
This flag is only valid when specified with the CDS_UPDATEREGISTRY flag.
Otherwise, only the settings for the user are modified.
This flag is only valid when specified with the CDS_UPDATEREGISTRY flag.
CDS_FULLSCREEN The mode is temporary in nature.
Windows NT/2000/XP: If you change to and from another desktop, this mode will not be reset.
Windows NT/2000/XP: If you change to and from another desktop, this mode will not be reset.
CDS_NORESET The settings will be saved in the registry, but will not take effect.
This flag is only valid when specified with the CDS_UPDATEREGISTRY flag.
This flag is only valid when specified with the CDS_UPDATEREGISTRY flag.
CDS_RESET The settings should be changed, even if the requested settings are the same as the current settings.
CDS_SET_PRIMARY This device will become the primary device.
CDS_TEST The system tests if the requested graphics mode could be set.
````

* Added .rc and .ico files
* Improved build scripts
* Updated documentation

Added .rc and .ico files
Improved build scripts
Updated documentation

Version 1.0 - 06 Feb 06:
## 1.0 (06 Feb 06)

Initial release
* Initial release
62 changes: 38 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
res_set - Version 1.6 - Oct 22 2011
Copyright (c) 2005-2011 Ross Smith II (http://smithii.com) All Rights Reserved
# res_set

------------------------------------------------------------------------------
Display or change the monitor resolution, color depth, or refresh rate

## Usage

````
res_set [options] [resolution]
Usage: res_set [options] [resolution]
Options:
-w | --width x Set horizontal resolution to 'x' (min/max allowed)
-h | --height y Set vertical resolution to 'y' (min/max allowed)
Expand Down Expand Up @@ -32,8 +35,11 @@ Options:
-t | --test Tests if the requested graphics mode could be set
-v | --version Show version and copyright information and quit
-? | --help Show this help message and quit
````

Examples:
## Examples

````
res_set -l 21 & rem list the display modes
res_set -e 21 & rem set display to mode 21
res_set xga & rem set resolution to 1024 x 768, depth/refresh to minimum for this resolution
Expand All @@ -45,18 +51,22 @@ Examples:
res_set -max -f min & rem use highest supported resolution/depth but the lowest refresh rate
res_set -m 2 800 600 & rem set monitor 2's resolution to 800x600
res_set -m 2 -x 200 -y -600 800 600 & rem set monitor 2's resolution to 800x600, and position to 200,-600
````

Also
````
--refresh alias for --frequency
--freq alias for --frequency
--bpp alias for --bits
--depth alias for --bits
-d alias for --bits
````

You can use / instead of - to preface single letter options, //width will *not* work.

Resolution can be entered as 'width height', or one of the following terms:

````
Term W H Description
------ ---- ---- -------------------------
CGA 320 200 CGA 4-color, Atari ST 16 color, Commodore 64 VIC-II Hires, Amiga OCS NTSC Lowres, Apple IIGS LoRes, MCGA
Expand Down Expand Up @@ -116,12 +126,13 @@ HUXGA 6400 4800 HUXGA
UHDTV 7680 4320 UHDTV
8K 8192 4320 8K
WHUXGA 7680 4800 WHUXGA
````

Not all of the above modes will be available.

Source: http://en.wikipedia.org/wiki/List_of_common_resolutions

------------------------------------------------------------------------------
## Notes

res_set will only allow you to set parameters to those that are reported by
Windows to be supported by your video card (unless you use the --raw option).
Expand All @@ -141,27 +152,30 @@ resolution for the current monitor, or the monitor you have specified.
If you only specify the width/height, res_set will use the minimum value
for the height/width supposed for the width/height you used.

------------------------------------------------------------------------------
## Sources

* http://www.vaughns-1-pagers.com/computer/video-resolution.htm
* http://www1.us.dell.com/content/topics/global.aspx/vectors/en/2002_lcd?c=us&l=en&s=corp
* http://www.videotechnology.com/0904/formats.html
* http://www.berghell.com/whitepapers/Display%20Resolutions%20and%20Nomenclature%20-%20Display%20Sizes%20in%20Pixels%20-%20%20Horizontal%20by%20Vertical.pdf

## Contributing

To contribute to this project, please see [CONTRIBUTING.md](CONTRIBUTING.md).

## Bugs

To view existing bugs, or report a new bug, please see the [issues](/issues) page for this project.

Sources: http://www.vaughns-1-pagers.com/computer/video-resolution.htm
http://www1.us.dell.com/content/topics/global.aspx/vectors/en/2002_lcd?c=us&l=en&s=corp
http://www.videotechnology.com/0904/formats.html
http://www.berghell.com/whitepapers/Display%20Resolutions%20and%20Nomenclature%20-%20Display%20Sizes%20in%20Pixels%20-%20%20Horizontal%20by%20Vertical.pdf
## License

------------------------------------------------------------------------------
This project is [MIT licensed](LICENSE).

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
## Changelog

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Please see [CHANGELOG.md](CHANGELOG.md) for the version history for this project.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
## Contact

$Id$
This project was originally developed by [Ross Smith II](mailto:[email protected]).
Any enhancements and suggestions are welcome.

0 comments on commit 5e9cf13

Please sign in to comment.