initial upload

This commit is contained in:
2024-09-19 13:53:20 -05:00
commit 2c3af662c2
9 changed files with 572 additions and 0 deletions

5
AS400-desktop Normal file
View File

@@ -0,0 +1,5 @@
[Desktop Entry]
Exec=/opt/ibm/iAccessClientSolutions/Start_Programs/Linux_x86-64/acslaunch_linux-64 Desktop/default.hod
Name=AS400
Type=Application
Version=1.0

BIN
IBMiAccess_v1r9.zip Normal file

Binary file not shown.

97
README.md Normal file
View File

@@ -0,0 +1,97 @@
# AS400 Terminal Install & Setup Instructions
## Install MacOS
For the iMac model, use the following OSX releases:
> **A1195 (White Bezel)** - OSX 10.6 Snow Leopard (*10.4 Tiger* to *10.7 Lion*)
>
> **A1208 (White Bezel)** - OSX 10.6 Snow Leopard (*10.4 Tiger* to *10.7 Lion*)
>
> **A1224 (Silver Bezel)** - OSX 10.10 Yosemite (*10.5 Leopard* to *10.11 El Capitan*)
>
> **A1418 (Silverback)** - OSX 10.14 Mojave (*10.8 Mountain Lion* to *10.15 Catalina*)
- During install, split into 2 partitions. Format partition 1 as AFS or HFS. Format partition 2 as Fat32 (Apple refers to Fat32 as just FAT).
- Install the *next to most recent* version of OSX instead of the most recent onto partition 1.
- Shut down, then hold option after pressing the power button to choose the startup drive to select the Lubuntu install USB drive.
## Install Lubuntu
- Boot to the Lubuntu USB drive and choose Try Lubuntu.
- Once loaded, click the start menu -> **System Tools** -> **KDE Partition Manager**.
- In the partition manager, select the Fat32 partition and click delete. Then click apply and close the partition manager.
- Double click the install Lubuntu icon from the desktop.
- The user name should be terminal (lowercase). For computer name, I used "terminal-MODELMMYY" (ex. terminal-A11950924)
- Make sure to select the option to not require login when creating the user.
## Setting up Lubuntu with the iAccess software
### Copy files
- Create a new folder on the desktop named temp (all lowercase).
- Copy the contents of `\\SOHBACKUP\Programs\2024-Terminals` to the new folder you created.
- _Alternately you can copy the whole "Terminals" folder to the desktop, right click the folder and rename it to temp._
### Run setup script
- Open the terminal
- For Lubuntu 18, it is LXTerminal: **Start** -> **System Tools** -> **LXTerminal**
- For Lubuntu 24, it is QTerminal: **Start** -> **System Tools** -> **QTerminal**
- At the terminal prompt, type the following:
> `cd ~/Desktop/temp`
>
> `sudo chmod +x install*.sh`
>
> For 32-Bit systems (A1195 & A1208): `sudo ./install32.sh`
>
> For 64-Bit systems (A1224 & A1418): `sudo ./install64.sh`
This installs prerequisites*, JAVA (1.8.0_381), ODBC (2.3.12), IBM iAccess (v1r9), and other configuration files. It should ask you to answer a few questions once it starts installing the IBM software. Answer them all Yes.
#### Prerequisites
- install
- dialog
- make
- automake
- autoconf
- libtool
- glibc*
- alien
- odbcinst
- unixodbc
- libmotif-common
- numlockx
## Post Install
### Accept the i Access EULA
- Open IBM iAccess Client Solutions: **Start** -> **Internet** -> **IBM i Access Client Solutions**
- You can drag the icon to the desktop for future use, if desired.
- In the window that first loads, scroll to the bottom of the EULA window and click accept.
- Close the iAccess window.
### Hide the taskbar
- Right click the taskbar and click "Panel Settings"
- Click on the Advanced tab
- Check the box that says "Minimize panel when not in use"
- Click Close
### Disable Power Management
- Open the Power Management console
- Lubuntu 18: **Start** -> **Preferences** -> **Power Manager**
- Security Tab
- Change Slide all slider to the left so it says never
- Click on the Security tab
- Click the box next to "Automatically lock the session" and change it to Never
- Click Close at the bottom
- Lubuntu 24: **Start** -> **Preferences** -> **LXQt Settings** -> **Power Management**
- Click the Idle section
- Uncheck the "Enable Idleness Watcher" option at the top.
- Optionally, disable the screensaver at **Start** -> **Preferences** -> **XScreenSaver Settings**

