Questions tagged [manpage]

Man pages are the documentation pages that come preinstalled with almost all substantial Unix and Unix-like operating systems

https://en.wikipedia.org/wiki/Man_page

486 questions
0
votes
1 answer

Visual Studio Manual Pages For C

What do windows developers do when they need to look up the man page for a typical C function ? For example, say I am writing some C code in Visual Studio and I need to remember the order of arguments and exact behavior of strcpy. Note that I am not…
Colin
  • 2,089
  • 25
  • 34
0
votes
3 answers

How can I get a process to core mapping in C?

What library function can I call to get mapping of processes to cores or given a process id tell me what core it's running on, it ran last time, or scheduled to run. So something like this: core 1: 14232,42323 core 2: 42213,63434,434 core 3: …
theRealWorld
  • 1,188
  • 2
  • 8
  • 23
0
votes
1 answer

How does man.cgi deal with cat vs. mdoc man pages?

I want to start a site with a collection of BSD man-pages, similar to man.cgi, but static HTML, and which includes all the stuff from the ports trees, too. I've tried unpacking man/ from all the OpenBSD packages for a recent release, and I've…
cnst
  • 25,870
  • 6
  • 90
  • 122
0
votes
2 answers

Clearing a terminal similar to man page using C

I want to read a text file and display it. But I need to print it on terminal, similar to the man page (linux). That is, when scrolled up, it shouldn't go beyond the first line and scrolling down shouldn't go beyond the last line. I have to program…
Gomathi
  • 973
  • 7
  • 17
  • 37
0
votes
1 answer

Whenever i open a man page in ubuntu, i see this warning

When I type any command related to man pages I get this. "man: can't set the locale; make sure $LC_* and $LANG are correct" Please help me with this. Thanks
0
votes
1 answer

command exited with status 1: pager -s

I'm running Ubuntu on Android. Everything was fine, now i got a issue, i guess i broke something..But I don't have a clue what it could be. When I try something like $ man something e.g. man grep i get an error man: command exited with status 1:…
Alex
  • 327
  • 5
  • 8
0
votes
2 answers

Why did RVM break my MANPATH on mac osx?

Ever since installing RVM, my manpages are broken. Current versions of man don't use the MANPATH variable, so why is it being set to .rvm/man and why isn't there a full catalog of manpages inside that folder?
Ashley Raiteri
  • 700
  • 8
  • 17
0
votes
2 answers

To fix a bug in Less' command by noting no. of parameters

This question is based on this thread. The code function man() { man "$1" > /tmp/manual; less /tmp/manual } Problem: if I use even one option, the command does not know where is the wanted-manual For instance, man -k find gives me an…
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
0
votes
1 answer

Unable to unbind a shell function

This question is based on the thread. I have the shell function function man() { man "$1" > /tmp/manual; less /tmp/manual } The problem is there exists the command man. How can you replace the command with my command?
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
-1
votes
2 answers

How do I specify troff man page generation & installation using CMake?

I'm trying to switch a Makefile-based build to using CMake. I'm ok with specifying the build of the app itself, but - there's also a man (manual) page, in TROFF format. How do I tell CMake to process it into an installable form (e.g. processing if…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
-1
votes
1 answer

How can I best use a manpage tar ball? (untar + search + read)

During an offiline C programming exam, we only have access to a tarball of the latest man pages (https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/). The man pages installed on the system itself are outdated. Is there a way to replace the…
sueszli
  • 97
  • 9
-1
votes
1 answer

man 7 groff_man - No manual entry for groff

I am wanting to view more information on the Groff Macro Packages through my Man Page viewer. However, when I try to see them, they do not work. ➜ man groff # [...works as expected...] ➜ man 7 groff No manual entry for groff in…
FilBot3
  • 3,460
  • 6
  • 33
  • 55
-1
votes
1 answer

Show MAN formatted file or variable from STDIN in Linux/Darwin / NOT with RST/POD

I have a script with some 'USAGE' function. It echoes the params/args, etc. I know I can create a custom MAN page file, as of ex: .TH man 8 "09 May 2021" "1.0" "myscript man page" .SH NAME myscript \- do some stuff .SH SYNOPSIS myscript [STUFF] .SH…
-1
votes
1 answer

Failed to move to new namespace when open man page in the chromium

I would like to make manpages open in the chromium (from the man -H command), but I get this error: yoline@yolinePC:~$ man -H ls Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation…
yoline
  • 54
  • 1
  • 5
-1
votes
1 answer

what does git man pages [] mean

I am reading the man pages of git-config , you can check it here too. https://www.git-scm.com/docs/git-config/1.8.3 In synopsis , I am unable to understand what does [] mean , I have tried to look into its details of the man pages but…
Aqeel Raza
  • 1,729
  • 4
  • 15
  • 24