Skip to main content
replaced http://emacs.stackexchange.com/ with https://emacs.stackexchange.com/
Source Link

When I'm logged in to a remote machine in eshell I can still do man ls. But it appears that this only work for my local man pages. If I try man yum I'll get a message that the yum man page is not found. However, if I log into the machine via a regular terminal and use man yum there the manual is shown. Is there a way to get remote man pages showing up when in TRAMP mode? I'd really like that because I'm running OS X locally but frequently log in to linux servers where the utilities have different options etc.

Update: To clarify, here's an example session:

Welcome to the Emacs shell
~ $ cd /ssh:example.com:/
/ssh:example.com:/ $ man yum
#<buffer *Man yum*>

Alright! That's expected. But, regretfully, no *Man yum* buffer is created an these messages appear in *Messages*:

Invoking man yum in the background
Please wait: formatting the yum man page...
yum man page formatted
error in process sentinel: user-error: Can't find the yum manpage
error in process sentinel: Can't find the yum manpage

Update 2: I found out (from a comment on this answerthis answer) that I can invoke the remote man by prefixing with *, so *man yum -- which is an OK work-around. But it just dumps the content in the eshell window, rather than open a new buffer like the man command does. I'd really like that behaviour.

When I'm logged in to a remote machine in eshell I can still do man ls. But it appears that this only work for my local man pages. If I try man yum I'll get a message that the yum man page is not found. However, if I log into the machine via a regular terminal and use man yum there the manual is shown. Is there a way to get remote man pages showing up when in TRAMP mode? I'd really like that because I'm running OS X locally but frequently log in to linux servers where the utilities have different options etc.

Update: To clarify, here's an example session:

Welcome to the Emacs shell
~ $ cd /ssh:example.com:/
/ssh:example.com:/ $ man yum
#<buffer *Man yum*>

Alright! That's expected. But, regretfully, no *Man yum* buffer is created an these messages appear in *Messages*:

Invoking man yum in the background
Please wait: formatting the yum man page...
yum man page formatted
error in process sentinel: user-error: Can't find the yum manpage
error in process sentinel: Can't find the yum manpage

Update 2: I found out (from a comment on this answer) that I can invoke the remote man by prefixing with *, so *man yum -- which is an OK work-around. But it just dumps the content in the eshell window, rather than open a new buffer like the man command does. I'd really like that behaviour.

When I'm logged in to a remote machine in eshell I can still do man ls. But it appears that this only work for my local man pages. If I try man yum I'll get a message that the yum man page is not found. However, if I log into the machine via a regular terminal and use man yum there the manual is shown. Is there a way to get remote man pages showing up when in TRAMP mode? I'd really like that because I'm running OS X locally but frequently log in to linux servers where the utilities have different options etc.

Update: To clarify, here's an example session:

Welcome to the Emacs shell
~ $ cd /ssh:example.com:/
/ssh:example.com:/ $ man yum
#<buffer *Man yum*>

Alright! That's expected. But, regretfully, no *Man yum* buffer is created an these messages appear in *Messages*:

Invoking man yum in the background
Please wait: formatting the yum man page...
yum man page formatted
error in process sentinel: user-error: Can't find the yum manpage
error in process sentinel: Can't find the yum manpage

Update 2: I found out (from a comment on this answer) that I can invoke the remote man by prefixing with *, so *man yum -- which is an OK work-around. But it just dumps the content in the eshell window, rather than open a new buffer like the man command does. I'd really like that behaviour.

added reference
Source Link

When I'm logged in to a remote machine in eshell I can still do man ls. But it appears that this only work for my local man pages. If I try man yum I'll get a message that the yum man page is not found. However, if I log into the machine via a regular terminal and use man yum there the manual is shown. Is there a way to get remote man pages showing up when in TRAMP mode? I'd really like that because I'm running OS X locally but frequently log in to linux servers where the utilities have different options etc.

Update: To clarify, here's an example session:

Welcome to the Emacs shell
~ $ cd /ssh:example.com:/
/ssh:example.com:/ $ man yum
#<buffer *Man yum*>

Alright! That's expected. But, regretfully, no *Man yum* buffer is created an these messages appear in *Messages*:

Invoking man yum in the background
Please wait: formatting the yum man page...
yum man page formatted
error in process sentinel: user-error: Can't find the yum manpage
error in process sentinel: Can't find the yum manpage