365
default.hod Normal file
View File

@@ -0,0 +1,365 @@
[Host On-Demand Session File][4.00]
[Toolbar]
themeList=35 ,0 ,6 ,7 ,0 ,261 ,260 ,290 ,297 ,0 ,66 ,22 ,0 ,21 ,0 ,29 ,27 ,0 ,26 ,28 ,0 ,253 ,0 ,39 ,
paramList= , , , , , , , , , , , , , , , , , , , , , , , ,
positionList=0 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,
descriptionList=_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,
macLocList=-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,
nameList= , , , , , , , , , , , , , , , , , , , , , , , ,
textList=_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,_HOD_DEFAULT_TEXT&DESCRIPTION ,
imageList= , , , , , , , , , , , , , , , , , , , , , , , ,
[HostPrintTerminal]
[Icon]
menuBarVisible=true
poppadPad=0
ftpButtonBarVisible=true
keypadVisible=false
poppadHeight4=0
poppadHeight3=0
Embedded=false
transferBarVisible=false
poppadHeight2=0
poppadHeight1=0
scratchSave=true
statusBarVisible=true
FileTransferType=HostFileTransfer
selectedImage=5250_s.gif
poppadByRightMouseButton=true
startupApplet=
numberLinesOIA=4
startHLLAPIEnabler=true
enableTempFocus=false
poppadLeft=-1
RequestedID=*
name=5250 Display
autostartName=
ftpStatusBarVisible=true
enable5250PrinterAssociation=false
5250PrinterSession=5250 Display
close5250AssocPrinterWithLastSession=false
macroManagerVisible=false
frameYpos=0
quickConnectVisible=false
poppadScrollBar=true
startupMacro=
startupParam=
stickyPoppad=false
poppadFocusBackToTerminal=true
scratchPadVisible=false
frameWidth=1440
screenHistoryTypeSimple=false
screenHistory=false
autostart=none
buttonTextVisible=false
5250PrinterAssociation=false
SaveOnExit=Always
exitWarningOn=false
textOIAVisible=false
autostartParam=
scratchPadMini=false
5250AssocPrinterDeviceName=
confirmExitOn=false
buttonBarVisible=true
interface=com.ibm.eNetwork.HOD.icons.Icon5250
frameHeight=898
poppadTop=-1
guiEmulation=false
searchTextVisible=false
5250AssocPrinterSessionConnectionTimeout=
autoLaunch=false
buttonAdminBarVisible=true
unselectedImage=5250.gif
poppadWidth4=0
poppadWidth3=0
poppadWidth2=0
ftpButtonTextVisible=false
poppadWidth1=0
frameXpos=0
[Keypad]
sessionType=2
codePage=037
[ColorRemapFile]
[POPPAD]
[ZipPrint]
codePage=037
[KeyRemap]
sessionType=2
autoApply=false
codePage=037
[BlinkRemap]
[AppletManager]
com.ibm.eNetwork.hllbridge.HLLAPIEnabler=
[ToolbarFile]
Filename=
[Translation]
[ColorRemap]
[MacroLibrary]
[Volatile]
[TranslationFile]
[POPPADFile]
[%dba%options]
[KeyRemapFile]
[Terminal]
showEnterString=false
showBanner=true
SSLCertificateName=
LUName=
hostGraphics=false
negotiateCResolution=true
VTReverseScreen=false
lastHostWithoutTimeout=true
MultPrtScrnPerPageNumber=1
SLPAS400Name=
History=true
SSLCertificatePromptHowOften=SESSION_SSL_CERTIFICATE_PROMPT_FIRST_CONNECT
acsSystemName=
SESSION_PROXY_BROWSER_DEFAULT=SESSION_PROXY_BROWSER_DEFAULT
truncateCharacters=true
columnSeparator=dot
workstationID=
WatermarkOpacity=0.15
watermarkTextColor=FFFFFF
trimLineWrapStyle=false
textType=LOGICAL
pasteTabOptions=2
SESSION_PROXY_AUTHEN_CLEAR_TEXT=SESSION_PROXY_AUTHEN_CLEAR_TEXT
screenSize=5
UseHodCDRA1399=false
SLPScope=
windowSetupFlags=934
dontShowUnprotectedURLs=true
rule=false
VTCursor=false
fontStyle=0
fontSizeBounded=true
enableTrimFieldSpaces=true
omitSOSI=false
copyAltSignLocation=false
autoResize=false
textTypeDisp=LOGICAL_DISP
acsPasswordPromptUsername=verify
.,=.,
copyOnlyIfTrimmed=false
CICSServerName=
SSLTelnetNegotiated=false
fontSize=10
showURLsMode=underlineURLs
SSLCertificateProvided=false
fixedFontSize=false
ProxySSLBrowserKeyringAdded=false
PrintScreenCollectionOnExit=false
mouseWheelDown=[pagedn]
EntryAssist_tabstop=8
CustomTable=
fontName=IBM3270
sessionID=A
SSLCertificateHash=
port=23
VTBackspace=false
enableStartupResponseRecord=true
useAccentedCharacters=false
haveTextAsWatermark=true
EntryAssist_bellCol=75
NVTLocalEcho=false
ThaiDisplayMode=2
AllocateSpaceForLamAlef=LAMALEFOFF
enableCopyUnprotectedFields=true
showMacro=disableMacro
SLPMaxWaitTime=200
SSHPublicKeyAlias=mykey
keyStoreFilePath=
unicodeEnforceLength=true
SSLCRYPTOLABEL=
VTasciiConvert=false
timeout=0
netName=
SSLBrowserKeyringAdded=false
SSLCertificateSource=SESSION_SSL_CERTIFICATE_IN_URL
SLPEnabled=false
pasteStopAtProtectedLine=true
ProxySSL=false
VTLocalEcho=false
isAcsConsole=false
timeoutNoDataAtInitialization=false
ENPTUI=true
CICSInitialTransEnabled=true
userPassword=
proxyAuthenMethod=SESSION_PROXY_AUTHEN_NONE
SESSION_PROXY_SOCKS_V5=SESSION_PROXY_SOCKS_V5
showTextAttributesEnabled=true
SESSION_PROXY_SOCKS_V4=SESSION_PROXY_SOCKS_V4
symmetricSwapEnabled=true
proxyType=SESSION_PROXY_BROWSER_DEFAULT
SSHPublicKeyAliasPassword=
WatermarkFont=Times New Roman
smartOrdering=SMART_ORDERING_OFF
EntryAssist_startCol=1
MultPrtScrnPerPage=false
VTAnswerBackMsg=
mouseWheelUp=[pageup]
host=10.0.0.6
numericSwapEnabled=true
LUNameBackup2=
LUNameBackup1=
connectionTimeout=0
proxyServerPort=1080
ruleLinePosition=0 0
sslUseJSSE=false
sslJSSETrustStorePassword=
roundTrip=ON
keyboardSequence=true
trimRectRemainAfterEdit=false
CursorMovementState=true
VTTerminalType=1
hostBackup2=
isHmcConsole=false
WatermarkImagePath=
hostBackup1=
PrintScreenInColor=false
TNEnhanced=true
textOrientation=LEFTTORIGHT
HTMLDDS=false
userID=
autoConnect=true
SecurityProtocolAdmin=false
pointerType=false
smartCardDisconnect=true
sessionType=2
unicodeDataStreamEnabled=false
enableCopyProtectedFields=true
SSLCRYPTOPWD=
UDC_SETTING=UDC_OFF
autoReconnect=true
HistorySize=64
mouseEnabled=true
proxyUserPassword=
UDC_TABLE_SELECTION=
SESSION_PROXY_SOCKS_V5_THEN_V4=SESSION_PROXY_SOCKS_V5_THEN_V4
cursorDirection=CURSOR_LEFTTORIGHT
DBCSInputVisible=false
graphicsCellSize=0
Watermark=false
ruleLineStyle=crosshair
ssoEnabled=true
EntryAssist_DOCmode=false
centered=true
acsPasswordPrompt=3_session
avoidDupStartIndex=0
proxyServerName=
SLPThisScopeOnly=false
showFPnn=disableFPNN
SSLCertificatePromptBeforeConnect=false
trimRectSizingHandles=true
EntryAssist_tabstops=
shownn=disableNN
SSLCertificateURL=
keepAlive=false
CICSInitialTrans=CECI
SSLServerAuthentication=false
haveImageAsWatermark=false
PrtScrnNotShowDialog=false
isMaximized=true
printFileName=
printDestination=true
VT100Plus=false
pasteTabSpaces=1
enablePasteFromExcel=false
ruleLineFollows=true
InsertOffOnAIDKEY=false
sessionName=5250 Display
numericFieldLock=false
separateFiles=false
ProxySSLServerAuthentication=false
EntryAssist_endCol=80
socksV4UserID=
OIAVisible=true
titleSeparator=-
PrtScrnHeaderPlace=PrtScrnPlaceCenter
watermarkPosition=tile
numeralShapeDisp=CONTEXTUAL_DISP
3D=false
watermarkPV=0
WatermarkText=ACS HOD
hiddenFieldDisplay=false
EntryAssist_DOCwordWrap=true
LUMServer=
sslJSSETrustStore=
isAcsProtocol=true
proxyUserID=
PDTFile=
fontScaling=true
WatermarkImageLocation=
watermarkPH=0
SSLCRYPTOMODULE=
pasteFieldWrap=true
CICSGWCodePage=000
enableCopyFieldsAsTable=false
useSSHPublicKeyAuthentication=false
autoFontSize=true
serviceMgrHost=
portBackup2=23
SSLAdmin=false
SESSION_PROXY_HTTP=SESSION_PROXY_HTTP
portBackup1=23
mouseWheelEnabled=true
SecurityProtocol=SESSION_PROTOCOL_TELNET
panelOnlyTCPIPInactivityTimeout=0
persistConnectedStatusMessage=false
VTID=VT420
LUMPort=80
pasteWordBreak=true
PrintScreenBackgroundColorOption=PrintScreenBackgroundColorOptionNone
PrtScrnFooterText=
keyStorePassword=
ssoBypassSignonPassword=
soundMute=false
cursorVisible=true
markedAreaPrintingEnabled=true
autoPack=false
accessibilityEnabled=false
numeralShape=NOMINAL
ssoUseKerberosPassticket=false
EnableInsertPaste=true
SSL=false
pasteToTrimmedArea=true
SSLCertificatePassword=
showPFnn=disablePFNN
LUMLicensing=HOD
ruleLine=false
VTNewLine=true
SESSION_SKIP_AVAILABLE_CHECK=false
SESSION_PROXY_AUTHEN_BASIC=SESSION_PROXY_AUTHEN_BASIC
pasteLineWrap=true
bind7FArchitectureViolation=false
PrtScrnFooterPlace=PrtScrnPlaceCenter
PrtScrnHeaderText=
showFnn=disableFNN
trimBoxExpandDrag=true
useDBCSInUnicodeField=false
sslJSSETrustStoreType=
PrtScrnJavaMode=true
VTKeypad=false
codePage=037
ssoCMServer=
printerName=/dev/lp0
IMEAutoStart=true
ssoBypassSignonUserid=
trimBoxSolid=false
EntryAssist_bell=false
FipsMode=false
blockCursor=false
showEnterAtCursor=false
codePageKey=KEY_US
SESSION_PROXY_AUTHEN_NONE=SESSION_PROXY_AUTHEN_NONE
ssoType=ssoBypassSignonEncrypted
CopySOSIAsSpace=false
VTAutowrap=false
AutoReverseOnRTLScreen=true
fontCodepage=unicode
RTLUnicodeOverride=RTLUNICODEOFF
lightPenMode=false
pasteTabColumns=4
BIDIMode=BIDIMODEON
ssoUserIdentityType=ssoNetworkID
[FileTransfer]
[ULOCS_MAC]

