-
-
VimDiesel
Title: Unofficial FreeBSD pkgbase repository
-
yuripv
SamuelMarks: looking at string.h, you need __BSD_VISIBLE; but it should be already set in default compilation environment
-
SamuelMarks
yuripv: Define it to what? - This gives an error: /usr/include/sys/limits.h:73:19: error: invalid token at start of a preprocessor expression
-
SamuelMarks
#if __BSD_VISIBLE || __ISO_C_VISIBLE >= 1999
-
» SamuelMarks did `#define __BSD_VISIBLE`
-
yuripv
ah, to something non-zero, the check is #if __BSD_VISIBLE, not #ifdef, so it wants some integer
-
SamuelMarks
ok `1` should do the trick
-
SamuelMarks
Hmm I'm still getting `ld: error: undefined symbol: strnstr`
-
yuripv
compiling on FreeBSD? :)
-
SamuelMarks
yuripv - Yep, here I just pushed it up
cirrus-ci.com/task/6010050590801920
-
VimDiesel
Title: Cirrus CI
-
SamuelMarks
OH wait that actually worked, weird, OpenBSD it didn't
-
xtile
SamuelMarks: I don't need to define anything to use strnstr()
-
xtile
I'm on 13.2-RELEASE
-
xtile
It should be visible by default if you're not messing with things
-
SamuelMarks
I'm having fun: #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \ defined(__bsdi__) || defined(__DragonFly__) || defined(BSD)
-
kenrap
Hello, is the ue network driver able to do 2.5gb speed?
-
parv
I would guess no due to being USB && RealTek being involved
-
parv
s/being//
-
parv
Wait, there is one another manufacturer with name starting with "A"
-
» parv gives up for that might have been a WiFi one
-
kenrap
parv: AX88179 adapter?
-
parv
kenrap, Right, that one. Name is "Asix".
-
kenrap
It seems that many 2.5gb usb ethernet adapters available are rebranded realteks, so that's disappointing.
-
parv
-
VimDiesel
Title: AX88179 USB 3.0 to Gigabit Ethernet | ASIX
-
kenrap
parv: I appreciate the help and insight. I'll look for a pcie adapter instead now.
-
kenrap
I guess the safest to look for would be an intel nic
-
parv
Note that I could only guess. Do not have any experience with the hardware you are looking into
-
parv
Mailling list archive is producing: "Error 503 Backend fetch failed". Is that due to ongoing maintanance or something?
-
fonks
parv: try running a rediculously overclocked RTL8139 /s
-
fonks
wrt 2.5gbps
-
parv
whoosh
-
parv
fonks, ^^No idea about your context
-
fonks
eck, I may have pinged the wrong person
-
fonks
joke is ruined :P
-
fonks
kenrap is who I meant to
-
parv
For shame, fonks!
-
parv
😞
-
fonks
There's a thought experiment though, could an 8139 run at gigabit speeds
-
crzjp
hello everyone, after compiling emacs from ports with changed compile-time options, `pkg upgrade` is trying to upgrade it (28.2_3,3 -> 28.2_4,3). what will happen next? will i lose the compile options and stay with the binary one? or it will compile again to the new version?
-
cpet
crzjp: cant mix and match ports and pkg's
-
cpet
pkgs are compiled with the default compile time options if you need custom pkg's either go all ports opr use poudriere and build your own repo that overrules the default
-
crzjp
cpet: thanks for responding, search for more info found i can `pkg lock` the package so `upgrade` will not touch it. is this a good approach?
-
cpet
personally I would do the poudriere approach
-
cpet
but I wouldnt lock it
-
crzjp
ok, ill take a look
-
cpet
or send in a PR asking for yourtions to be the default
-
cpet
can be anther approach but it's emacs really doubt you actually need to do that
-
crzjp
dunno, the compile option i altered is "--with-nativecomp" (or something like) that permits compiling .el files using libgccjit, there must be a good reason to be off by default
-
cpet
we use clang by default ?
-
crzjp
cpet: sorry but I dont know, I'm new to freebsd system and its userland packages
-
cpet
yeah the base compiler is clang we dont use gcc unless required for whatever reason
-
crzjp
hmm good to know
-
angry_vincent
emacs with nativecomp is exactly reason for gcc, due to JIT. it is just no one upstream tried clang for that, hence the deal
-
crzjp
nice to know too, thank all to the explanation
-
crzjp
ill take a look on the mentioned tools and read some docs
-
crzjp
good night for everyone!
-
dcunit3d_
Demosthenex: i mean nix/guix for defining reproducible systems. more like nixos or guix system i guess
-
Demosthenex
dcunit3d_: ah, yeah, i suggest things like puppet
-
Demosthenex
so i'm troubleshooting a *weird* wifi issue, wireshark shows lots of retransmits and duplicate acks, and ssh behaves *very* poorly, often hanging or disconnecting. then i dropped my mtu in half (1500 -> 800) and though a bit janky, suddenly it's responsive. i drop mtu to 400, and another increase in responsiveness. wtf
-
Demosthenex
yeah, the sweet spot appears about 80
-
Demosthenex
800 :P
-
meena
Demosthenex: which wifi driver?
-
Demosthenex
meena: iwm ?
-
Demosthenex
its weird, i can ping ok, with some variance in RTT, but if i ssh, it stops and hangs up constantly
-
Demosthenex
wireshark shows dupcliate acks, tcp retransmits, etc
-
meena
wild
-
gzar
hello folks, i'd like to ask if someone here has experience with a wacom tablet on fbsd. its doing weird things for me like droping inputs rather randomly and i dont know how to approach fixing it. I suspect dbus or other input busses fighting for priority of some sort
-
Demosthenex
meena: so i dropped the mtu to 800, and... it felt more responsive, further decreases didn't help
-
ns12
Hello, on FreeBSD, are the permissions of socket files irrelevant when a user wants to read/write data through the socket?
-
ns12
Is it the permissions of the socket's directory that matters for controlling reading/writing to the socket?
-
VVD
-
VimDiesel
Title: Named pipe - Wikipedia
-
ns12
VVD: No, I am talking about unix domain sockets.
-
VVD
what is "socket's directory"?
-
ns12
VVD: e.g. in /path/to/the.socket, the "socket's directory" is /path/to/.
-
Kalten
dirname "${socket}"
-
VVD
permissions work same as on files on FS
-
VVD
isn't it?
-
meena
Demosthenex: wanna check bugzilla for existing bugs and report your findings?
-
Demosthenex
meena: i'm not sure it's freebsd. the wifi is laggy, i'm trying to find out why the mtu impacted it
-
Demosthenex
bad side of the house if you will
-
nerozero
hi there, after upgrading 13.1->13.2 i got this message: pkg: Repository MyPudriere has a wrong packagesite, need to re-create database
-
nerozero
nevermind... mistake in url ...
-
sozuba
Is it possible to explicitly block a hardware, specifically GPU, from recieving power? or to run?
-
last1
sozuba: yes, in the bios
-
sozuba
my nios doesn't have such option, I'll check again though
-
sozuba
re-checked, no such option, guess I amjust unlucky
-
acu
Silliest question ever - I want to get into mailing list for current - if I click on that - just a popup comes and nothing else - cant find application to run ---- any advise ?
-
acu
freebsd-current⊙Fo
-
acu
is there a web access to read the discussions
-
debdrup
-
VimDiesel
Title: FreeBSD Mailing lists
-
debdrup
As for opening an application when you click an email; the key word you're looking for is "URI handler" (probably combined with your choice of desktop experience or whatever)
-
wikan
hi :)
-
wikan
i use xsetkb to set keyboard language but I noticed after some time (sleep of monitor) keyboard language resets to defaults
-
wikan
how can I set it permamently or set it automaticaly after sleep?
-
» wikan must lie down
-
acu
debdrup: thanks a bunch --- I was wondering why it is such a gap of communication about the FreeBSD 14 status ---- I think people who take care of freebsd.org could link this
lists.freebsd.org/archives/freebsd-current
-
VimDiesel
Title: freebsd-current⊙Fo
-
ShinyCyril
cross-posting from Matrix: how would I go about debugging an OpenCL lockup? I cannot seem to run `clpeak` without it locking up my card (AMD Vega 11). Using `clover` and `drm-kmod`. Now if I swap `clover` for `pocl` (i.e. doing the work on the CPU) it works fine. This is on 13.2-RELEASE.
-
debdrup
acu: mailing lists have been available on lists.freebsd.org for at least 20 years and is linked from several places (both on the main site, and in addition it's also mentioned in the handbook in the section that specifically talks about updating from source for -current (and -stable)) - so I think maybe it's on you if you somehow missed it.
-
meena
ShinyCyril: what does "lockup" in this context mean?
-
debdrup
ShinyCyril: first step would be to grab the symbols from the kernel-dbg and base-dbg distribution sets and extract them in the root filesystem, then rebuild the relevant ports as described on
wiki.freebsd.org/DebuggingPorts
-
VimDiesel
Title: DebuggingPorts - FreeBSD Wiki
-
debdrup
Even if you could get it to crash rather than lock up (which I take it to mean, it doesn't generate a beep when you hold down more than 6 keys on a keyboard (which is an old trick to generate an NMI which results in beeps), you wouldn't be able to tell what's wrong without debug information.
-
acu
deebdrup: for sure it is me, thanks for the pointer :) I just humbly suggested that this webpage would link to the lists not start your own desktop email application -
freebsd.org/releases/14.0R/schedule
-
VimDiesel
Title: FreeBSD 14.0 Release Process | The FreeBSD Project
-
ShinyCyril
meena: the X session basically locks up. If run from a virtual console then the process becomes totally unresponsive and can't be interrupted.
-
meena
what does dtrace say?
-
RhodiumToad
there's an option for control-T to have it print the kernel stack of the process, that might be worth a try
-
debdrup
acu: that's the release engineering schedule, which doesn't have anything t o do with the -CURRENT branch; by the time something is being handled by the release engineer, it's already well on its way to a -STABLE branch and will become a -RELEASE in time.
-
RhodiumToad
also procstat can print the kernel stack of another process
-
ShinyCyril
it's getting stuck on a _umtx_op:
pastebin.com/ntS14r8v
-
VimDiesel
Title: openat(AT_FDCWD,"/home/mike/.cache/pytools/pdict-v4-pyopencl-invoker-cache-v41-p - Pastebin.com
-
ShinyCyril
the above paste is from a different OpenCL application than clpeak, but symptoms are the same.
-
RhodiumToad
_umtx_op is the back end of the pthread mutex/condvar functions
-
debdrup
acu: also, for what it's worth, those links are there because you're meant to be subscribed to the mailing list (because you can't send to it without being subscribed)
-
yuripv
acu: agreed, i'd expect a list info page link, not mailto link
-
debdrup
Really? I wouldn't.
-
acu
debdrup: thanks, sometimes you want just to read :) I am not using 14 current - though it seem I will ....
-
acu
If I am in 10 mailing lists - my box is flooded - and if I do not have things to say... anyhow thanks again
-
acu
another question ---- is there a graphic depiction of FREEBSD architecture --- something like this
developer.ibm.com/articles/l-linux-kernel ?
-
VimDiesel
Title: IBM Developer
-
acu
I like the figures - the depictions give you such a nice gestalt -
-
ShinyCyril
RhodiumToad: Control-t output seems to line up with dtrace capture from earlier. I will do some digging with the suggestions provided and see if I can get the callstack. I suspect I'm going to be in the guts of the AMD driver though - not sure what hope there is for me.
-
acu
Only someone with deep knowledge and years of presence in FreeBSD can build such an useful graphic depiction of freebsd architecture - which is so fundamental for new comers and aspirational FreeBSdears :)
-
debdrup
There's
nullrouted.org/uploads/freebsdobservabilitytools.svg - which is more meant to give you an overview of what tools can be used to get information out of certain subsystems (though argualy that's more useful).
-
debdrup
Brendan Gregg made that almost a decade ago, I just converted it to a svg at some point.
-
ShinyCyril
that's a great diagram! Brendan Gregg is a fountain of knowledge.
-
acu
very nice - thanks debdrup and brendan - it is a good start - but I like that it mentions tools you can use to dig in :) nice ...
-
acu
I have to print it an pin it on the wall :)
-
debdrup
That's why it's an svg ;)
-
angry_vincent
that is awesome diagram, thx
-
acu
I think the IBM article about linux kernel architecture can be used to make one about FreeBSD - I know all the info is there I assume ---
docs.freebsd.org/en/books/arch-handbook/book/- it just needs someone who knows to put it together ----
-
acu
This article is so well written - even I can understand it :)
developer.ibm.com/articles/l-linux-kernel
-
VimDiesel
Title: IBM Developer
-
acu
It was writen in 2007 - I wonder how valid is today
-
acu
debian released version 12 with kernel 16 I think -
debian.org/News/2023/20230610
-
VimDiesel
Title: Debian -- News -- Debian 12 "bookworm" released
-
acu
It will be interesting how far the split is between Linux and Unix (FreeBSD) ---- comparing Debian 12 with FreeBSD 14 would be an amazing article :)
-
Schamschula
Why does a USB device change from /dev/ttyU0 to /dev/ttyU1 (and back) w/o being unplugged? I have a daemon that hangs if the USB device changes.
-
acu
Slowly, applications written for Linux will be more and more difficult to port to FreeBSD - I assume --- I just see that a new gimmick was included - systemd-resolved... other neurons required :)
-
acu
makes sense why Linus Torvalds does not like distributions :)
-
mewt
Hi, got a quick question about the GELI/root-on-zfs combo in the installer: where are the GELI keys if you want to change your user key? /boot after the system is up does not contain them, and the boot pool's mount point is empty despite the pool showing as mounted
-
RhodiumToad
I believe the installer only sets a password
-
mewt
right, I'm pretty new and ignorant and thought there was no such thing as "only a password" from poking through the manpage. So I can just change it without specifying any keyfile?
-
RhodiumToad
if it's already attached, you can change keyfiles and/or passwords freely
-
mewt
hrm
-
RhodiumToad
but if you set a keyfile, then you have to be careful about whether the boot sequence can get at it early enough
-
RhodiumToad
are you using uefi or legacy boot?
-
mewt
I'm not at all interested in doing so if I can go without, so that's fine. The manpage just made it sound like a master key was a mandatory part of the setup
-
mewt
UEFI
-
RhodiumToad
the master key is mandatory, that's stored (encrypted) on the provider and nowhere else
-
RhodiumToad
there are two slots for storing the encrypted master key, each of which can be encrypted by a different keyfile/password combination
-
RhodiumToad
oh, there is also usually a backup of the provider metadata in /var/backup, which contains the encrypted master key under the user key(s) in effect at the time the backup was made
-
RhodiumToad
but for a root filesystem that's not much use unless you copy them elsewhere :-)
-
mewt
thank you
-
mewt
so just specifying the provider e.g. /dev/nvXpY is enough?
-
RhodiumToad
to change a user key? yes
-
mewt
yep, just want to nuke the old one
-
mewt
alright
-
mewt
I guess I also need to destroy the old copy of the master key once this is confirmed to work
-
mewt
when i look at the associated /dev/blahblah.eli in geli list, is UsedKey the keyslot?
-
mewt
or uh, can I otherwise somehow confirm what keyslots I use on a provider?
-
mewt
hm no
-
RhodiumToad
UsedKey seems to be which slot was used to attach the provider with
-
mewt
ok thanks, looks like all is well now
-
RhodiumToad
huh. looks like geli setkey on a detached provider is broken
-
mewt
huh ok, I found a bug report on that... like so?
bugs.freebsd.org/bugzilla/show_bug.cgi?id=254966
-
VimDiesel
Title: 254966 – geli setkey not working with detached provider
-
RhodiumToad
wonderful, another two-year-old bug not handled
-
meena
with a patch, too!
-
» meena with be at the computer after putting kiddo to sleep
-
RhodiumToad
did you just assign it to geom@ or was that already done?
-
meena
In an hour or eight
-
meena
RhodiumToad: i just set it from new to open (and probably added myself to cc)
-
meena
makes me wonder who geom@ is
-
RhodiumToad
it's a mailing list
-
RhodiumToad
I was wondering why it didn't appear on the twice-monthly list of open bugs, but apparently that only gets bugs marked Open/In progress and not ones marked New
-
RhodiumToad
so thanks for setting it to Open, at least that should make it show up :-)
-
meena
🤦🏻♀️
-
meena
RhodiumToad: does that Patch make sense?
-
meena
I absolutely loathe seeing #if 0 in code
-
RhodiumToad
the patch looks plausible? I haven't looked at the surrounding code in detail
-
meena
I'm trying to, but my focus is kinda hosed
-
meena
loads of new bugs that aren't open / properly assigned
-
RhodiumToad
there also seems to be something wrong with geli setkey's choice of number of rounds of key distribution
-
meena
i don't know posix well enough to know if this is a bug
bugs.freebsd.org/bugzilla/show_bug.cgi?id=271817
-
VimDiesel
Title: 271817 – sed: range change with N results in no output
-
meena
-
VimDiesel
Title: 271843 – ppp can crash due to wrapping subtract in FsmRecvEchoReq()
-
RhodiumToad
that sed one is tricky, I don't think either the actual result or the reporter's "expected" result are correct
-
RhodiumToad
anyone ever wanted/needed a threadsafe way for a process running as root to open a file using the creds of a non-root user?
-
RhodiumToad
there's a bunch of cases in base where programs do that, but only by using seteuid to temporarily switch the whole process's creds
-
meena
RhodiumToad: feels like something you'd be able to do with mac(4)
-
RhodiumToad
I don't think so
-
RhodiumToad
the main case where it comes up is where root needs to read files from a user's $HOME. Due to the vagaries of NFS, it can't assume that it can do that with root's creds
-
yuripv
re: sed, nowadays it's usually "what gnu sed does" (that matches the "expected" output)
-
RhodiumToad
gnu sed is clearly wrong
-
RhodiumToad
here's how the spec interprets it:
-
RhodiumToad
first we read the line "a" into the pattern space and start the first cycle
-
RhodiumToad
the start address of the c command matches, so we then delete the pattern space
-
RhodiumToad
we are not addressing the last line, so the N command appends a newline and the line "b" to the pattern space
-
RhodiumToad
the spec isn't 100% clear what happens next, but on reaching the end of the script, it should write the pattern space, delete it, and start the next cycle.
-
xtile
Wonder how the SysV Unices behave in reality.
-
xtile
Since the standard's usually written to match them.
-
RhodiumToad
I'm not sure why this doesn't write "\nb\n" to the output, unless the pattern space is somehow still being considered as "deleted" thanks to the c command
-
RhodiumToad
anyway, the next thing is that we read the line "c" into the pattern space, it doesn't match /b/ so it gets deleted,
-
RhodiumToad
then we append a newline and "d" and the same happens as at the end of the first cycle
-
RhodiumToad
and again for "e" and "f", but notice that we just read the last line using N
-
RhodiumToad
and at that point we terminate without writing "x" (because the c command never ran on the last line of the input)
-
RhodiumToad
so the only thing I know is wrong is the "expected" output in that report, there is no way to justify that based on the spec
-
meena
RhodiumToad: do you wanna update the bug with your analysis?
-
RhodiumToad
I literally just hit send
-
wildeboskat
I'm just wondering, what's this delay about with FreeBSD 14-RELEASE?
-
wildeboskat
it seems to have been on track since 25 April but then?
-
wildeboskat
-
VimDiesel
Title: FreeBSD 14.0 Release Process | The FreeBSD Project
-
RhodiumToad
wildeboskat: openssl 3.x
-
wildeboskat
Ah ok
-
wildeboskat
Compile problems?
-
V_PauAmma_V
Word on the st... what RhodiumToad said.
-
debdrup
No, updating OpenSSL 1.1.x to 3.0.
-
debdrup
There's a thread on current@ about it.
-
wildeboskat
Ah what's current@?
-
wildeboskat
I'd like to follow it
-
wildeboskat
Good that they update OpenSSL tho
-
debdrup
-
VimDiesel
Title: FreeBSD Mailing lists
-
RhodiumToad
everything that uses openssl, in base and in important ports, has to be updated to allow it to use the openssl 3.x API
-
wildeboskat
Thanks debdrup
-
debdrup
It's a pretty significant amount of work, yeah.
-
wildeboskat
Yeah that sounds like a lot
-
RhodiumToad
but with openssl 1.x going EOL so soon, it's not an optional task
-
wildeboskat
I'm surprised they only decided this at the last moment but ok, it's a good thing to take on board
-
meena
wildeboskat: it's a lot of work, and we've only now gotten a dedicated person on the task
-
wildeboskat
And there's no hurry, 13 works fine :3
-
wildeboskat
I was just wondering what happened
-
meena
Also llvm 15
-
meena
usually emaste would have worked on OpenSSL, but he was also very busy with LLVM integration work
-
RhodiumToad
what's in llvm15?
-
debdrup
It's only 14-CURRENT that gets OpenSSL 3.x.
-
RhodiumToad
(13-stable has llvm15 too, fwiw)
-
debdrup
Err, it's only what'll become 14.0-RELEASE that'll get OpenSSL 3.0*
-
meena
RhodiumToad: i dunno, but loads of ports were failing to build with llvm 15
-
Reinhilde
Conflicting types for dma_buf_stat ?
-
RhodiumToad
looks like it's stricter about warning about integer conversions
-
parv
On console (in vt, 13/stable), why do I not get color in manual page rendered with "env MANCOLOR=1 man man"?
-
parv
Bold & underline or italic rendered text is also misisng
-
RhodiumToad
is it missing in "man man" without messing with the environment?
-
parv
Yes
-
xtile
I don't even get color in xterm, trying it now.
-
parv
FreeBSD VM runs in VirutalBox if that would matter (though I would doubt)
-
parv
TERM is set to "xterm" after log-in; I do not set that anywhere (set "xterm-color" for X11 session). I see root ~/.profile sets that
-
RhodiumToad
does CLICOLOR=1 ls -l get you colorized output?
-
parv
Yes
-
RhodiumToad
what's the output of tput Co ?
-
parv
No success with env TERM=xterm-color MANCOLOR=1 man man
-
parv
RhodiumToad, That prints 8
-
RhodiumToad
and tput AX; echo $?
-
parv
"1"
-
yuripv
looking at man (it's shell script), all MANCOLOR does is modifying the MANPAGER to be `less -sR` (-R to allow ansi color codes)
-
yuripv
something has to output those colors, and mandoc doesn't?
-
parv
my $LESS is '-SsiXR'
-
parv
I see expected colors and/or text with bold (depending on xterm configuration), etc attributes in X11 session on xterm
-
RhodiumToad
when doing what?
-
parv
RhodiumToad, Asking me? Seeing a manual page
-
RhodiumToad
can you give an example of what manual page and what specific text you see in color?
-
parv
Did "man man". "Name" header & name "man" are in green (for bold text); "Synposis", "man" & option names are in green, option values are in yellow (for underline or italic). Screentshot coming up
-
RhodiumToad
what freebsd version?
-
parv
FreeBSD gaia 13.2-STABLE FreeBSD 13.2-STABLE zfs-arc-unit-B-n254945-b6310a2f8eaa INVM-efi amd64
-
yuripv
if it's your xterm configuration, why do you expect vt to follow it?
-
RhodiumToad
vt uses xterm control sequences and termcap entry
-
yuripv
but it does not use xterm configuration
-
RhodiumToad
parv: what do you have in the environment?
-
parv
yuripv, I never did
-
parv
Does "man man" supposed to display a manual page without any bold/italic or colors on vt?
-
RhodiumToad
I have so far failed to display any manpage in color on any terminal
-
parv
Do you get bold or italic or underlined text?
-
RhodiumToad
yes, but note that it's less that renders that, not man
-
parv
Yes, I understand. Here I am getting nothing
-
RhodiumToad
what do you have in the environment
-
parv
env (on vt in zsh):
termbin.com/1syh
-
parv
-
xtile
How interesting.
-
meena
parv: what is your TERM set to under vt?
-
parv
meena, "xterm"
-
RhodiumToad
your colorized prompt works in vt, or not?
-
yuripv
appres XTerm?
-
RhodiumToad
also what's the env when running in xterm
-
parv
RhodiumToad, env in X11 session:
termbin.com/geqp
-
parv
RhodiumToad, Yes colorized prompt produces color on vt
-
RhodiumToad
do you still get colored output from man on xterm if you do env -U TERMCAP man man ?
-
RhodiumToad
er
-
RhodiumToad
do you still get colored output from man on xterm if you do env -u TERMCAP man man ?
-
parv
Ok here is the thing: I need to restart VM in order to see text on vt after switching from Xorg. Will star X11 to show the resources for xterm
-
Reinhilde
don't get uploaded into a pdp-11
-
mewt
oh right, i've been meaning to ask another thing
-
mewt
i have a host where the anope package segfaults for me on start
-
parv
yuripv, I do not have "appres" installed, so Xresources:
termbin.com/6cca
-
parv
RhodiumToad, Re env -u TERMCAP, yes still same colors are produced in xterm
-
mewt
well, i should probably do some more troubleshooting on this first, so disregard
-
RhodiumToad
parv: what's the output of type mandoc
-
parv
RhodiumToad, "mandoc is /usr/bin/mandoc"
-
RhodiumToad
and the output of man -dd man
-
parv
-
RhodiumToad
that's in the vt?
-
parv
No that is in xterm
-
RhodiumToad
where'd that get \less from?
-
parv
That is from $PAGER
-
parv
man -dd output looks similar enough on vt
-
RhodiumToad
I don't see a PAGER in the env you posted for xterm?
-
parv
After "unset PAGER", output of "man -dd" changes to "zcat ... | mandoc | less -s"
-
RhodiumToad
and do you get color in that case if you omit the -dd ?
-
parv
No.
-
RhodiumToad
note that PAGER is ignored if MANCOLOR is set
-
RhodiumToad
with MANCOLOR set, what does man -dd man output on xterm?
-
yuripv
you have the colors set for bold, underline in those resources
-
RhodiumToad
aha.
-
parv
In vt. Seems like I could differentiate between bold & not-bold text with "Terminus BSD Console, size 32" font. After unsetting PAGER (env
termbin.com/ody0), "man man >x " produced escape codes that I see in the editor but cannot differentiate in pager
-
parv
s/could differentiate/could NOT differentiate/
-
grahamperrin
I have 1 for $MANCOLOR but I never managed to get colour. An ELI5 guide would be nice.
-
yuripv
you won't get colors unless you modify mandoc to output them
-
RhodiumToad
redirecting output of man may change the behavior
-
parv
Thank you RhodiumToad, yuripv, meena
-
grahamperrin
(Too much for me to follow here.)
-
RhodiumToad
grahamperrin: as far as I can tell manpages can't actually produce color unless they're using groff, which base system ones don't
-
yuripv
parv: i see bold in vt in vmware vm
-
RhodiumToad
grahamperrin: parv was using an xterm configuration that changes bold/underline to colors
-
grahamperrin
Oh right :-(
-
RhodiumToad
and obviously that doesn't work in vt
-
grahamperrin
I wonder what happened to the project to get better manual pages online.
-
yuripv
no underline though (as well as no italics)
-
RhodiumToad
grahamperrin: you mean the web ones?
-
RhodiumToad
iirc, the web thing was doing something differently to what mandoc's html output does
-
RhodiumToad
(possibly it existed before that mandoc option did)
-
parv
I need to find something that would make those (bold, underline) attributes in a manual page more obvious ...
-
parv
... on console
-
parv
With "MANCOLOR" listed in "man(1)" I thought I should be able to see such. But as RhodiumToad mentioned earlier, that is not to be
-
parv
.oO( Man(!), what a goose chase .. )
-
yuripv
parv: how does it look like for you in vt?
-
grahamperrin
RhodiumToad: it certainly looked very different, more importantly the anchoring was great. I hope it happens.
-
parv
yuripv, All text look the same; cannot identify if some important note easily without a search (found term is shown in reverse-video)
-
yuripv
vbox right?
-
parv
Yes
-
yuripv
also uefi or bios?
-
parv
-
yuripv
yeah, i have the bold text shown as bright
-
yuripv
same terminus font
-
parv
yuripv, UEFI, well "EFI" in VirtualBox settings. /boot/efi is empty on FreeBSD side
-
yuripv
i mean vga, or efifb, or kms driver for vt
-
yuripv
so far for me vmware/efifb/terminus shows bold as bright, no underline/italics
-
parv
The only relevant "vt" or "fb" I see in "dmesg" output is "VT(efifb)"
-
RhodiumToad
the backend for vt shouldn't have much effect on its behavior, afaik
-
RhodiumToad
it's basically manipulating a framebuffer
-
parv
Changed "kern.vt.color.(7|15).rgb" in "/boot/loader.conf" to #f0f0f0 (near bright white) & #f0c0c0 (pinkish) to no difference other than text is now pinkish
-
parv
-
RhodiumToad
you said you had color in vt with ls (with CLICOLOR=1), so color escapes are obviously working, no?
-
parv
RhodiumToad, Yes, color in ls output & shell prompt are visible
-
parv
Now I am just testing if I might have decreased intensity of "bold" text
-
parv
Checked that disabling "allscreens_flags='-f terminus-b32.fnt'" does not produce text of different intensities|colors in "man" output
-
parv
Next is to test disabling "blanktime" ...
-
parv
... nope
-
parv
I give up
-
RhodiumToad
meena: I finished with that sed bug report.