<commit_before># GCI Client Installation


##on Linux

```Shell
cp $GEMSTONE/lib32*.so <path_to_Pharo_image_file>
```
## on Mac

```Shell
cp $GEMSTONE/lib32*.dylib <path_to_Pharo_image_file>
```

## Pharo Image Topez Installation

```Smalltalk
Metacello new
    baseline: 'Topez';
    repository: 'github://dalehenrich/topez:master/packages';
    load: 'Dev'.
``` 

## Topez setup

Define a session description:

```Smalltalk
| sessionDescription |
sessionDescription := OGCustomSessionDescription new
    name: '3.1.0.1';
    gemstoneVersion: '3.1.0.1';
    gciLibraryName: 'libgcirpc-3.1.0.1-32.dylib'; "or libgcirpc-3.1.0.1-32.so for Linux"
    adornmentColor: Color lightGreen;
    stoneHost: 'localhost';
    stoneName: 'seaside';
    gemHost: 'localhost';
    netLDI: '50377';
    gemTask: 'gemnetobject';
    userId: 'DataCurator';
    password: '<PASSWORD>';
    osUserId: '';
    osPassword: '';
    backupDirectory: '';
    dataDirectory: '';
    yourself.
TDTopezClient sessionMap 
    at: sessionDescription name
    put: sessionDescription.
```

Login using the session:

```Smalltalk
TDShell open: '3.1.0.1'
```
<commit_msg>add window sizing [ci skip]<commit_after># GCI Client Installation


##on Linux

```Shell
cp $GEMSTONE/lib32*.so <path_to_Pharo_image_file>
```
## on Mac

```Shell
cp $GEMSTONE/lib32*.dylib <path_to_Pharo_image_file>
```

## Pharo Image Topez Installation

```Smalltalk
Metacello new
    baseline: 'Topez';
    repository: 'github://dalehenrich/topez:master/packages';
    load: 'Dev'.
``` 

## Topez setup

Define a session description:

```Smalltalk
| sessionDescription |
sessionDescription := OGCustomSessionDescription new
    name: '3.1.0.1';
    gemstoneVersion: '3.1.0.1';
    gciLibraryName: 'libgcirpc-3.1.0.1-32.dylib'; "or libgcirpc-3.1.0.1-32.so for Linux"
    adornmentColor: Color lightGreen;
    stoneHost: 'localhost';
    stoneName: 'seaside';
    gemHost: 'localhost';
    netLDI: '50377';
    gemTask: 'gemnetobject';
    userId: 'DataCurator';
    password: '<PASSWORD>';
    osUserId: '';
    osPassword: '';
    backupDirectory: '';
    dataDirectory: '';
    yourself.
TDTopezClient sessionMap 
    at: sessionDescription name
    put: sessionDescription.
```

Define window sizes:

```Smalltalk
TDTopezClient
    windowOrigin: 5@0.5;
  	listWindowWidth: 28;
  	codeWindowWidth: 80;
  	initialize.
```
Login using the session:

```Smalltalk
TDShell open: '3.1.0.1'
```

{'fraction_non_alphanumeric': 0.14561908679555738, 'fraction_numerical': 0.030028794734677088, 'mean_word_length': 3.903225806451613, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 10, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1854992', 'n_tokens_mistral': 914, 'n_tokens_neox': 867, 'n_words': 190}