lines = """ ./tramp:1:This is tramp, produced by makeinfo version 6.7 from tramp.texi. ./tramp:15:INFO-DIR-SECTION Emacs network features ./tramp:16:START-INFO-DIR-ENTRY ./tramp:19:END-INFO-DIR-ENTRY ./tramp:109:* Connection caching:: Reusing connection related information. ./tramp:110:* Predefined connection information:: ./tramp:111: Setting own connection related information. ./tramp:327:information is not necessary. ./tramp:349: • GNU texinfo 4.6 ./tramp:391: Info manual. ./tramp:393: • Type ‘make install’ to install the TRAMP Lisp files and Info ./tramp:396: • You can remove the byte-compiled Lisp files and the Info manual ./tramp:407: info manual. Just change to directory ‘~/emacs/tramp/texi’ and ./tramp:409: texinfo-format-buffer ’ to generate ./tramp:410: ‘~/emacs/tramp/info/tramp’. ./tramp:419:‘/usr/local/share/emacs/site-lisp’ and ‘/usr/local/info’. You can ./tramp:440:directories Lisp and Info files should be installed. ./tramp:442: For example, to put the Lisp files in ‘$HOME/elisp’ and the Info file ./tramp:443:in ‘$HOME/info’, you would type: ./tramp:445: $ ./configure --with-lispdir=$HOME/elisp --infodir=$HOME/info ./tramp:452: --infodir='C:/Program Files/Emacs/share/info' ./tramp:464:‘make’, or ‘makeinfo’. ./tramp:468:missing or wrong versions of ‘texi2dvi’ or ‘install-info’. Here you can ./tramp:470:(‘tramp.dvi’ file for printed output, TRAMP entry in Info’s ‘dir’ file), ./tramp:538: If the environment variable ‘INFOPATH’ is set, add the directory ./tramp:539:‘~/emacs/tramp/info/’ to it. Else, add the directory to ./tramp:540:‘Info-directory-list’, as follows: ./tramp:542: (add-to-list 'Info-directory-list "~/emacs/tramp/info/") ./tramp:728:* Connection caching:: Reusing connection related information. ./tramp:729:* Predefined connection information:: ./tramp:730: Setting own connection related information. ./tramp:835: see *note Predefined connection information::. ./tramp:1684: A function which parses ‘~/.netrc’ and ‘~/.authinfo’-style files. ./tramp:1717:users. The default authentication file is ‘~/.authinfo.gpg’, but this ./tramp:1741:use your ‘~/.authinfo.gpg’ authentication file, you must customize ./tramp:1744: (customize-set-variable 'ange-ftp-netrc-filename "~/.authinfo.gpg") ./tramp:1770:File: tramp, Node: Connection caching, Next: Predefined connection information, Prev: Password handling, Up: Configuration ./tramp:1772:5.14 Reusing connection related information ./tramp:1791:related information for that host and creates a new entry. ./tramp:1794:File: tramp, Node: Predefined connection information, Next: Remote programs, Prev: Connection caching, Up: Configuration ./tramp:1796:5.15 Setting own connection related information ./tramp:1914:File: tramp, Node: Remote programs, Next: Remote shell setup, Prev: Predefined connection information, Up: Configuration ./tramp:1989:"remote-shell"; see *note Predefined connection information::. If you ./tramp:2034:authorizing access to local authentication information, such as the ssh ./tramp:2220: connection information::). ./tramp:2235:"mount-point", *note Predefined connection information::. Example: ./tramp:2251:*Note Predefined connection information::. All of them are list of ./tramp:2263:"mount-args", *Note Predefined connection information::. ./tramp:2292: Predefined connection information::). ./tramp:2685:‘~/.authinfo.gpg’ authentication file. The user option ./tramp:3042:information::, which must be set to a non-‘nil’ value. Example: ./tramp:3099: connection information::) and connection buffers. ./tramp:3341: TRAMP’s mailing list is the place for more advice and information on ./tramp:3354:Page (https://lists.gnu.org/mailman/listinfo/tramp-devel/). ./tramp:3433: caches remote information about hosts and files. Caching is ./tramp:4359: ASCII without markup, Texinfo input format, LaTeX input format, Binary file ./tramp matches ./dir:2:This is the file .../info/dir, which contains the topmost node of the ./dir:3:Info hierarchy. The first time you invoke Info you start off ./dir:6:File: dir Node: Top This is the top of the INFO tree ./dir:8:The Info Directory ./dir:11: The Info Directory is the top-level menu of major Info topics. ./dir:12: Type "d" in Info to return to the Info Directory. Type "q" to exit Info. ./dir:13: Type "?" for a list of Info commands, or "h" to visit an Info tutorial. ./dir:16: In Emacs Info, you can click mouse button 2 on a menu item """.strip().split("\n") for i in lines: print(i)