-
AumShivaya
it is not a usb dongle
-
AumShivaya
it is an actual card!
-
AumShivaya
amazing
-
AumShivaya
-
VimDiesel
Title: PCE-AX3000|Adapters|ASUS Australia
-
debdrup
Normally you find them on Mini-PCIe or M.2 - I have an AX200 which uses the latter interface.
-
debdrup
Intel even make desktop kits where you get a AX200 and a PCIe to M.2 daughterboard.
-
AumShivaya
Mini-PCIe?
-
AumShivaya
you mean, you can get a mini mini?
-
debdrup
Mini-PCIe is the interface that was used in (most) laptops before M.2 was introduced.
-
AumShivaya
I bought it probably four years ago
-
AumShivaya
I have M.2 slot, but it has a SSD in it
-
debdrup
M.2 added keying so you could connect both PCIe and SATA devices.
-
debdrup
U.3 (which I'm hoping will be the next interface), lets you do PCIe, SATA, and SAS over the same connector.
-
AumShivaya
oh well
-
AumShivaya
I cannot get the bluetooth to work
-
AumShivaya
presumably because I do not know how to get firmware to load for pci-e only usb with iwmbtfw
-
debdrup
Yea, I don't believe bluetooth works for iwlwifi yet.
-
debdrup
iwlwifi(4)
-
AumShivaya
back to a dongle?
-
debdrup
At some point I got a handful of USB Ethernet devices that use AX88179, which is a chip that's supported by everything.
-
debdrup
It's a direct USB3 to Gigabit Ethernet PHY/MAC so it can do wirespeed (as USB XHCI is packetized anyway).
-
bcarson
meena: maybe it was, but i still missed it :D
-
AumShivaya
dunno
-
debdrup
There's also a USB-C 3.1 Gen1 to Gigabit Ethernet PHY/MAC from the same company, but I forget the model number.
-
AumShivaya
I have a bluetooth dongle somewhere
-
AumShivaya
not as reliable tho as the pci-e card
-
debdrup
That one does CDC-NCM so uses cdce(4).
-
debdrup
Oops, USB-C 3.2 Gen1*
-
debdrup
Now if ASIX (the company behind them) was _really_ smart, they'd do a USB4PD to SFP+ connector for 10GbaseT.
-
darwin
though I sometimes used FreeBSD UNIX since 1997 (yes, it was actually called UNIX in official documentation then and is still a 'genetic UNIX') I forgot how to see extended partitions in fdisk... I had more experience with DOS & GNU/Linux fdisks...
-
darwin
trying to mount EXT4/Android/BlissOS from some extended partition
-
experemental
p
-
darwin
okay, I should use gpart instead. The drive appears to be nvme0 but 'gpart show nvme0' says 'no such geom'
-
darwin
oh, nvd0
-
darwin
says same for that even though it's what's used in fstab
-
darwin
and mount shows that '/' is currently on that drive
-
darwin
also, how can I check /etc/ttys to make sure (other than me adding more ttys) it's up-to-date?
-
darwin
i was still able to add that to fstab and mount it, but gpart won't show it
-
darwin
it does have a ZFS on one partition which I saw people having problems with 'gpart show'
-
darwin
finally found out it's nda0; so which is correct for fstab: nda0, nvd0, nvme0? Do fstab & gpart really use different defaults?
-
darwin
even with nda0 I still can't show the extended partition
-
darwin
i thought *BSD was still planned/designed/standardized ahead of time, not 'make up as you go along' two instances of the same differently like GNU/Linux does?
-
fikran
Does anyone have a document that explain show to install OpenGrok on FreeBSD?
-
fikran
I can't seem to figure out from google...
-
haroldp
happy new year, bitches.
-
fikran
pretty sure...the opengrok port is broken...
-
crb
I'm a bit surprised my /root/.shrc file isn't executed when I su to root, what am I missing?
-
scoobybejesus
are you on 14.0-release? and did you change the relevant line when upgrading?
-
parv
crb: "su" or "su -"?
-
crb
su and su -m, it looks like su -l will invoke it
-
parv
Yeah "-" is same as "-l"
-
VVD
-
VimDiesel
Title: Scribus 1.6.0 Released – Scribus
-
experemental
eee
-
dvl
ansible users? I'm trying to use a dictionary to populate a bunch of configuration files - However, I'm getting "with_dict expects a dict" - I don't see why the supplied parameter is not a dictionary.
gist.github.com/dlangille/13851af2f8cb6bf028d2ca43e42b5d48
-
VimDiesel
Title: with_dict expects a dict - why is it not a dict? · GitHub
-
dvl
Solution: use loop: "{{ proxy_websites|dict2items }}" or with_dict: "{{ proxy_websites }}"
-
pkubaj
VVD: thanks, but the port i maintain is scribus-devel, which implies a development version
-
pkubaj
now i'm wondering what to do here
-
pkubaj
one thing would be to rename it to just scribus, now that the stable scribus port was removed
-
pkubaj
another would be to just upgrade to 1.7.0 once it's out
-
nimaje
well, scribus-devel seems to be at 1.5.8, so still a reason to update that
-
VVD
pkubaj, you can add scribus with 1.6 and keep scribus-devel for 1.7 branch
-
VVD
anyway we need 1.6 and probably 1.7 in future too
-
librton
bsd neweb here, how can I grant root access to my new box normal user, while freebsd prevents me from using su - root or su -l root
-
nimaje
"In particular, by default only users in the “wheel” group can switch to UID 0 (“root”)." (from man su)
-
librton
any concrete command to try?
-
nimaje
add the user to the wheel group using pw
-
elirco
vigr is also quite nice, if one can control vi
-
nimaje
it respects EDITOR according to its man page
-
elirco
oh, cool, didn't know that since vi is my editor :)
-
voy4g3r2
pw groupmod wheel -m <user>
-
voy4g3r2
so that as root and you will have that user added to the wheel group, which will allow su
-
librton
$ pw group mod wheel -m "username" >> pw: gr_tmp(): Permission denied
-
unixwitch
librton: you need to be root to do that (so log out and log in again as root)
-
librton
pw user add "username" -G wheel >> pw: you must be root
-
librton
unixwitch: that was the main question, how can I become a root when su - root and su -l root are being denied?
-
unixwitch
librton: log out, at the "login:" prompt, type "root" then type your root password. once you've run this command, you will be able to use su instead
-
librton
oh ok
-
librton
ugh, not able to do so, I'm connected via ssh and I don't have a keyboard at the moment ;(
-
unixwitch
in that case you are out of luck unfortunately, you can't log in as root over ssh by default, so you need to log in on the console to add your normal user to wheel
-
librton
ssh not configured to do root access
-
unixwitch
it used to be you could run /usr/bin/login to do this, but that is not setuid anymore, so it doesn't work
-
remiliascarlet
librton: If FreeBSD is installed on a physical hardware or in a VM, access the machine physically. If it's on a VPS, there's a good chance your VPS provider will offer you a web-based console, from where you will be able to login as root.
-
Hello71
unixwitch: doesn't that defeat the purpose of the wheel group
-
unixwitch
Hello71: yeah honestly i don't remember how this worked. i think i only ever used it on systems that didn't restrict su by default anyway...
-
librton
remiliascarlet: physical box, no physical keyboard
-
remiliascarlet
Plug one in then.
-
remiliascarlet
Unless that physical box is from the 1990s or earlier, it'll have a USB port. And USB keyboards can be bought for dirt cheap.
-
unixwitch
presumably a keyboard of some sort was originally attached to install the OS anyway
-
unixwitch
mildly annoying but well, BSD has worked like this forever, so it's just something you learn :-)
-
remiliascarlet
Unless he did so through telepathy.
-
unixwitch
remiliascarlet: i was thinking maybe PXE but it seems unlikely a newbie would install that way
-
unixwitch
updating to python 3.11, wish me luck... [main-default] [2024-01-01_17h19m24s] [balancing_pool] Queued: 291 Built: 0 Failed: 0 Skipped: 0 Ignored: 0 Fetched: 0 Tobuild: 291 Time: 00:00:08
-
remiliascarlet
I've been using Unix-like systems exclusively since the early 1990s, and I still can't understand how PXE works, left alone a newbie.
-
unixwitch
i did a lot of PXE installs of Solaris, but they included a whole bunch of scripts that basically set everything up for you automatically. never tried it with freebsd
-
unixwitch
i did PXE install Windows once, that was actually much easier than i thought it would be. it can even join a domain during install
-
unixwitch
(i can't even remember why i did that, i think i lost my go-to 'install a new OS' usb stick...)
-
unixwitch
... ok bye then
-
morena
people of freebsd, hello ;/
-
morena
what's format of .sh_history that I see some "\12" and similar numbered codes in every history line there?
-
morena
is there a way to get rid of that nonsense and have just histor without that?
-
morena
or do I have setup something wrong that I have that in histfile?
-
librton
alright guys I've figured it out, very simply put used "sudo su -" landed me into root rightaway
-
librton
hura
-
librton
next command is how to update upgrade freebsd package manager
-
unixwitch
librton: sudo isn't installed by default, is that something you added yourself? ... for updating packages, use "pkg update" then "pkg upgrade"
-
librton
unixwitch: it was a month or so ago, I can recall .. I must have fiddled a little "when I had a keyboard"
-
unixwitch
(note that pkg upgrade doesn't restart services, so you may run to either reboot or manually restart things after running it)
-
unixwitch
s/run to/want to
-
librton
No updates needed to update system to 13.1-RELEASE-p9.
-
unixwitch
that's the output from freebsd-update, do you have a question about that?
-
rwp
It would be useful background information for the rest of us to know how this system came to be a bare metal remote machine with FreeBSD installed to this point. It seems that someone else installed it for you and set you up on it? And they partially set it up already?
-
pstef
morena: from what I remember it's a custom format which libedit uses to save history to files and read it from them. For plain-text history I think you'll have to use fc -l
-
rwp
First make sure you are in the wheel group so that your account can upgrade privilege to root later.
-
rwp
To upgrade the base system "freebsd-update fetch" followed by "freebsd-update install" then reboot then "freebsd-update install" again (if needed) then "pkg upgrade".
-
unixwitch
oh, hi pstef. (you commented on my bintrans PR on github)
-
rwp
morena, \012 is octal and the ASCII code for an LF line feed which is the Unix line ending character that is read when one presses Enter.
-
pstef
unixwitch: hi :)
-
rwp
morena, \040 is octal and the ASCII code for an space character.
-
morena
rwp: ye, but it should be and it is unavoidable in histfile?
-
morena
I never saw that in any OS before ;/
-
pstef
it's what libedit does, sorry
-
morena
okay, so at least nothing wrong at my side
-
morena
still interesting that freebsd went this path ;/
-
pstef
Christos did, we only import his library to handle history in /bin/sh
-
morena
oh okay
-
morena
you did not check before how other handle it?
-
pstef
the choice to use libedit was before my involvement with FreeBSD
-
morena
sad, you came late
-
morena
but at least sh is usable and not too raw ;/
-
unixwitch
"Please click on all images of the heaviest animal species" these captchas get more bizarre every day
-
pstef
you can always install another shell from the ports tree
-
morena
rather not, there will be more headache ;/
-
morena
sh feels like it's enough for my simple needs
-
CrtxReavr
It's worthwhile to install what's comfortable.
-
unixwitch
i think the only options here are libreadline (GPL), libedit, and libtesla, and for whatever reason libedit was chosen to be imported. possibly tesla didn't exist at the time
-
CrtxReavr
Kinda like spending the money on a good keyboard, 'cept the software is free.
-
unixwitch
(and obviously libreadline is not an option because of the license)
-
unixwitch
i actually can't remember if libedit was important, or if it originated in freebsd and was exported after, like libarchive
-
unixwitch
s/important/imported
-
morena
will see if something will not start write binary into my home soon ;/
-
unixwitch
morena: it's not *that* hard to parse some \escapes really, is it?
-
pstef
and still you have fc -l
-
morena
no it's not, luckily other software does not write that kind of nonsense into config files na similar ;/
-
unixwitch
think of it as a database (of history entries) rather than a config file
-
morena
ye, there are many solution obviously, it just feels to me wrong to be there
-
unixwitch
at least it's not sqlite :-)
-
morena
oh ye ;/
-
pstef
sqlite would have made it possible to store multiple sh sessions properly
-
morena
unixwitch please don't encourage him
-
unixwitch
pstef: but it would break if /home is on a 9p filesystem since sqlite really likes mmap
-
unixwitch
well, i guess freebsd doesn't have a 9p client anyway. but if it did...
-
pstef
-
VimDiesel
Title: ⚙ D41844 Add an implementation of the 9P filesystem
-
unixwitch
oh... is this in current? i should investigate this
-
unixwitch
ok no it's not, i guess it was reviewed but not actually merged yet
-
unixwitch
this would be really nice for sharing files with bhyve guests though
-
pstef
I believe that's the primary motivation for this diff
-
kevans
dfr's is going to be the most up-to-date version, even
-
unixwitch
well i subscribed, once it gets merged i will probably be motivated to work out what's broken multimedia/jellyfin so i can move my media server vm to freebsd
-
zagorkarabela
hi. why this not works? see paste:
ctxt.io/2/AADQWwA4FQ
-
VimDiesel
Title: Context – share whatever you see with others in seconds
-
zagorkarabela
gorkarabela has joined
-
zagorkarabela
Z
-
zagorkarabela
zagorkarabela 21:27:47
-
zagorkarabela
hi. why this not works? see paste:
ctxt.io/2/AADQWwA4FQ
-
zagorkarabela
button event works but axis event not works. cursor cant move.
-
zagorkarabela
have synaptic toucpad and try this on pure X11.
-
VimDiesel
Title: Context – share whatever you see with others in seconds
-
zagorkarabela
atkbd keyboards works btw.
-
zagorkarabela
generic kernel btw
-
zagorkarabela
happy new yer btw
-
zagorkarabela
on linux it sends absolute axis events. I am using Xorg server nor wayland
-
zagorkarabela
freebsd handbook says Xorg auto{detech/configure} input devices no need for manual xorg.conf
-
zagorkarabela
this no config approach use catch-all semantic under /dev/input and seen unrelated devices as input devices say lid swich. So i have to resort manual xorg.conf
-
zagorkarabela
Is linuxkpi/mesa-dri mandatory for regular aps(not games) in xorg-server case? I am try to keep away dependency hell So have a look to xorg to see whats the stuation.
-
zagorkarabela
say firefox, pcmanfm
-
unixwitch
meena: do you know the right person to annoy to get my ports PRs landed?
-
jbo
unixwitch, which PRs would that be?
-
jbo
unixwitch, if you have maintainer-approval+ or timeout I can help.
-
unixwitch
jbo: 275944, 275945, 275947, 275959, 275962. not maintainer-timeout, these are new ports
-
jbo
unixwitch, I can grab them, but I am still under mentorship so I need to get an extra round of approval from my maintainers before I can push the commits - does that suite you or do you need an ASAP solution?
-
unixwitch
jbo: ASAP is not required at all, it's just (mildly) annoying me that i need to update them by hand after a poudriere run :-)
-
unixwitch
jbo: as no one else seems to be picking them up i would be very grafeful if you did
-
rwp
morena, To me this feels not like an OS thing but like an sh implementation thing. All of the shells save history in their own format. bash, ksh, zsh, all have unique history formats. sh having a unique history format seems like an sh thing not an OS thing. Just like the other shells.
-
jbo
unixwitch, done
-
jbo
unixwitch, expect little progress until next week starts. stuff movies slowly at the beginning of the year.
-
unixwitch
jbo: thanks!
-
unixwitch
yeah no worries
-
jbo
I'll do my part of the work the next few days. probably gonna take two to three days based on my current mentor's load.
-
rwp
morena, I don't know why anyone would care how the sh saves its history format because I think "history" or "fc" should be used to read it anyway.
-
rwp
I guess I have "history" set as an alias to "fc -l".
-
unixwitch
jbo: note (if you didn't already see) some of these have interdependencies, mainly audio/sublime-music (#275959) depends on the other py-* ports
-
meena
unixwitch: if i don't have someone like jbo jumping in, i join #bsdports on EFnet, and/or #freebsd-ports and post my (or other #freebsd-bugs ) issues there
-
jbo
unixwitch, I still feel like bugzilla is having non-intuitive ways of labling blocks/depends-on :D
-
unixwitch
unrelatedly, i think i'm misunderstanding something about ports or poudriere. i set DEFAULT_VERSIONS+=python=3.11, did a poudriere bulk, it rebuilt ~300 packages... but it didn't build a python311 package?
-
jbo
#freebsd-ports +1
-
unixwitch
-
VimDiesel
Title: Dependency tree for
Bug 275959
-
VimDiesel
275959 – [NEW PORT] audio/sublime-music: GTK3 desktop client for Subsonic-compatible music streaming servers
bugs.freebsd.org/bugzilla/show_bug.cgi?id=275959
-
unixwitch
meena: this reminds me, i mean to ask if #bsdcode is still around, it's been so long i can't remember the key
-
CrtxReavr
key?
-
unixwitch
the key (password) to join the channel
-
CrtxReavr
AFAIK, #bsdcode on EFnet has never had a key.
-
meena
unixwitch: it's around, open, and very dead
-
morena
rwp: no idea, somehow after decades I first time see some software throwed at my home some hexa or whatever codes into plain text ascii file
-
unixwitch
hmm, really? maybe i'm misremembering, i'm sure it used to have a key
-
unixwitch
(this was back in like freebsd 3.x days)
-
morena
rwp: nothing critical, just first time experienced, so was not sure as online search did not tell much
-
CrtxReavr
Maybe in the 3.x days. . . . was prolly the 4.x or 5.x that I first had any reason to be in there.
-
unixwitch
i remember someone (does anyone remember who?) talking about the super-secret new "HAMMER" platform they were porting the kernel to... which nowadays we call amd64
-
» CrtxReavr is still amused that AMD beat into to the 64-bit x86 punch (and set the standard to it).
-
CrtxReavr
s/into/Intel
-
unixwitch
i'm conflicted about that, i thought Itanium was nicer for getting rid of the legacy stuff, but it was basically a terrible platform because of how difficult it turned out to be to write the compiler
-
CrtxReavr
ARM is strongly predicted to degrade Intel further.
-
unixwitch
they fixed that for Itanium 2, but by then everyone was using amd64 and it was too late...
-
CrtxReavr
Itanic was. . . very problematic and slow.
-
unixwitch
all else being equal, i think we'd be in a better place today if people had adopted Itanium (2) rather than amd64, but it's pretty obvious why that didn't happen
-
CrtxReavr
I had a rack full of prototype Dell IA64 servers.
-
CrtxReavr
Well, $job did, but I was the only one interested in playing with them.
-
CrtxReavr
We were a huge Dell shop.
-
unixwitch
i was fairly involved in OpenVMS at the time so i remember all the HP systems that used it
-
unixwitch
HP basically sustained Itanium for 20 years on life-support because of their investment into it
-
CrtxReavr
At that time, the only HP systems I messed with were PA-RISC.
-
CrtxReavr
And not in large numbers.
-
unixwitch
Itanium was supposed to replace PA-RISC and Alpha and be a unified platform for all their systems
-
CrtxReavr
We had a CTO who was the project manager for the Alpha at DEC. . . he had some interesting perspective on it.
-
unixwitch
PA-RISC was fun too though, it had no atomics at all except for a 'set 0/1 at memory address' so all the atomics used an array of pthread_mutexes
-
CrtxReavr
Everyone blamed Compaq for Alpha's demise, but DEC knew before they sold it, that Compaq was buying a moldy turd.
-
unixwitch
you'd index the array by address of the variable and lock it to do an 'atomic' update...
-
unixwitch
CrtxReavr: everyone hated the HPaq merged but in hindsight, it probably saved HP, since nowadays all they sell is x86 servers
-
unixwitch
s/merged/merger
-
CrtxReavr
Well. . . Compaq sold solid, reliable (perhaps pricy & over-engineered) x86 machines. . . whereas HP sold utter shit.
-
unixwitch
(... which are just rebranded Compaq servers, they abandoned their own product line)
-
mane
no clue why my vlepy.com wont respond to icmp
-
CrtxReavr
HP could never escape their ~20% DOA rate.
-
CrtxReavr
Even on top of the line, HP 9000 PA-RISC servers.
-
unixwitch
mane: we have no clue either, you probably need to provide more information. like, is that system running a firewall?
-
mane
pf
-
unixwitch
show pf.conf and also 'ifconfig -a'
-
mane
-
VimDiesel
Title: debian Pastezone
-
mane
unixwitch and this is ifconfig
paste.debian.net/1302706
-
VimDiesel
Title: debian Pastezone
-
unixwitch
mane: well you don't have a pass in rule for icmp which probably explains it
-
meena
wasn't Itanium the… spiritual successor of the Alpha?
-
CrtxReavr
meena, not sure what would make you think that.
-
unixwitch
meena: err... maybe? it was a completely different design and had almost nothing in common with Alpha aside from being RISC...
-
unixwitch
it was the successor in the sense that DEC (after they became HP) switched to Itanium but that was more of a marketing concern
-
mane
unixwitch ok got it
-
meena
ah
-
CrtxReavr
DEC knew from the start that the Alpha was a design fluke, and that they'd never be able to make it keep pace with Moore's law.
-
unixwitch
mane:
-
unixwitch
PING vlepy.com (176.56.237.86): 56 data bytes
-
unixwitch
64 bytes from 176.56.237.86: icmp_seq=0 ttl=53 time=56.880 ms
-
unixwitch
works now
-
mane
yeah i just set a in rule in pf
-
mane
thanks
-
mane
i switched to fbsd after 10 years of using debian :DD
-
CrtxReavr
mane, also. . . the SMTP(s) server in your MX record doesn't connect - just times out.
-
mane
ok
-
rwp
morena, By my thinking sh even having a history just feels strange. It never had a history file before. So whatever it has now is new and how it does it has no legacy compatibility issues.
-
unixwitch
rwp: i assume this was part of the "make /bin/sh not suck" project which lead to changing root's shell to /bin/sh
-
rwp
csh had a history file. ksh had a history file. bash has a history file. zsh has a history file. But sh never had one before. I realize people like it but then since it is new there is no reason for it to be any particular format.
-
pstef
there wasn't a project, a few people felt annoyed with the default shell but at the same time refused to switch to tcsh, me included
-
» CrtxReavr shrugs.
-
CrtxReavr
I set my user to bash and 'sudo -s' lets me keep my shell, so. . . win win.
-
rwp
unixwitch, My problem with "make sh not suck" is that it is still not as good as other shells by a lot so it's going to be too little too late for me regardless of what is there.
-
pstef
so trasz did some prompt stuff, bapt enabled history, I wrote program name completion, etc.
-
unixwitch
pstef: 'project' might be the wrong word, but weren't there a bunch of commits made in order to justify the change?
-
pstef
bapt also made other changes beside history, like emacs bindings
-
unixwitch
rwp: sure but how often do you actually log in as root? i'm just happy that 2>&1 works and i don't have to (re)learn csh which i hate whenever i log in as root
-
CrtxReavr
eww
-
CrtxReavr
I thought all emacs users were required to use zsh and OhMyZsh.
-
parv
Re sh, more importantly vi-bindings!
-
CrtxReavr
The trifecta. .
-
pstef
it's not about emacs users, for example I'm not one
-
» meena is happy with (t)csh as root's shell
-
rwp
I am always doing things so probably I log in as root more often than most people. I set up toor for my own use leaving root defaulting to only things in base.
-
unixwitch
i am always doing things but i use sudo -s...
-
pstef
but ctrl+left and ctrl+right jumping between words is pretty much the standard everywhere except places that want to be original
-
jbo
CrtxReavr, vim + zsh user here :D
-
nimaje
wait, aren't vi and emacs bindings required by posix for /bin/sh?
-
parv
/bin/sh is not POSIX
-
CrtxReavr
nimaje, what about OhMyZsh?
-
parv
See: local, pipefail
-
CrtxReavr
parv, sure it is.
-
» unixwitch hopes this change will be followed by removing /bin/csh from source :-D </troll>
-
nimaje
CrtxReavr: why would I look at that shit?
-
CrtxReavr
1975 called. They want their shell back.
-
unixwitch
(i mean... everyone uses tcsh nowadays anyway right? so there's no reason to ship /bin/csh)
-
rwp
csh was the ultimate paper printing terminal and mostly became obsolete when the CRT terminal arrived.
-
meena
unixwitch: it's been moved to their own PkgBase package, so if you're using PkgBase you can just not install it
-
rwp
For the last twenty years csh has been a flavor of tcsh source.
-
unixwitch
meena: i look forward to stable pkgbase appearing in FreeBSD 24.1
-
CrtxReavr
138847 -r-xr-xr-x 2 root wheel 425456 Aug 2 21:12 /bin/csh
-
CrtxReavr
138847 -r-xr-xr-x 2 root wheel 425456 Aug 2 21:12 /bin/tcsh
-
parv
unixwitch, ;->
-
rwp
There is no separate standalone csh that is not also tcsh.
-
meena
unixwitch: I'm hoping for 16 or 19
-
CrtxReavr
They may behave slightly differently, depending on which name they're invoked as.
-
CrtxReavr
Not sure I would notice though.
-
meena
nah
-
rwp
There are still some very large tech companies (I am looking at you Intel) where the lab still is mostly csh throughout. It's crazy.
-
unixwitch
tbh i don't even want pkgbase because i am always doing 'cd /src/main/usr.bin/foo; make install' and i guess pkg doesn't like that
-
meena
that's not been the case for years now
-
CrtxReavr
AT&T banned all bash and bourne shell usage, because of one quickly patched bug.
-
meena
you can't use csh for scripting tho…
-
unixwitch
you can you just shouldn't
-
rwp
You _can_ use csh for scripting, but you never should.
-
CrtxReavr
Well, you can. . . if you like really shitty scripts.
-
» rwp laughs that everyone has the same idea on that!
-
meena
you can't even have functions
-
unixwitch
:D
-
rwp
I just killed three ancient csh scripts rewriting them in portable shell for a client just two weeks ago! They are still out there. Hiding in the weeds.
-
unixwitch
i have no sympathy for csh users, i learnt Unix in the 90s and even then everyone said not to use csh
-
parv
rwp++
-
pstef
the client?
-
rwp
One of my clients with a long legacy installation.
-
rwp
I wanted to say that I am an emacs user and don't use zsh nor do I even like it, zsh is just too weird for me. But it is okay with me if other people like it. Just not me.
-
jbo
at least zsh is "POSIX compatible"
-
unixwitch
when we only had /bin/sh or zsh, zsh was a shit. i understand people using bash nowadays though, it's improved a lot
-
jbo
csh is just no.
-
unixwitch
s/a shit/the shit/
-
morena
to be honest I never heard somebody use csh
-
unixwitch
zsh was like, it had all of csh's feature, but it didn't suck
-
unixwitch
so why would you use csh instead of zsh?
-
rwp
I use bash but honestly I don't like a lot of things about bash and I never write bash scripts, I write portable shell scripts, but I haven't found a shell I like better for the command line. I dream of eventually writing my own so it would be the way I like things to be.
-
unixwitch
NeXT even made it the default shell, iirc
-
pstef
the FreeBSD guide used tcsh syntax in a few places, but sh syntax in all others
-
parv
History recall of multi-line command is atrocious in bash 4.x compared to zsh, where each line gets its own history instead of one-complete block
-
rwp
When /bin/sh was the original shell it made sense to use csh for root's shell so everything was in base.
-
unixwitch
i've been trying shells/fish recently which i have to say i'm actually quite enjoying so far
-
parv
... at least in vi-mode.
-
unixwitch
rwp: it really didn't. System V kept root's shell as /bin/sh. BSD only made it /bin/csh because they were precious about /bin/csh being a special 'better' BSD thing
-
parv
... if not for that, I would still be using bash instead of zsh
-
rwp
I actually use the multi-line conversion to single line behavior a few times to turn a multi-line script into a command line one-liner. (shrug)
-
rwp
unixwitch, I meant in FreeBSD. Right. I spent years on HP-UX at work and it is System V and always had root's shell either /bin/sh or later /bin/ksh
-
pstef
just until recently, FreeBSD sh would print an actual tab when you hit the tab key, and not print a newline when you hit ^D
-
unixwitch
yeah ksh was alright
-
unixwitch
did freebsd ever get any ksh in base?
-
rwp
I blame Sun for some badness though because their /bin/sh was the old Bourne shell and the POSIX shell the put in /usr/xpg4/bin/sh which is the reason #!/bin/sh is not written into the standards and that is going to haunt us forever when it comes to portability.
-
unixwitch
guess not fish: Unknown command: ksh
-
daemon
20:00, <unixwitch> so why would you use csh instead of zsh? -> I always grown up with the warrent that it did not matter if it was (t)csh or sh but the indeed as long as root always was a base system shell
-
daemon
so you could login no matter what
-
daemon
toor from the older years was always bound to /bin/sh for that very reason I believe
-
meena
unixwitch: i love fish. mostly because I'm dyslexic* and also, because sh derivates are painfully inconsistent, and my brain can't keep remembering all that garbage
-
rwp
With other systems going through UsrMerge right now I am seeing all kinds of crazy things such as "#!/usr/bin/sh" (gack!) and now the crazy "#!/usr/bin/env sh" is feeling less crazy now.
-
unixwitch
daemon: yeah i agree with that. i meant more for a user shell. if you login in as root and have to type 'zsh' to get a nice shell that's fine
-
unixwitch
daemon: i just don't see why anyone would keep using (t)csh after zsh existed.
-
pstef
I just discovered that current sh only stores 100 items in its command history by default, you have to specifically set HISTSIZE. And that our new history alias should have been 'fc -l 0'
-
daemon
zsh for tmux for the god combo but yeah
-
parv
meena, Does fish not deviate how it works wrt other shells?
-
daemon
s/for/plus/
-
unixwitch
parv: it's not a POSIX-compliant /bin/sh if that's what you mean. but it doesn't claim to be
-
nimaje
parv: posix doesn't disallow extensions, but yes our sh isn't posix (see '-c'
bug 274650), sometimes it's better to break portability than have users produce broken code by accident (well, still easy in sh, just use zsh)
-
VimDiesel
-
meena
-
VimDiesel
Title: fish shell
-
daemon
I still quite like tcsh's default history completuin
-
daemon
completion*
-
meena
"Finally, a command line shell for the 90s"
-
unixwitch
the only thing i don't like about fish is i can't work out what the equivalent to !* is
-
unixwitch
this is probably buried in the docs somewhere...
-
meena
what is !*
-
unixwitch
$ badecho foo bad baz
-
unixwitch
zsh: command not found: badecho
-
unixwitch
$ echo !*
-
unixwitch
echo foo bad baz
-
unixwitch
foo bad baz
-
unixwitch
it's the arguments from the previous history entry without the command itself
-
meena
ah, no idea
-
unixwitch
it also doesn't seem to implement ^foo^bar history substitution but i find i don't use that very much nowdays so i can live with it
-
daemon
could easily hack a quick command in perl to replace it
-
unixwitch
daemon: i am mildly disturbed about this suggestion
-
daemon
its what it was made for ;)
-
unixwitch
i was so happy when perl was removed from base
-
unixwitch
no happy memories about that at all
-
daemon
if you have zsh, tmux, nginx etc; you very likely have it anyway
-
unixwitch
i do have it but i dream of one day submitting enough patches that i don't
-
daemon
openssl reuires it to build still ;)
-
unixwitch
that isn't much of a recommendation :-D
-
unixwitch
does libressl need perl?
-
daemon
good question not actually sure lets see
-
nimaje
ah, shit, why would xorg be removed if I removed perl? even xorg-server and xorg-drivers, not just the metapackage
-
unixwitch
meena: omg fish doesn't have an irc channel it has a matrix channel. this is so terrible
-
daemon
perl is involved in a lot of build or make files
-
daemon
could be worse; could be slack
-
unixwitch
nimaje: turns out perl is fricking everywhere
bsd.to/MNaR
-
VimDiesel
Title: dpaste/MNaR (Plain Code)
-
unixwitch
like a virus
-
daemon
-
daemon
;
-
VimDiesel
Title: 224: Lisp - explain xkcd
-
daemon
;)
-
unixwitch
wait, why do i even have xf86-video-scfb installed?
-
nimaje
219 packages that would get removed for me
-
daemon
-
VimDiesel
Title: FreshPorts -- security/libressl: Free version of the SSL/TLS protocol forked from OpenSSL
-
parv
There had been efforts to replace Perl with awk+sed in The Ports. Someone(s) offended enough just need to extend that to other projects.
-
nimaje
unixwitch: because of xorg metapackage?
-
unixwitch
nimaje: yeah but i thought i changed the options. i think this was an orphan...
-
nimaje
pkg autoremove ?
-
unixwitch
i dislike pkg autoremove because (ime) it keeps trying to remove things like ca_root_nss
-
nimaje
then mark it as manual via pkg set
-
unixwitch
i know that, but i still don't trust it because if it removed that what else will it remove?
-
unixwitch
although actually this reminds me of something i wanted to ask. what X.org packages do you need for Wayland? it seems like Wayland compositors still depend on X keyboard layouts, for example...
-
parv
"pkg-autremove" prints the list of things to be removed & prompts. Unless one mindlessly says "yes", as I once did.
-
unixwitch
i know. my point was i don't want to blindly accept what pkg autoremove tells me to remove.
-
nimaje
stuff you installed via tranistive dependencies and throught you installed manually, but it will show you what it would remove and ask you if it should continue with that, so check that again and mark stuff you missed as manually
-
unixwitch
it's also awkward because i have some packages installed via 'make install' from ports i maintain which haven't been merged yet
-
nimaje
hm, but these packages should be properly registered in the database or do you mean build dependencies?
-
rtprio
hello
-
unixwitch
nimaje: yeah but they still show up in pkg autoremove if they're build depends
-
meena
unixwitch: if pkg autoremove is removing things it shouldn't, you should submit it as bug
-
unixwitch
well i did a pkg remove xorg, pkg autoremove, and restarted Wayland and everything seems to be working
-
unixwitch
meena: it's probably not a bug, but i found it odd at least in the case of ca_nss_root since i thought curl depended on that
-
unixwitch
ca_root_nss rather
-
nimaje
-
VimDiesel
Title: ports - FreeBSD ports tree
-
unixwitch
i mailed the person listed as MODULE_AUTHOR in the Linux driver for alc(4) and they replied to say "I have neither documentation nor any knowledge about these chips, if I made any modifications to their driver it was incidental to wireless stack work." which alright, understandable, but then why are they listed as the author?!
-
rtprio
indeed
-
meena
what does git history say?
-
unixwitch
meena: do you want really me to clone linux.git, this is going to take months
-
unixwitch
although it's not a bad suggestion actually
-
unixwitch
so maybe i'll try that
-
meena
nah
-
meena
just go on Github, and press the blame button
-
unixwitch
oh clever
-
meena
lazy
-
» meena points at her laptop over in the corner
-
unixwitch
i'm 100% sure i will fibre to my desktop and switch alc(4) for ixgbe(4) before i actually fix this alc bug
-
meena
if it's something i can do on my phone, I'm not getting up for, and I'm certainly not downloading six gigabytes of history for one file
-
unixwitch
i might just submit a PR to disable MSI-X on Killer Ethernet by default on the basis that working slower is better than not working at all for new users
-
» meena stopped drinking eleven years ago, so no alc(4) for her
-
CrtxReavr
I have to be pedantic. . .
-
CrtxReavr
It's only spelled "fibre" in the case of "fibre channel."
-
unixwitch
CrtxReavr: i am british, we spell it 'fibre' here
-
unixwitch
fibreboard, fibre ethernet, fibre channel
-
CrtxReavr
All other forms of fiber optic cable are "fiber," Britishisms be damned.
-
unixwitch
CrtxReavr: also, how do you know that i don't intend to run Fibre Channel to my desktop and use IPoFC?
-
unixwitch
i mean, i'm not going to do this because it would be silly. but *you don't know*!
-
CrtxReavr
I've not heard of IPoFC, though I'm sure it exits somewhere. . .
-
unixwitch
i actually don't think freebsd has a driver for this. Solaris users liked it
-
CrtxReavr
However, I very much doubt it has any useful utility.
-
unixwitch
probably because 8-16Gb/s FC was cheaper than 10Gbps Ethernet at one point
-
rtprio
ip over fiberchannel?
-
unixwitch
yes
-
CrtxReavr
I have a very hard time believing that.
-
CrtxReavr
Since I worked for EMC when 10 Gbit ethernet was coming of age, and we were also a huge Solaris shop.
-
unixwitch
-
VimDiesel
Title: Configuring IPFC SAN Devices - Oracle Solaris Administration: SAN Configuration and Multipathing
-
meena
is FC lower latency than ethernet?
-
CrtxReavr
And we tried and added NAS and SAN storage protocols, like it was going out of style.
-
unixwitch
meena: i am not an FC expert but i would imagine not. FC switches use the same basic technology as Ethernet switches.
-
CrtxReavr
I doubt it. . since ethernet uses six byte hardware addresses and FC's WWINs are. . . huge in comparison. . . and they're both very low-level protocols.
-
unixwitch
FC itself was sort of a layer 2 protocol but IP is L3 and relies on the L2 transport by definition...
-
unixwitch
i'm pretty sure the reason was that back when servers came with 1Gbps Ethernet as standard, they often included 4/8/16Gbps FC HBAs and some people wanted to use those
-
CrtxReavr
When did Oracle acquire Sun?
-
unixwitch
err, 2004? ish?
-
jgh
more like 7 or 8
-
unixwitch
oh, 2010, according to Wikipedia. wow, was it that late?
-
unixwitch
announced 2009, finalised 2010
-
CrtxReavr
I was never a solaris fan, though I had to support it a lot. . . who'd have thought Oracle would make it worse.
-
CrtxReavr
(Don't answer that.)
-
meena
during my first job, which was Solaris
-
meena
We didn't like the result
-
unixwitch
i only use FreeBSD because Oracle killed OpenSolaris
-
meena
hahahaha
-
unixwitch
if they hadn't i'd still be using it, it's the most perfect Unix in my opinion
-
meena
ooooof
-
CrtxReavr
I was most pissed when Oracle acquired Xsigo.
-
meena
I came to FreeBSD via the ASF, but stuck to it thanks to Solaris
-
CrtxReavr
That was awesome technology. . . and Oracle fucked it all up.
-
unixwitch
meena: one day i am going to write dladm(1m) for freebsd and submit it as a PR
-
unixwitch
imagine being able to configure network interfaces and having the live config *and* the boot config updated at the same time
-
unixwitch
inconcievable, right? but dladm did this!
-
meena
-
unixwitch
and unlike NetworkManager it wasn't fucking awful
-
CrtxReavr
The Solaris IP stack was. . . such a POS.
-
unixwitch
-
VimDiesel
Title: The dladm Command - Oracle Solaris Administration: Network Interfaces and Network Virtualization
-
meena
-
VimDiesel
Title: illumos: manual page: dladm.8
-
unixwitch
8? what?
-
unixwitch
there is no section 8 in solaris
-
unixwitch
but yes this dladm quote "(8)" unquote does describe the command i'm talking about
-
» meena mumbles something about SMF and FM for FreeBSD
-
jgh
smf was... not very performant
-
unixwitch
SMF was great
-
unixwitch
it was like systemd but it wasn't fucking awful
-
unixwitch
(notice a pattern here??)
-
meena
lol
-
unixwitch
alright the XML was a bit terrible
-
unixwitch
but you could implement it without that
-
unixwitch
does anyone remember the contracts API? *that* was great
-
meena
i got some vaporware design
scratchpad.pkgbase.live/Tn-dtb8OT--CttN1Djn8lw# that still needs an API that we don't have
-
VimDiesel
Title: jrc: Principles - HedgeDoc
-
unixwitch
it was like Linux cgroups but uh... well, i hate to repeat myself, but it wasn't fucking awful. it let you track a group of child processes as a single entity
-
meena
unixwitch: yes, that kinda thing is what we need. something orthogonal to jails that can do process tracking
-
unixwitch
i wrote a complete implementation of systemd-user (years before systemd-user actually existed) using contracts on Solaris
-
unixwitch
it even supported cron-like scheduled jobs
-
unixwitch
meena: since we've apparently accepted nvlists as a native API, perhaps people wouldn't object to importing contracts too
-
unixwitch
i wouldn't know where to start on implementing it though
-
meena
same
-
unixwitch
i have to say i also preferred solaris event ports over kqueue but that's probably a done deal
-
meena
there's quite a few things kqueue can't do, and possibly never will, like monitor a whole directory for changed e
-
meena
*changes
-
unixwitch
oh i found my contracts thing, look at this:
github.com/unixwitch/jobserver/blob…8b6fb86393b/jobserverd/sched.c#L230 - we can just use sigsend() to signal all processes in the contract, how awesome is this?
-
VimDiesel
Title: jobserver/jobserverd/sched.c at e7229a1d5a2f800cb7d81af91378b8b6fb86393b · unixwitch/jobserver · GitHub
-
meena
extremely awesome
-
unixwitch
you could even register a contract with event ports to get process notifications as events
github.com/unixwitch/jobserver/blob…8b6fb86393b/jobserverd/sched.c#L313
-
VimDiesel
Title: jobserver/jobserverd/sched.c at e7229a1d5a2f800cb7d81af91378b8b6fb86393b · unixwitch/jobserver · GitHub
-
unixwitch
soooo much nicer than SIGCHLD
-
voy4g3r2
well the move is finally complete.. next step moving the offiste backup and getting snapshots to work.. fun times still to go
-
unixwitch
freebsd doesn't accept patches via git send-email, right? it's either a PR with an attachment or github
-
unixwitch
(i just started working on another project that uses git send-email and i really like it, no need for other applications or web browsers)
-
meena
no, please only bugzilla for ports stuff
-
unixwitch
i was thinking of src/
-
unixwitch
but i guess its true for both
-
meena
Github or Phabricator
-
unixwitch
:-(
-
unixwitch
maybe i'll switch to openbsd, i bet they don't make you use a web browser
-
unixwitch
then again you do have to use openbsd
-
» meena points at fishshell.com again
-
nimaje
you can probably use
freshports.org/devel/arcanist for phabricator, but I haven't tested it
-
VimDiesel
Title: FreshPorts -- devel/arcanist: Command line interface for Phabricator
-
meena
you don't *have to* use a browser… for submission…
-
unixwitch
meena: fish has a web browser?
-
unixwitch
i know about arc but i am extremely dubious i can patches committed this way. maybe i'm wrong...
-
unixwitch
it seems more like a tool for reviewing, while committing is left to the user
-
meena
"For those lucky few with a graphical computer, you can set your colors and view functions, variables, and history all from a web page."
-
voy4g3r2
holy moly never heard of fishshell.com before
-
morena
good luck with cvs ;/
-
nimaje
unixwitch: "[…] to send code for review, […]"
-
unixwitch
meena: i am running 6 applications under Wayland right now and those applications are Alacitty, Alacitty, Alacitty, Alacitty, Alacitty, and Firefox, and i'm trying to get rid of Firefox.
-
voy4g3r2
there is some rumblings in the tmux area around this "replacemnet"
zellij.dev
-
VimDiesel
Title: Zellij
-
unixwitch
meena: Unix is a teletypewriter for me :-)
-
morena
unixwitch > 9front ;/
-
meena
-
VimDiesel
Title: Contributing to FreeBSD | FreeBSD Documentation Portal
-
nimaje
and there is
freshports.org/devel/pybugz for bugzilla, but I haven't tested that one eighter
-
VimDiesel
Title: FreshPorts -- devel/pybugz: Python command-line interface to bugzilla
-
unixwitch
nimaje: right, you can send code for review, but what happens after that? i don't have a commit bit, i need someone else to commit it
-
unixwitch
so far, github seems better for this than bugzilla
-
meena
nimaje: i don't have enough monitor for such complex layouts
-
morena
ye, it's always better if whole world is sitting on the one service/site
-
morena
one shepherd said
-
unixwitch
meena: btw, i configure fish by editing ~/.config/fish/. i hope this annoys those so-called "graphical computer" people :-D
-
nimaje
unixwitch: well, then someone else has to commit it, but that is the case with git send-email too
-
nimaje
-
VimDiesel
Title: ports - FreeBSD ports tree
-
unixwitch
nimaje: well, yeah, but if there a dedicated channel for send-email submissions, you'd imagine people would be around to commit them, like people spend time committing github PRs
-
unixwitch
whereas (i guess) there's no one sitting on top of phabricator reviews to commit them once they're approved, since phab is mostly used by committers
-
unixwitch
... just to be clear i'm not complaining, i was just asking a question. github is fine.
-
unixwitch
apparently there is a github cli, i should investigate that:
cli.github.com
-
VimDiesel
Title: GitHub CLI | Take GitHub to the command line
-
meena
pkg install gh
-
meena
nimaje: whoah. what does that mean? what things can be subpackages?
-
meena
I need to see examples
-
unixwitch
random question (but this is freebsd-related) can someone recommend a large (several GB) BitTorrent file which is legal to download?
-
unixwitch
i'm trying to reproduce a filesystem issue for a PR
-
unixwitch
-
VimDiesel
Title: Torrents - FreeBSD Wiki
-
nimaje
meena: well, subpackages is "just" doing one build and then creating multiple packages out of that, besides the boring, separate out docs and headers and stuff for storage limited systems, some programs have a build where they build several frontends, like for example transmission, that gets especially annoying if those frontends need some common data files, before subpackages in that case the
-
nimaje
packages for the frontends eighter had their own copy of the common data and conflicted on each other as a result or the maintainer had to create a packages for the data files and have the frontend depend on that (which could be annoying and in case the data is a result of the build, it is probably build once per frontend before subpackages); with subpackages the maintainer declares which files
-
nimaje
get in which packages and how they depend on each other
-
torv
unixwitch: Yes, a `...-dvd1.iso` should suit--the `amd64` one being ~4.5G.
-
unixwitch
torv: it seems like these files are not very well seeded unfortunately... but let's see
-
torv
unixwitch: Give it some time for DHT. Worked for me.
-
nimaje
the old review
reviews.freebsd.org/D16457 contains git as an example at the end, not sure if that conforms the commited implementation, but it will probably look similar to that in ports
-
VimDiesel
Title: ⚙ D16457 Subpackages. (deal with it.)
-
unixwitch
i thought ubuntu-23.10.1-desktop-amd64.iso might go quicker but it's sitting at 5KB/s... does no one use bittorrent anymore except for porn and pirated movies?
-
rtprio
yes, i think that's true
-
unixwitch
(i do have a bittorrent link for 'debbie does dallas', which is in the public domain, but this is not probably not appropriate for a PR)
-
la_mettrie
unixwitch: maybe try some other PD movies, like night of the living dead or plan 9 from outer space
-
vdamewood
Or Steamboat Willie!
-
unixwitch
i set the DHT port in rtorrent correctly which seems to have made the freebsd iso a bit happier, it's going at 16MB/s now
-
rtprio
everyone is on about the steamboat willie
-
unixwitch
something is broken with my bridge(4) and IPv6 on -current even though the same config works on 14.0. it seems like freebsd doesn't response to ICMP neighbour discovery
-
VVD
how to get loginclass of a user in root shell?
-
VVD
pw user show $USER | awk -F: '{print $5}'
-
VVD
is it best way?
-
unixwitch
-
VimDiesel
Title: bridge(4) and IPv6 broken?
-
Ellenor
VVD, possibly write a relatively short C program that runs getpwent and breaks out ->pw_class?
-
VVD
Ellenor, for start script for a port (software in ports)
-
Ellenor
why does your program depend on the login class?
-
VVD
not my
-
VVD
-
VimDiesel
Title: 275851 – [PATCH] databases/postgresql*-server: starting doesn't set up the class
-
Ellenor
okay...