Update 2: I found out (but can't find reference nowfrom a comment on this answer) that I can invoke the remote man by prefixing with *, so *man yum -- which is an OK work-around. But it just dumps the content in the eshell window, rather than open a new buffer like the man command does. I'd really like that behaviour.

When I'm logged in to a remote machine in eshell I can still do man ls. But it appears that this only work for my local man pages. If I try man yum I'll get a message that the yum man page is not found. However, if I log into the machine via a regular terminal and use man yum there the manual is shown. Is there a way to get remote man pages showing up when in TRAMP mode? I'd really like that because I'm running OS X locally but frequently log in to linux servers where the utilities have different options etc.

Update: To clarify, here's an example session:

Welcome to the Emacs shell
~ $ cd /ssh:example.com:/
/ssh:example.com:/ $ man yum
#<buffer *Man yum*>

Alright! That's expected. But, regretfully, no *Man yum* buffer is created an these messages appear in *Messages*:

Invoking man yum in the background
Please wait: formatting the yum man page...
yum man page formatted
error in process sentinel: user-error: Can't find the yum manpage
error in process sentinel: Can't find the yum manpage

Update 2: I found out (but can't find reference now) that I can invoke the remote man by prefixing with *, so *man yum -- which is an OK work-around. But it just dumps the content in the eshell window, rather than open a new buffer like the man command does. I'd really like that behaviour.

When I'm logged in to a remote machine in eshell I can still do man ls. But it appears that this only work for my local man pages. If I try man yum I'll get a message that the yum man page is not found. However, if I log into the machine via a regular terminal and use man yum there the manual is shown. Is there a way to get remote man pages showing up when in TRAMP mode? I'd really like that because I'm running OS X locally but frequently log in to linux servers where the utilities have different options etc.

Update: To clarify, here's an example session:

Welcome to the Emacs shell
~ $ cd /ssh:example.com:/
/ssh:example.com:/ $ man yum
#<buffer *Man yum*>

Alright! That's expected. But, regretfully, no *Man yum* buffer is created an these messages appear in *Messages*:

Invoking man yum in the background
Please wait: formatting the yum man page...
yum man page formatted
error in process sentinel: user-error: Can't find the yum manpage
error in process sentinel: Can't find the yum manpage

Update 2: I found out (from a comment on this answer) that I can invoke the remote man by prefixing with *, so *man yum -- which is an OK work-around. But it just dumps the content in the eshell window, rather than open a new buffer like the man command does. I'd really like that behaviour.

added example session for clarity
Source Link

When I'm logged in to a remote machine in eshell I can still do man ls. But it appears that this only work for my local man pages. If I try man yum I'll get a message that the yum man page is not found. However, if I log into the machine via a regular terminal and use man yum there the manual is shown. Is there a way to get remote man pages showing up when in TRAMP mode? I'd really like that because I'm running OS X locally but frequently log in to linux servers where the utilities have different options etc.

Update: To clarify, here's an example session:

Welcome to the Emacs shell
~ $ cd /ssh:example.com:/
/ssh:example.com:/ $ man yum
#<buffer *Man yum*>

Alright! That's expected. But, regretfully, no *Man yum* buffer is created an these messages appear in *Messages*:

Invoking man yum in the background
Please wait: formatting the yum man page...
yum man page formatted
error in process sentinel: user-error: Can't find the yum manpage
error in process sentinel: Can't find the yum manpage

Update 2: I found out (but can't find reference now) that I can invoke the remote man by prefixing with *, so *man yum -- which is an OK work-around. But it just dumps the content in the eshell window, rather than open a new buffer like the man command does. I'd really like that behaviour.

When I'm logged in to a remote machine in eshell I can still do man ls. But it appears that this only work for my local man pages. If I try man yum I'll get a message that the yum man page is not found. However, if I log into the machine via a regular terminal and use man yum there the manual is shown. Is there a way to get remote man pages showing up when in TRAMP mode? I'd really like that because I'm running OS X locally but frequently log in to linux servers where the utilities have different options etc.

When I'm logged in to a remote machine in eshell I can still do man ls. But it appears that this only work for my local man pages. If I try man yum I'll get a message that the yum man page is not found. However, if I log into the machine via a regular terminal and use man yum there the manual is shown. Is there a way to get remote man pages showing up when in TRAMP mode? I'd really like that because I'm running OS X locally but frequently log in to linux servers where the utilities have different options etc.

Update: To clarify, here's an example session:

Welcome to the Emacs shell
~ $ cd /ssh:example.com:/
/ssh:example.com:/ $ man yum
#<buffer *Man yum*>

Alright! That's expected. But, regretfully, no *Man yum* buffer is created an these messages appear in *Messages*:

Invoking man yum in the background
Please wait: formatting the yum man page...
yum man page formatted
error in process sentinel: user-error: Can't find the yum manpage
error in process sentinel: Can't find the yum manpage

Update 2: I found out (but can't find reference now) that I can invoke the remote man by prefixing with *, so *man yum -- which is an OK work-around. But it just dumps the content in the eshell window, rather than open a new buffer like the man command does. I'd really like that behaviour.

Source Link
Loading