-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
man page with colors #33
Comments
Your screenshot looks similar to the one in an earlier issue: #27. Based off the long debug in that thread, this was the solution: https://eless.scripter.co/#example-eless-config-in-bash [don't set |
Hello @kaushalmodi, I am using archlinux and emacs 27 |
hmm.. even then, does |
If that doesn't help, then please provide debug info using the |
No, I get the same result |
|
I am seeing the same value of
.. but you are getting "No man page or info manual detected." So, let's try this.. what do you get when you run the below bash script (it's an excerpt of what I use in #!/usr/bin/env bash
perl --version | grep 'perl.*version'
first_line_piped_data="tclvars(n) Tcl Built-In Commands tclvars(n)"
man_page=$(echo "${first_line_piped_data}" \
| perl -ne '/^([A-Za-z0-9-_]+\([a-z0-9]+\))(?=\s+.*?\1$)/ and print $1' \
| perl -pe 's/bash_builtins/builtins/i' \
| perl -pe 's/xsel\(1x\)/xsel/i' \
| perl -pe 's/^[A-Z0-9-_()]+$/\L$_/' \
|| true)
echo "Man page = ${man_page}" The output I get is:
|
@kaushalmodi, I get this: This is perl 5, version 30, subversion 0 (v5.30.0) built for x86_64-linux-thread-multi
Man page = tclvars(n) |
To what I said in my previous comment:
I see that your |
@arkhan Can you share the first 10 lines of your "piped data file" to a gist or ix.io or just paste it here in a code block while preserving all whitespaces and newlines .. the file path following:
|
Also can you edit your copy of eless and add the below debug line after these lines: Lines 553 to 558 in 0065c3b
.. add debug "man_page = ${man_page}" Run the same command with
instead of pasting the screenshot. |
And finally, can you also paste the output of: /usr/bin/env bash --version Mine is:
|
I recently added few more debug commands to eless. So please update your eless version to the HEAD of the master branch, and paste the output of your eless command with the |
Also, what changed on your system? Earlier you got "No man page or info man detected", and now you get "Man page = tclvars(n)". There was no change with man page detection in the recent eless update. |
.. so it looks like you do not have tclvars in your MANPATH? Does a simple If you try to view arbitrary man pages like:
and for tclvars, if eless is actually trying to do |
Hello great job, I have this issue when man pages contains colors
Thanks
The text was updated successfully, but these errors were encountered: