Table of Contents

Preamble

This page is for the documenting of ideas for a Compsoc Putty Client. This Putty client would have a Compsoc branding aswell as some custom features which the members may wish to have.

Shane's Mantis Report 2004

Grabbed this from Mantis for you - Andy 16/06/2008
Right stage 1:

im using MS VC 6.0
and UPX125W >> Ultimate Packer for eXecutables.

I started in the settings.c


The function to start editing for default values is

void load_open_settings(****)

in here you can set up the Default Values, and it wont effect already saved sessions.


Settings that i made Changes to:

gppi(sesskey, "AltF4", 1, &cfg->alt_f4); I turned this on allows Alt-Enter to
display putty full Screen, handy sometimes.

gppi(sesskey, "BeepInd", 1, &cfg->beep_ind); Also this value i set to 1 this allows a taskbar visual alert, really handy when you have no sound eg college.

gppi(sesskey, "LineCodePage", "ISO-8859-15:1999 (Latin-9, \"euro\")", &cfg->line_codepage, sizeof(cfg->line_codepage));
Well its getting easy now, this sets up the Euro Support, € w00t!

Stage 2:

Creating a frink button

config.c

Ln211
added : *frinkbutton << A pointer to the frink button control

Ln374
Made the following code addition

} else if { ctrl == ssd->frinkbutton) {

/*Shane Duffy 06112004*/
strcpy(cfg->host,"frink.nuigalway.ie");
dlg_end(dlg, 1);

## End of code additions


Now to the fun bit Get the Button to Draw onto the Form at runtime.

Ln771
Made the following code addition

/*Shane Duffy - 06112004 - Add Custom Buttons for Frink*/
ssd->frinkbutton = ctrl_pushbuttons(s, "Frink", 'f', HELPCTX(no_help), sessionsaver_handler, P(ssd));
ssd->frinkbutton->generic.column =2;

##End of code additions

In verssion V0.11 Above code will change to

/*Shane Duffy - 06112004 - Add Custom Buttons for Frink*/
if (!midsession){
ssd->frinkbutton = ctrl_pushbuttons(s, "Frink", 'f', HELPCTX(no_help), sessionsaver_handler, P(ssd));
ssd->frinkbutton->generic.column =2;
}

This will stop a bug that the button shows up when you go to change settings midsession, you should not be able to get and set the cfg->host at that time,
might cause putty to crash if clicked midsession. 

Stage 3:

Made some Changes to the About Dialog so as when a user clicks on the Visit Website they get brought to http://www.compsoc.nuigalway.ie/?r=compsoc_putty [^]

windlg.c
Ln217

Made changes to make site go to
http://www.compsoc.nuigalway.ie/?r=compsoc_putty [^]

Will add version number to this at some stage.

Edited the About resource to include custom Version Details.



Version Number Addition.
be_all.c

Ln17: +
const char *const compsoc_version = "CompSoc PuTTY V0.1 - moe"; 

Project Members

Compsoc Putty Features

Will have

Nice to have

Putty Version which can store config to file.

Web based configuration data

Project Source Control

Google Code hosted project