Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: [emacs] perldoc on windows

by LanX (Saint)
on Mar 23, 2018 at 17:29 UTC ( [id://1211625]=note: print w/replies, xml ) Need Help??


in reply to Re^3: [emacs] perldoc on windows
in thread [emacs] perldoc on windows (update)

so, which pager do you recommend on win?

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^5: [emacs] perldoc on windows
by VinsWorldcom (Prior) on Mar 23, 2018 at 18:03 UTC

    I have Git installed for Windows in a C:\usr\bin\git directory. Then I added C:\usr\bin\git\usr\bin to the path (yes, that path is correct, not a copy/paste error). That directory has all sorts of Unix useful commands without the need for Cygwin - including less.exe for pager.

    Another site is GnuWin32 which has *roff utils. I installed groff in C:\usr\bin\groff and with a simple batch file called 'man.bat', I can get man pages from the source.1 files - which I've put in C:\usr\share\man.

    Why the hell don't I just use Linux!?!?

      > Why the hell don't I just use Linux!?!?

      Ask my employer. :/

      update

      Look Emacs and Perl try heavily to be platform independend.

      There is no reason to have a dependency on man, nroff, sed and awk.

      Anyway there is plenty of legacy code depending on man, and eLisp should be flexible enough to use woman instead.

      (If I had the time I'd produce a pod2info converter)

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Wikisyntax for the Monastery

Re^5: [emacs] perldoc on windows
by BillKSmith (Monsignor) on Mar 23, 2018 at 22:41 UTC
    On some windows systems, I am able to use the gvim editor as a 'pager'. I then have perl-like regexs to search the entire document. When this does not work, I settle for 'more'. Actually, I was hoping that you would mention a better option.
    Bill
      > Actually, I was hoping that you would mention a better option.

      I can certainly use emacs -nw as a pager, but this is becoming somehow circular now! :)

      BTW: my colleagues had problems installing gvim...

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Wikisyntax for the Monastery

        You can get gvim as a portable app, then you need no installation.

        Cheers, Sören

        Créateur des bugs mobiles - let loose once, run everywhere.
        (hooked on the Perl Programming language)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1211625]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-25 14:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found