== Links Web Browser for DOS with TLS 1.2 Community Edition ==
= Overview =
Links for DOS is one of two known web browsers compiled for DOS with TLS v1.2 support [1]. It was tested to run well in vanilla Windows 98, using it's DOS v7.10. Below is a compilation of the most relevant information needed to download, install and run the browser. To keep the thread clean, please avoid posting information unrelated to Links for DOS.
Project homepage.
http://links.twibright.com/
Changelog.
http://links.twibright.com/download/ChangeLog
Online manual, not all applies to running in DOS.
http://links.twibright.com/user_en.html
= Screenshot =
https://upload.wikimedia.org/wikipedia/commons/9/91/Webbrowser_Links.jpg
= Prerequisites =
- Working DOS system
- Basic DOS knowledge
- Functional DOS network [2]
- Software downloads below
= Download =
Download cwsdpmi.exe (21 KB) [3], cwsparam.exe (13 KB) [3] and links-2.25.exe (7.0 MB).
http://links.twibright.com/download/binaries/dos/
Optional DOS mouse driver, test system uses CuteMouse with a traditional PS/2 wired mouse, direct download link below (ctm20a4.zip, 61 KB).
https://sourceforge.net/projects/cutemouse/files/latest/download
= Setup =
Extract downloads as applicable. This example creates a C:\DOS directory with additional subdirectories for all relevant software, modify as desired. Create and place 'cwsdpmi.exe' and 'cwsparam.exe' in C:\DOS\CWSDPMI. Rename 'links-2.25.exe' to DOS-friendly 'LINKS225.EXE' and place it in C:\DOS\LINKS. From the CuteMouse download, only 'CTMOUSE.EXE' is needed, copy it to C:\DOS.
= Configure DOS Environment =
Running Links for DOS with mouse support, the test system requires minimal AUTOEXEC.BAT entries and no CONFIG.SYS entries. DOSKEY is optional in AUTOEXEC.BAT, useful for making DOS navigation easier, unrelated to the browser. Note Windows 98's default CONFIG.SYS file contains entries for HIMEM.SYS and EMM386.EXE. It is IMPORTANT that these be commented out (REM = REMARK), as outlined below. As Links uses CWSDPMI, loading HIMEM.SYS and EMM386.EXE concurrently was found to negatively affect browser performance.
C:\AUTOEXEC.BAT file:
@ECHO OFF
C:\DOS\CTMOUSE.EXE /R2
DOSKEY /INSERT
C:\CONFIG.SYS file:
REM DEVICE=C:\WINDOWS\HIMEM.SYS
REM DEVICE=C:\WINDOWS\EMM386.EXE RAM
= LINKS.BAT =
Create a C:\LINKS.BAT file to load the DOS packet driver and launch Links for DOS. Modify the DOS packet driver entry based on the system utilized. Note Links for DOS needs to be run from a true DOS environment. Do not launch it from Windows or drop to DOS from a Windows session. Instead reboot system into DOS before launching browser. To run Links in text instead of graphic mode remove the '-MODE 1024x768x16M32' snippet, resolution appears to just utilize native DOS rows/columns.
C:\LINKS.BAT file:
@ECHO OFF
CLS
C:\DOS\LNE100\LNE100TX.COM 0x60
C:\DOS\CWSDPMI\CWSDPMI.EXE
LH C:\DOS\LINKS\LINKS225.EXE -MODE 1024x768x16M32 https://lite.duckduckgo.com/lite
= First Run =
Boot to DOS and run C:\LINKS.BAT to launch Links. Based on the configuration above it should load the DuckDuckGo-Lite search engine. Press Escape key or click on the upper screen for the Links menu. Review options and keyboard shortcuts. No special configuration is necessary. Deciding whether to view images is likely the biggest performance factor (View dropdown -> Html options -> Display Images).
= Quicker DHCP Launch =
If the first browser launch resulted in a 'Configuring through BOOTP' delay and then connected via DHCP anyway, create a configuration file named WATTCP.CFG in C:\DOS\LINKS containing the line below [4].
my_ip=dhcp
= Confirm TLS v1.2 Support =
Load the link below to confirm TLS v1.2 support.
https://www.ssllabs.com/ssltest/viewMyClient.html
= Miscellaneous =
Although the notes above configure Links to run in DOS, it can also reportedly be set up to run in a Windows environment using the ethernet adapter's NDIS driver [5].
Although there is no scroll mouse, hold either right or center-click and drag up/down for controlled scrolling. If scrolling is laggy, try changing Setup dropdown -> Video options -> select 'Overwrite screen instead of scrolling it'.
Once familiar with the keyboard shortcuts, Links works almost more efficiently without mouse support, modify configuration as desired. A useful feature is File -> OS Shell, which temporarily drops out of Links to work in DOS, type 'exit' at the DOS prompt to resume the Links session.
END
[1] See also Lynx Web Browser Community Edition for DOS with TLS 1.2.
https://msfn.org/board/topic/182400-lynx-web-browser-community-edition-for-dos-with-tls-12
[2] Review this DOS Networking guide if the system does not yet have a working DOS packet driver. Note mTCP is not required to run Links for DOS as it handles connectivity internally.
https://msfn.org/board/topic/177106-running-vanilla-windows-98-in-2020/page/32/?tab=comments#comment-1187090
For network adapters that do not have a working packet driver, review forum member @Deomsh's NDIS 2 driver guide below.
https://msfn.org/board/topic/181853-links-web-browser-for-dos-with-tls-12-community-edition/?tab=comments#comment-1187234
[3] Alternatively, download the same 'r7 binary distribution' (csdpmi7b-1.zip, 70 KB) of CWSDPMI (Charles W. Sandmann's DOS Protected Mode Interface) from below if documentation is desired.
http://sandmann.dotster.com/cwsdpmi/
[4] More WATTCP configuration information.
http://wiki.freedos.org/wiki/index.php/Networking_FreeDOS_-_WATTCP
[5] To configure Links to run in a Windows environment using the ethernet adapter's NDIS driver see @Deomsh's configuration notes and the discussion that follows.
https://msfn.org/board/topic/181853-links-web-browser-community-edition-for-dos-with-tls-12/page/2/?tab=comments#comment-1187615