Recent

Author Topic: Installing the toc.chm file into "Free Pascal"  (Read 2021 times)

Weosule

  • Newbie
  • Posts: 5
Installing the toc.chm file into "Free Pascal"
« on: February 26, 2019, 04:02:57 pm »
Hello...

I have been trying to install the toc.chm file for Free Pascal but can not find out how to do it. There seems to be plenty of information for Lazarus but nothing else. Could one of you gurus out there give me some blow-by-blow instructions or, at least, a link to a how-to page.

Thank you all,

Weosule

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Installing the toc.chm file into "Free Pascal"
« Reply #1 on: February 26, 2019, 06:24:02 pm »
Do you mean for fp the text-mode IDE? Here it is:
  • Launch fp;
  • In the menu, select: "Help->Files.." (Image: step2); a dialog apears,
  • In this dialog (image: step2a), click the button "New": a file dialog apppears;
  • Navigate, in the file dialog, to:
      /usr/share/lazarus/{version}/docs/chm/
    for example:
      /usr/share/lazarus/1.8.4/docs/chm/
    (image step3)
  • Select toc.chm and click "Open"
  • Done! Click "OK" to end
Follow this same process (steps 3 to 5) to install the other help files.

Important note
The help information is stored in fp.ini; if you want it to persist for all users (you included) you must add it (following the process above) as root* using the default config directory (i.e. answer "No" when the dialog in image "SayNo.png" appears)


* In case you don't know, to launch as root open a terminal and type:
Code: Bash  [Select][+][-]
  1. sudo fp
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

 

TinyPortal © 2005-2018