3
etc-lightdm-lightdm.conf Normal file
View File

@@ -0,0 +1,3 @@
[SeatDefaults]
autologin-user=terminal
autologin-user-timeout=0

102
install64.sh Normal file
View File

@@ -0,0 +1,102 @@
#!/bin/bash
#### Install Pre-requisites ####
##
##
## With Fonts ##
#apt-get install dialog make automake autoconf libtool glibc* alien odbcinst unixodbc libmotif-common msttcorefonts ttf-mscorefonts-installer numlockx -y
## Without Fonts ##
apt-get install dialog make automake autoconf libtool glibc* alien odbcinst unixodbc libmotif-common numlockx -y
#### Java ####
##
##
echo "Please wait while we prepare to install Java (1.8.0_381)."
sleep 5
##
##
## create destination directory ##
mkdir /usr/java
##
##
### unzip files ###
tar xzvf /home/terminal/Desktop/temp/jre-8u381-linux-x64.tar.gz -C /usr/java/
##
##
### add $JAVA_HOME variable to OS Environment ###
#echo "JAVA_HOME=/usr/java/jre1.8.0_111" >> /etc/environment
echo "JAVA_HOME=/usr/java/jre1.8.0_381" >> /etc/environment
##
##
### Set OS to use new variable ###
source /etc/environment
#### ODBC ####
##
##
echo "Please wait while we prepare to install ODBC."
sleep 5
#
### unzip files ###
##
##
tar xzvf unixODBC-2.3.12.tar.gz
#
### enter directory ###
cd unixODBC-2.3.12
#
### compile and install ###
./configure
make
make install
#
### remove installer files ###
cd /home/terminal/Desktop/temp
rm /home/terminal/Desktop/temp/unixODBC-2.3.12 -rf
#### iAccess Emulator ####
echo "Please wait while we prepare to install the iAccess Emulator."
##
##
## unzip files ##
unzip /home/terminal/Desktop/temp/IBMiAccess_v1r9 -d /home/terminal/Desktop/temp/IBMiAccess_v1r9
##
##
## install 64-bit version of software ##
./IBMiAccess_v1r9/Linux_Application/install_acs_64
##
##
## delete installer files ##
rm /home/terminal/Desktop/temp/IBMiAccess_v1r9 -rf
#### Disable F11 for Fullscreen ####
#echo "Attempting to disable F11 for fullscreen"
### Write and update configuration ###
## Swap Function Mode. 3 is default ##
echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode
#sed -i -e 's/ToggleFullscreen//g' /home/terminal/.config/openbox/lxqt-rc.xml
sed -i -e 's/ToggleFullscreen//g' /home/terminal/.config/openbox/rc.xml
openbox --reconfigure
### Copying configuration templates to locations ###
echo "Copying configuration files to the correct places"
#cp etc-lightdm-lightdm.conf /etc/lightdm/lightdm.conf
cp default.hod /home/terminal/Desktop/default.hod
### Correct the permissions on the HOD file ###
chown terminal:terminal /home/terminal/Desktop/default.hod
# for Ubuntu 18
#cp config-lxsession-Lubuntu-autostart /home/terminal/.config/lxsession/Lubuntu/autostart
# for Ubuntu 24
cp as400-desktop /home/terminal/.config/autostart/AS400.desktop
### Follow up instructions ###
echo "To finish the install, do the following."
echo " - Auto hide the taskbar"
echo " - Reboot"

BIN
jre-8u381-linux-x64.tar.gz Normal file

Binary file not shown.

BIN
refind-bin-0.14.2.zip Normal file

Binary file not shown.

BIN
unixODBC-2.3.12.tar.gz Normal file

Binary file not shown.