00:44:11 trying to get some command working. find . -type f -exec cat {} ; except it shouldn't cat bin type files. anyone know how? 00:50:15 best wifi card by far is an android phone usb tethered 00:54:44 hi all. i got this old text terminal. crt, serial port. im trying to use it to log in to my freebsd server 00:55:34 getty works and i found one compatible termcap, but linux has a more compatible one (allows for inverse video and underlining and so on) 00:55:57 is there a way to import linux's terminal entry for this machine into freebsd's termcap? 00:57:29 it's an ADDS 1010 model. it suppors 3A+ mode. freebsd's version doesnt display reverse video etc. it's noticeable in nano's bottom bar for example 00:57:52 hjf: i don't remember the default but there's an ncurses command to print a termcap entry that you could addto /etc/termcap 00:58:01 s/default/details/ 00:59:31 what i did was install terminfo. it comes with some tool, infocmp, which i used to generate the termcap profile 00:59:44 ivy: is that what youre talking about? 01:00:17 yes, except i think infocmp prints terminfo definitions, not termcap 01:00:43 i think it was -C to make it termcap 01:05:23 so, did you try that in termcap? 01:22:47 ok i have a different problem now. i changed it to this new definition and getty just seems to crash 01:23:04 i get the login prompt and then i get an error in auth.log that getty is repeating to quick 02:02:39 sigh. 02:02:44 the problem is the USB extender 02:03:02 it works fine with the usb-serial adapter connecetd directly 03:45:44 I wonder how polyex decides if a file is a "bin" file or not? If that criteria were known then a test could be developed for it. 03:51:27 related http://tom7.org/abc/ 03:59:08 What is it related to? The first thing I see is a 1.44MB 3 1/2 inch floppy drive. 04:00:52 The ASCII artwork of a printer is quite nice. 04:07:07 well, it is a c compiler, so you probably don't want to print files created by it, when filtering "bin" files, but as it only uses bytes that are printable ascii chars so you probaly need some heuristic that excludes files with "unreasonable" amounts of special chars 04:30:59 bah, `file --mime-type $foo` -> yeet that sucker to stdout if it's text/* 05:13:55 Using that as criteria then this find will do what polyex asked, using "ls -ld" in place of "cat" for purposes of development, illustration, and safe demonstration. 05:14:00 find . -type f -exec sh -c 'file --mime-type "$1" | grep -q text/' sh {} \; -exec ls -ld {} + 05:18:19 I feel compelled to mention that in a security conscious situation it is possible for a malicious agent on the system with write access to these directories to potentially game the directory trees in a fast directory switching around attack. This situation is one where it is possible to directly substitute -execdir for -exec and everything works exactly the same. If it is all my files then I don't think it is of concern. 06:33:40 would there be any problem using bsd as a router, and connecting it to the switch via usb ethernet instead of pci ethernet? 06:39:25 with switch you mean some network card that has multiple interfaces? 06:49:47 hey all I have a gateway/router with mpd5 that has re0: local lan 172.31.5.0/24 em0: backup 4G network, igb0/fib1: PPPoE connection, igb1/fib2: PPPoE connection, is anyone able to provide me with a link to a basic nat setup for just dealing with twe two pppoe links fib1/2 for packet filter? 06:49:48 they both have the same gateway ip hence the different fibs 06:58:19 > with switch you mean some network card that has multiple interfaces? 06:58:19 no 06:58:28 i mean a network switch 06:59:04 i'm worried about the usb ethernet interfaces being somehow inferior to real ethernet 07:03:03 sfox: USB ethernet adapters are inferior, however they still work (just slower). First check that drivers exist for the adapter. 07:03:28 slower? 07:03:41 it's gige 07:04:02 USB3? 07:06:10 Using a USB-to-ethernet adapter on a FBSD router/firewall (provided it's supported and working) is perfectly fine. 07:06:44 yes 07:07:39 you should get close to 1Gb then. There is more overhead over USB which can lower the effective bandwidth a little 07:08:00 usually they do about 85% of 1Gb 07:08:48 how many people here are using freebsd as their daily desktop driver? 07:09:02 I do 07:09:15 I run freebsd everyday but as a support os, routing jails etc not primary desktop 07:09:22 is that a cpu limitation? I want to use it to route between some vlans and gateway route 07:09:39 LapsangS, i'm running it on my laptop right now 07:09:49 USB-to-ethernet adapters definitely have overhead, but one would think that someone using something like that isn't really shooting for max Tx/Rx speeds. Just usability. 07:09:55 I do 07:09:59 I also use FBSD as a desktop. 07:10:20 yeah i have a very old celeron laptop in which everything, including sleep actually works 07:11:10 i cant run any modern windows in that junk computer but freebsd runs fine 07:11:39 i have a better thinkpad t420 and sleep doesn't work 07:12:11 yeah i think most things work but the sleep is the main issue 07:12:35 in many systems 07:25:31 thanks for the explanation nimaje 07:36:00 how to dual boot windows 11 and freebsd 07:37:28 of couse via the bios 10:55:25 Hi, if I would like to be able to work with FreeBSD 14 for the next 10 years, that means, being able to install the distribution and use any package using pkg install, is that actually possible? Can you manually install binary packages for no longer supported releases? thanks 11:30:00 uskerine: "manually installing packages for no longer supported releases" depends if the package meets the ABI and lotsa other things. 11:30:42 But of course you can always port stuff, but sometimes you must modify the code and make tremendously large changes. 11:31:49 maybe I am missing something, but my understanding is that pkg install downloads a package from a repo and installs it via a script. Of course that package is prepared for release x.y 11:32:03 is it possible to download that package for release x.y in the future? 11:32:10 I am not talking about porting the current package to older versions 11:38:11 uskerine: you can just set up your own repo 11:38:39 i wouldn't expect package mirrors to keep packages for branches 5 years after eol 11:38:56 just build the packages you need with poudriere 11:43:04 hello friend, my FreeBSD journey started well, i noticed there is no terminal emulator so is there a way to fire up a terminal so that I can scroll up and down with my commands, in current state I cant scroll 11:44:33 uskerine: pkubaj_ is right, and you can indeed always set up a personal repo (if you don't want to build the software over and over on new setups.) 11:45:11 Bushmaster: you mean, in a desktop-like env? Or in console?? 11:45:35 In console you don't need a separate terminal emulator, but to scroll you could use a binding I don't remember ATM. 11:45:37 Lemme check. 11:46:39 kfv its console yes no desktop in freebsd 11:46:52 Well, I remember it was FN + something... Scroll Lock, maybe... I don't know. But you can, I just don't remember the binding. 11:47:31 But if you couldn't, just use a tmux session and do Ctrl+b+] and do page down / page up as a workaround. 11:47:36 i can always use fgreebsd by ssh from my debian server that way I see and scroll 11:50:04 Right 11:50:08 It was scroll lock. 11:50:26 And on machines with no scroll lock, I guess it was shift + page up / page down. 11:51:01 i got tmux running, excellent, kfv so that is CTR+b 11:51:18 Yeah, but it's just a workaround I said ;-) 11:51:33 Scrolling is absolutely possible in console. 11:51:55 But anyways. 11:51:55 tumux is good i see page up and page down working 11:52:09 Do you have page up page down buttons? 11:52:19 If so, you could use them with shift button in console as well, I guess. 11:52:20 IIRC 11:53:12 page up and page down working in tmux yes 11:53:21 but CTR+B dont do anything 11:53:41 what is IIRC 11:53:50 another package? 12:03:04 CTR +B allow you to Page Up and Page Down, problem is I cant get back to typing in Command Prompt now hehehe 12:09:25 pkay got it, CTR + b is for scrolling with page up and page down with tmux and then CTR+[ to start typing command again 12:31:31 Bushmaster: IIRC -> If I Recall Correctly 12:36:39 okay thanks kfv 12:36:45 Anytime. 12:37:30 tmux is good, its CTR+B for Page UP and DOwn and then CTR+[ to retirn to command prompt, good enough 12:39:32 hostname -I command in Linux put out the local IP but that command does not work in UNIX, any similar command there other than ifconfig 12:56:28 hello again, just wondering is there any information available to put out a desktop environment in my FreeBSD? 14:43:42 Bushmaster, check the handbook 14:45:03 thanks yes I got it jbo its hard work, it has two chapters, one of X window and then Wayland, I guess X window need to be done before moving to Wayland 14:45:17 no, you pick one or the other. 14:45:27 okay thanks 14:45:39 if you are new to all of this. have a look at installing something that is mostly complete such as XFCE or KDE 14:45:40 could be good learning curve, i will go with X window 14:45:56 you'll still need either X or wayland tho. so yeah. set that up first 14:46:01 could not find any BSD with DE though 14:46:14 once you got X working, you can install a desktop environment like KDE or XFCE or whatever you like 14:46:28 Bushmaster, if you look for an out-of-the-box experience, check out GhostBSD, NomadBSD and HelloSystem 14:46:35 the handbook did not mention much how to install xfce 14:46:37 or kde 14:47:03 I disagree 14:47:05 https://docs.freebsd.org/en/books/handbook/book/#xfce-environment 14:47:07 excellent, GhostBSD i tried and it cant detect mouse pointer in my Proxmox 14:47:19 thanks 14:47:37 you'll run into the same issue with just stock FreeBSD. AFAIK, GhostBSD is "just" FreeBSD with a lot of things setup for you. 14:47:49 so if GhostBSD is otherwise suitable for you, might be worth figuring out how to get the mouse working :) 14:48:01 GhostBSD unfortunately does not work in my Proxmox 14:48:22 May be try NomadBSD 14:48:46 GhostBSD is "just" FreeBSD+MATE with stuff pre-configured. if your mouse cursor does not work in the proxmox VM, you'll likely find the same issue on FreeBSD. It's usually trivial to fix. 14:48:53 like the name for sure, like Nomadic tribes of Tibet hanging dead body in Tibet Hill and let eagle eat it 14:49:41 Yeah just have a good look first. Nomad is primarly designed to move between systems (hence the name). most people install it on a USB drive or whatever. GhostBSD might be more suitable if you just want a FreeBSD desktop without setting it up yourself. 14:49:49 FreeBSD works fine and Proxmox with Debian Cinnamon DE works as well fine, Windows 10 works fine with mice as well, hence may be try NomadBSD 14:50:23 GhostBSD mice does not work, I have OpenIndiana working with mice nicely 14:50:44 I'll not repeat myself again. Good luck :) 14:50:49 thanks 14:51:02 overall I like BSD 14:51:20 welcome to the gang 14:52:15 I wanna run a Apache server in BSD for media, I do it in Debian at the moment but I wanna run dedicated Media Server by utilizing Apache in BSD 14:57:04 GhostBSD is that much nicer UI-wise? 14:57:08 Out of the box. 14:57:22 it's "just" FreeBSD+MATE+config 14:57:42 Bushmaster: what's behind this decision ? any issues with Debian ? 15:01:11 jbo but it's setup out of the box yes? 15:01:41 pinPoint, yes 15:09:55 Good. I dislike setting up UI on freebsd... it takes a bit of work for a noobie like me. 15:10:15 that's okay. but the 2nd and 3rd time around it will feel easy & natural. 15:10:36 these days it takes me less than 20 minutes to go from "here's a new machine" to "Here's a fully configured FreeBSD with GUI" 15:10:58 I could keep at it I supposed. I'm running it on a VM so I can scrub and start over quite easily. 15:11:08 s/supposed/suppose* 15:12:06 indeed 15:12:18 but there's also nothing wrong with using something like GhostBSD 15:12:28 after all, stuff like pfSense is what got me into "just use FreeBSD" all these years ago. 15:13:00 eventually you'll realize that you can just run stock FreeBSD and configure it for whatever you need/want yourself, essentially getting rid of half your overhead :) 15:14:16 jbo I use opnsense in my house and have for more than 2yrs I think. I am influenced by BSD a bit. 15:14:45 just use whatever is the right tool for the job. and if it's a DIY/hobby environment, then the right tool for the job is often just what you like at that moment. 15:14:55 don't listen to regligious evangelists who tell you that you should do things differently 15:15:08 as long as it's not a commercial/industrial/whatever environment where consequences are real. 15:15:11 It is a DIY/hobby that I do enjoy actually. 15:16:16 8.013819444444444 15:16:24 How many hours it took my VPS to buildworld. 15:17:08 hah 15:17:24 CrtxReavr ?? buildworld? 15:17:30 I got an upgrade recently (half a year ago) replacing my 6 years old machine at work. it does buildworld in 404 seconds 15:17:47 Dang! Xeon Processors? 15:17:51 threadripper 15:17:57 7960X 15:18:02 Firebreather! 15:18:20 yäh 15:18:28 just steep learning curve ... mzar part of my home lab practice 15:18:55 mul on joo dual xeon 15:19:01 thank you reddit for making everybody with more than one computing device at home refer to it as their "homelab" 15:19:13 hehehe 15:19:21 then just install random linux stuff with admin web panel 15:19:29 "yeah my hobby is homelab" 15:19:30 -__- 15:19:36 "clicks snapshot button" 15:19:39 You guys have something like a C2960-s POE+ cisco switch? 15:19:57 why would it matter? just ask your questions. It's a switch. 15:20:14 How much power does this thing really drink per hour/day? 15:20:21 I feel sad Dennis Ritchie passed away without leaving any off spring ... 15:20:21 And it sounds like a jet engine 15:21:20 UNIX nerds are destined to die alone. 15:22:16 its sad though, he was genius, because of him, computer science came this far ... and no girls most likely enjoyed his company ... 15:23:08 Maybe he was happy. 15:23:15 You don't know. 15:23:25 yes I think he was happy 15:23:56 developing a C language is not joke, and he developed the language and re-write UNIX in C 15:23:56 pinPoint: there's many different sizes, ranging from 100W to a kW or so. Why not measure it? 15:26:07 Wasn't UNIX always written in C? 15:26:21 Bushmaster Maybe he didn't want children? Was he married? 15:26:39 If only there was some technology that would tell us. 15:27:15 CrtxReavr Just thinking about how hardcore BSD is I'd say it's a hard YES. 15:27:42 he died in 2011. 15:28:00 CrtxReavr: no, it was not 15:28:24 https://en.wikipedia.org/wiki/Dennis_Ritchie 15:28:31 pinPoint, dont think he was married ... he died at his home on his own just a week after Steve Jobs died, media di dnto pay him too much attention cos they were busy with Job's death 15:30:02 Bushmaster It's ironic. Apple's core is running BSD which has largely C all over it. Too bad. 15:31:31 STarting with OSX v10.3 it switched from a BSD kernel to a Mach kernel, derived from NeXTstep, which is the OS Jobs worked one between tenures with Apple. 15:31:53 pinPoint, lot of things in life is Ironic and sad I guess. These days we have gay Senior Citizen, Trans Gender leading the mainstream life, yet Mr. Ritchie passed away alone with no children ... 15:54:48 Doing a mergemaster here. . . 15:56:23 anyone else having trouble hitting the freebsd website right now? Looks like I am getting re-directed to an instance in chicago area (173.228.147.99) but it's not responding via my primary ISP 15:58:10 Have we dispensed with the ``# $FreeBSD$`` top line in the files? 15:59:43 i tried a second connection and it's up. so my local ISP (usi) cannot reach, but centurylink can reach the web site. fascinating. 16:01:34 CrtxReavr: I think a while ago. 16:02:05 but no one has removed them 16:08:13 traceroute may reveal peoblem 16:10:40 Hi, I'm quiet new here, joining from openbsd. ;-) how do I upgrade 14.1 to 15-current ? 16:12:27 there's a very good section in the handbook that describes exactly how to do that - https://docs.freebsd.org/en/books/handbook/cutting-edge/ 16:13:44 Most of the $FreeBSD$ tags have been removed in 14 but a few still persist. In 13 and earlier they were still everywhere. 16:15:33 I know, I tried that, I end up here 16:15:46 root@X1:~ # freebsd-update -r 15-current upgrade 16:15:48 Looking up update.FreeBSD.org mirrors... 3 mirrors found. 16:15:50 The earlier Unix was written in assembly language not C. If you want to learn about the early days read https://en.wikipedia.org/wiki/A_Commentary_on_the_UNIX_Operating_System which is an excellent coverage of the earliest implementation. 16:15:50 Fetching metadata signature for 14.1-RELEASE from update1.freebsd.org... done. 16:15:52 Fetching metadata index... done. 16:15:54 Inspecting system... done. 16:15:56 The following components of FreeBSD seem to be installed: 16:15:58 kernel/generic kernel/generic-dbg src/src world/base world/lib32 16:16:00 The following components of FreeBSD do not seem to be installed: 16:16:02 world/base-dbg world/lib32-dbg 16:16:04 Does this look reasonable (y/n)? y 16:16:06 Fetching metadata signature for 15-current from update1.freebsd.org... failed. 16:16:08 Fetching metadata signature for 15-current from update2.freebsd.org... failed. 16:16:10 Fetching metadata signature for 15-current from dualstack.aws.update.freebsd.org... failed. 16:16:12 No mirrors remaining, giving up. 16:18:44 CrtxReavr: apparently these headers became useless and only adding some burden on FreeBSD devs 16:20:20 Yeah, prolly old cvs stuff. 16:20:31 runkkaaat 16:21:35 pojan runkkaus 16:27:11 Houkutteletko meitä? 16:31:57 pkubaj_ kfv can you point me in the right direction? Maybe I am oversimplifiying but would downloading everything from http://pkg.freebsd.org/FreeBSD:14:amd64/ suffice? Is that even possible? 16:32:31 and as related question, so if I want to install FreeBSD 8 for historical reasons that software is forever lost? 16:34:17 I see this for example: http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ where there are packages for FreeBSD 9, so above that the way that software was installed changed I presume? 16:34:19 Those version control headers started with RCS (I don't recall SCCS or CSSC having them) and then persisted for a long time. But they always create merge conflicts when branching and merging. When git arrived and became preferred and branching and merging became typical then the version tags became a burden because they always produce a conflict. 16:35:19 Which changes a simple patch application from something that can happen totally automatically into something where for every file patched one must edit and fix the patch conflict. PITA! 16:37:56 uskerine, AFAIK the older versions existed at a time before pkgs were as popular and if one wants to install a historical system then one would AFAIK need to build it from source. However all of the source for those versions exist in the version control and any older version can be rebuilt and run even today. 16:39:46 I could imagine that trying to reconstruct a much older version might require walking backwards through the releases in order to avoid compiler changes which have become more strict in recent years but were quite lax in older years. 16:40:35 I would probably use a jail to build the previous release and use it to make a previous release as a jail and then repeat that process walking backwards through time. 16:44:03 rwp so, if you want to install FreeBSD 9.2 in a 64 bits box, would this not suffice? http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/amd64/packages-9.2-release/ http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/9.2-RELEASE/ 16:46:36 uskerine, Saying would be knowing, not knowing I cannot say. I say try it and then you will know. 16:48:54 For example I look down the packages-9.2-release directory and it looks like it includes all of the source. I see many .tbz files there. Those would need to be compiled. 16:49:30 Certainly the 9.2-RELEASE directory appears complete however. Everything I expect is there for 9. 16:49:42 rwp there is also an ISO folder around that 16:50:33 An older ISO? 16:51:22 As I look there I see everything that is needed to install the base FreeBSD for 9 and then one could use it to compile the archived sources for the ports from that same release. Looks good! :-) 16:52:06 but could not you just install using the iso ? here-> http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/ISO-IMAGES/9.2/ 16:52:39 and then install any package you might want from here? -> http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/9.2-RELEASE/packages/ 16:52:48 and by doing that you would avoid compiling anything? 16:52:52 You should be able to boot that on a bare metal system or virtual machine. I don't see any reason why not. 16:53:11 Wait... Are the pkgs on the ISO? 16:53:18 no, they are in a different folder 16:53:33 see the last two links, first are ISOs , second seems packages 16:54:06 which I understand are binary packages like the ones you use when you do pkg install mystuff 16:54:15 It looks like it would take an hour or so to download the DVD ISO in order to inspect what is in it. I need to do other things though so I won't do it now. 16:54:34 I was just asking out of curiosity to understand how this works 16:55:05 When I browse down that second link I only see source files. The .tbz files are tar.bz2 files of the source of the ports. But perhaps I am not looking in the same directory you are looking in. 16:55:27 I asked a LLM about storing a local copy of all the packages for say FreeBSD 14 lcoally, and it says it is possible and appears to be even a simple command and changing the config file, but maybe it is hallucinating, wondering if that is possible 16:55:30 With the source to the ports though it means simply compiling them up using the associated system base compiler. 16:55:56 rwp: no, I am looking into the .tbz files, so those are sources and require to be compiled, right? 16:56:09 Correct. Sources which need compilation. 16:56:21 understood, I thought they were binaries 16:56:45 If you fetch one down and then look at the contents I expect to see a source snapshot there. 16:56:53 I understand now 16:59:10 And then in my thinking the 9.2-RELEASE archive with the base.txz and other files there is much easier to use to set up a jail container than using the ISO-IMAGES/9.2/ ISO files in a boot up and install situation. 17:00:23 this is what a popular LLM says about having a local repo (I read that I shall use poudriere but the LLM seems not to require that): https://bpa.st/57Q56 I would be happy to hear anyone more knowleadge's opinion on how feasible is this 17:00:46 Both are basically equivalent. But I have a running FreeBSD 14-Release system which I can then use to unpack the base.txz upon in order to create the legacy jail container almost trivially. With the ISO I can of course mount it and extract that same file. Or I can create a virtual machine and boot it up. Or I could use it to boot a bare metal system. Not my preference for convenience. 17:00:57 rwp I see what you mean with being easier to deploy in a jail 17:03:24 I skimmed the LLM answer and it seems plausible for creating a local mirror of the *current* pkgs mirror. But AFAIK the older pkgs are not retained anywhere. (I don't think they are but maybe someone will point to an archive and I will learn about it at the same time that you do! :-) 17:04:24 I know that, those were two questions/thoughts in parallel. I just want to understand what does really mean to do pkg install. I am also pretty concerned of not being able to install packages for say 14 in 5 or 6 years easily with pkg install 17:04:47 the reason is that some of the stuff I do works on a controlled environment not exposed to internet and it is intended to last for years, you want something static 17:05:16 the older version are out of historical curiosity and also to understand better how this works 17:06:01 There is a partial answer to the problem. The /var/cache/pkg/ directory contains all of the previously installed binary pkg files. Keep that and you can always install those again. You would be your own archive for any pkg that you install. 17:06:02 rwp by current you mean recent, right? 17:06:25 Oops. Yes. I meant recent when I said current. Sorry for confusing it with CURRENT. My bad. 17:06:35 got it 17:06:56 I say it is a partial answer because that only helps for things you have installed. If you find later that you need something you have not installed then it won't be there and by then will be gone from the repositories too. 17:07:02 yes but the point of storing just /var/cache/pkg is that there is the day where you need a small side package and it is not there, hence the idea of doing a snapshot of the entire repo 17:07:22 exactly 17:07:26 So you would need to do a routine mirror of the recent repositories in order to get everything that was available in the event that you needed something new in the future. 17:07:29 well I might give it a try to that LLM solution 17:07:39 my doubt is, how big can that be! 17:07:40 ? 17:08:12 would it be like massive as do not even think about it or big as in just a few GBs? 17:08:22 I do not know how large it might be. I do know that most things will not be that large but a few things will be very large. It's not linearly distributed. 17:09:05 I see 17:09:08 https://forums.freebsd.org/threads/how-much-disk-space-does-a-package-repository-take.66830/ 17:11:00 it seems 76Gb for FreeBSD11, right 17:11:01 ? 17:11:01 The general problem is one of the reasons people who go down this path most often use poudriere to build the package set locally and keep a local archive of all of the source. Then they are completely self-contained and self-hosted able to operate completely air-gapped. And then they can build what they need and avoid building large things that they do not need. Plus in the future if they need to patch something they are able to do 17:11:10 that too. 17:12:24 but that has the expense of having to go with poudriere and compile, vs the comfort of just doing pkg install. 17:12:34 s/has/is at/ 17:13:06 When I look today it says 131GB of binary packages. "Number of packages to be fetched: 34437" "The process will require 131 GiB more space." Try: pkg fetch -a 17:13:51 why? 17:14:41 In order to create a local long-term-support system beyond the lifetime supported by FreeBSD. For an air-gapped offline system. 17:18:49 130Gb is a lot of space but definitively doable 17:20:21 thanks for the explanations rwp, it helped me to better understand how this works 17:22:28 It's been a good discussion. Glad I could help! :-) 17:47:41 What desktop environments do you guys use most? I've looked at XFCE but it's just meh. 17:51:44 I use Enlightenment 17:52:01 desktop environments are waste of time, use wm 17:56:49 hi all. i have a problem thats driving me mad. i have this old serial text terminal, connected as console to freebsd. on bash, backspace works but not on irssi. in bash i have mappings for the keys to map to ^H but this doesnt seem to apply to irssi? or gnu nano for the matter 18:00:35 Does irssi rely on stty settings? I would start by looking at those. 18:03:46 jauntyd: E?! i haven't used that in a while 18:04:08 Demosthenex: it is quite artistic! but not overly imo 18:05:11 terminology goes well with it i might add 18:09:17 jauntyd: i used to use e ages ago... like early 2000's 18:09:48 and i used scripts to open terminal in a tiling layout to simulate tiling. it was great that it allowed keyboard focus and keys to change desktops 18:10:14 that's stayed with me... i'm now on StumpWM and i use virtual screens and desktops like crazy 18:11:15 but i have a soft spot for E ;] 18:15:09 Ok, what's a decent looking WM out there? 18:18:34 hjf, bash hard codes that it will use either ^H or DEL for a backspace key but that's a special. Other programs look at the stty erase setting. Some know about the erase2 setting too. Determine if the terminal uses ^H or DEL then set "stty erase" and erase2 appropriately. My experience is that DEL is a better key than ^H but the terminal vendor already decided this for you. 18:22:27 pinPoint: this is highly subjective, i.e. some people favor functionality over aesthetics 18:23:41 broadly speaking they come in two types: tiling or stacking (aka floating), some can be pretty minimalistic, yet quite powerful 18:25:29 rwp: i'm looking at the termcap entry for this. it says: :kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mb=\E0B\E):me=\E(:\ 18:25:52 kb (key backspace?) ^H, but also, kl (key left?) ^H 18:26:54 but i don't understand how that part works. does that mean it's the terminal that sends these codes? or i can change those codes? 18:27:07 because why would the terminal send the same code for two keys? 18:28:31 oprs ok. 18:29:34 sorry I can't really be more specific :-) It quickly becomes a matter of personal preference. It's probably best to try out a few for yourself tbh 18:29:59 can i learn more about terminals and terminfo by looking at the c code? 18:30:04 or are there man pages about it 18:30:12 https://i.imgur.com/eZqPwuw.jpg 18:30:16 the terminal in question 18:33:34 hjf, What TERM type is that ADDS terminal? I am not familiar. (I used a lot of HP terminals and DEC and Wyse and Hazeltine but never an ADDS) 18:35:00 so, the menu settings mention a mode called "3A+" 18:35:13 i found a termcap entry called viewpoint3a+ 18:35:21 and another called adm3a+ 18:35:41 both work, but viewpoint3a+ looks better. it supports reverse video and dim text 18:36:00 and i think this line of terminals was called "viewpoint". so it's either this, or it's a compatible one 18:36:37 i used to use a Wyse one back in the day. at the same company that was throwing this one away 18:36:47 johnjaye, terminfo(5) 18:37:10 What a classic! I would be interested in seeing a photo of your keyboard too. I am curious if it has the arrows on hjkl and if it has Home and ~ like on the ADM-3A too. 18:37:47 it doesnt. 18:38:07 https://geekhack.org/index.php?topic=56207.0 18:38:14 some photos of the keyboard 18:38:38 it doesn't have an alt key either, or [ and ] 18:44:22 one problem with this terminal is that it doesn't seem to do partial scrolling 18:44:42 so if you have a status bar at the bottom, it redraws the whole screen for each line scrolled 18:48:32 There were a lot of features of "modern" terminals which the early hardware did not support. I vaguely recall that some terminals could scroll lock lines of a terminal such as the bottom mode line allowing for efficient status lines but others could not. 18:49:44 You have distracted me with a little bit of fun reading and refreshing my memory on these when I should be doing other things. But this is fun and life is short so I am going to enjoy being distracted for a moment longer. :-) 18:50:29 You said no [ and ] but the photo you posted shows them on the keyboard. They don't produce those characters? 18:59:53 You might be interested in running "toe -s | grep -i adds" to get a list of TERM settings available to use. But I think your TERM=viewpoint3a+ setting is probably the best match. 19:01:39 rwp: not in my keyboard, it has the spanish layout with Ñ . but it's set to english anyways so it does produce [ and ] 19:03:55 there was a command to print the raw key codes but i can't find it. Ctrl-V - backspace produces ^H 19:05:09 I will say unfortunately here that the terminal uses ^H (HP terminals I used when working for HP are also the same) and therefore you just have to use ^H for the erase character. 19:06:26 Since the 1990s the use of DEL for erase has become almost universal due to that being the default for GNU/Linux distributions with xterm. It's so pervasive that many things will hard code it thinking that's just the way everything is and that's going to cause some problems at times. 19:07:30 IBM terminals also used ^H too. As an emacs user myself it's annoying to have to swap the keys and remember it. But vim users will probably not run into any problems. 19:17:13 originally DEL meant all holes on a punchcard punched. and NULL meant all clear. 19:17:19 not sure exactly how that changed over time 19:20:25 With papertape and punchcards you can't actually unpunch the holes. So 0x7F punches all of the holes in the papertape. Upon read back any DEL characters were ignored in the stream. 19:21:02 rwp: but why does left arrow also produce ^H ? 19:21:21 So actually one had to use both BS BackSpace and DEL both with paper paper tape. If a mistake was made one needed to BS until back to the character to delete then DEL to punch them out then type in the corrected characters moving forward. 19:22:40 hjf, Your terminal produces ^H with left arrow? There may or may not be a DIP switch setting to make some configuration changes for it. But it would be inconvenient now to have both the left arrow and the Backspace key both produce ^H now. But at the time I am sure that was simply back space moving the cursor to the left. 19:26:12 hjf, I am not familiar with your ADDS terminal really at all. But talking about BS and DEL on the VT100 (I actually own two DEC VT102 terminals and a Wyse VT100 compatible terminal) there are both BS and DEL right next to each other within easy reach of either. DEC basically didn't choose and left it to the user to configure things as they needed. Because HP and IBM both forced ^H upon us. But DEC had both and one could choose. 19:27:57 The main escape sequence that always caught me the worst though was in vi typing something then, then wanting to tap ESC and then h, h, h, to move left. On HP terminals ESC-h is the escape sequence for Home which would then zing me to the first character of the file! So annoying. Fortunately `` would return back to where I accidentally zing'd from. 19:28:23 yeah the manuals for this thing are unobtanium 19:28:29 it doesn't have any dip switches either 19:28:39 https://i.imgur.com/T6RO0bu.jpg 19:28:41 it has this menu 19:28:45 The VT100 escape sequences are always ESC-[-otherstuff and one never accidentally hits ESC-[ quickly in succession and so that's one thing that makes the VT100 escape sequences the better choice. 19:29:22 well actually the other day, with another termcap, i was getting ESC[ sequences 19:29:36 well terminfo because it was on linux 19:32:10 Looking at the config screen I wonder what is down the "3A Mode CTRL-Z" and "Spc Adv" menus but ya otherwise I don't see any configuration for it either. No ideas. 19:32:46 Pretty fun though! At some time we might have to play "mtrek" on the classic terminals. Good times! 19:33:08 the termcap entry also states it's 80x24 but this one can be 25 lines 19:35:32 i wanna shuffle things around the shop/lab and have this terminal as a dedicated irssi machine hehe 19:35:34 pinPoint: https://forums.freebsd.org/threads/cde-users-unite.85143/ 19:35:48 You should be able to set TERMCAP in your environment with an updated capabilities string and then customize it for your own use. 19:37:37 johnjaye: there is an old 1991 booklet about termcap and terminfo. I found a good way to understand a bit better how that worked, but it is pretty complex though 19:37:45 uskerine, I think most people using CDE are using it because they had previously used CDE. XFCE has a very similar workflow usage but is a recent (I avoid saying current) Desktop Environment. I think anyone happy with CDE would also like XFCE and be happier because XFCE is more polished up now. 19:38:42 rwp I like the simplicity of MWM, but need several desktops, so I still use CDE. It is a very niche thing now but I know I am not the only one using it 19:39:27 rwp: I have used XFCE in the past, did not like it. Another lightweight I like is FVWM, that can be customised to whatever look and feel you want and it is lightweight 19:39:48 WMs and desktops are very subjective things anyway 19:40:29 I used fvwm for years and years. Love fvwm! It's such a nice window manager. (I am using i3 tiling these days. But tiling is not for everyone.) 19:40:55 I like tiling but never really used on everyday 19:41:35 the first tiling WM ever: https://www.youtube.com/watch?v=IOxIUeroIVQ 20:00:43 funny to see all this character encoding stuff. i am just dealing with tmux swallowing control+tab and getting into those weeds 20:00:48 uskerine: ah do you have it by chance? or the name 20:02:14 johnjaye https://archive.org/details/termcapterminfo0000stra 20:03:06 it is not lightweight stuff 20:03:49 thanks 20:16:46 I enjoy those historic videos capturing the way computers were treated back at the dawn of the computer age. Some things they got perfect! Some things they missed on and things worked out differently. 20:18:14 this one is pretty rare, as far as I know the source code of that WM was lost 20:18:37 there is also another interesting short video about when they introduced motif: https://www.youtube.com/watch?v=neSdF_JVVB4 20:20:17 I am queueing those up for watching on the big screen with some popcorn later during the time when I can watch videos. (I love the big PC board poster framed on the wall behind that last one.) 20:39:12 fvwm3 is quite usable 20:42:35 For me the most endearing feature is the active thumbnail of the fvwm window pager. 20:44:14 I also love the 3D look 21:11:28 which gpu brands are best supported on freebsd? i recall intel pulling driver support last year that breaks plex hardware transcoding. any particular brand stand out in the "just works" category? 21:12:05 (or conversely, any to avoid due to known issues?) 21:16:34 markmcb: nvidia has an official freebsd driver 21:16:52 new amd i think are supported via open source drivers 21:17:06 HER: thanks 21:17:25 intel is supported, 12th generation works.. but im not sure about newer ones 21:19:11 markmcb: if its a laptop, i would go with intel gpu or amd. nvidia on laptops are really noisy 21:19:34 and heavy =p 21:19:49 it's a server. i'm currently passing through the igpu on a Xeon E-2388G to Ubuntu on bhyve to get driver support for transcoding video. would far prefer to have everything in FreeBSD. 21:20:31 (though this setup isn't bad, i'm just being a purist, lol) 21:22:49 I don't think there was a change to intels support (which AFAIK is mostly nonexistent, FBSD just gets their foss drivers from Linux), just a change on plex's side where they were not willing to keep holding back features from their ffmpeg fork to wait for FreeBSD to update it's intel drivers 21:24:59 I'm not sure if plex freebsd would work with nvidia or not. tbh! I thought their website said only intel a couple years ago, but currently it doesn't really have any information 21:26:01 duskmoss: thanks for the clarification. yeah, i don't think it's officially supported, but i've seen lots of people saying it works fine for them. 21:26:15 nice! 21:27:13 it'd be nice to stay on an igpu. the power consumption is so small. 21:29:33 anyone have any experience with AMD igpus? like the Radeon 780M that's on their Ryzen 7 cpu? 21:33:35 Hi 21:33:57 Any idea when ports switched from /usr/local/man to /usr/local/share/man as default location? 21:34:06 my ecperience is they're terrible at transcoding. But also plex doesn't officially support amd gpus either 21:34:16 on any platform 21:35:22 since amd gpus are also done with the linux DRM system, their drivers may be similarly behind where plex would need them. 21:36:39 Dereckson, Has there been an actual official switch? What I see is that both locations are in use by ports. And man 7 hier still documents the /usr/local/man/ location. 21:37:11 Found a proposal by bapt in March 2017 - https://lists.freebsd.org/pipermail/freebsd-ports/2017-March/107584.html 21:37:14 Yup for hier 21:37:20 even in FreeBSD 14.1 21:37:55 But on a new FreeBSD 14.1 installation with 739 ports, /usr/local/man doesn't exist 21:38:06 everything is in /usr/local/share/man 21:38:33 That's how I actually spotted the thing, I've run a configuration as code who wanted to provision man pages to /usr/local/man/man1 21:39:05 I have 44 files in /usr/local/man/* on my 14.1R desktop. Most of them related to pkg* but at least one gpt.1.gz file. 21:39:50 Yeah mine is a devserver 21:40:06 so the only desktop-oriented packages would be CLI 21:41:00 Can you give me one or two names of packages installing things there? 21:41:19 Curious to see if they override MANPATH or if they just run install commands there 21:41:27 My desktop has been upgraded. You are correct. If I look on a system installed only as 14 fresh then /usr/local/man does not exist. All of the files on my desktop must be lint left behind. 21:42:20 Dereckson, https://paste.debian.net/plain/1331244 21:42:58 thanks 21:43:35 "manpath" still reports "/usr/local/share/man:/usr/local/man:..." 21:46:17 I think I need to do some lint cleaning of /usr/local/man as none of those files are in the pkg database. And there is that core dump file from 2023 too. 21:46:59 Dereckson: only within the last couple of years did the switch get serious 21:47:50 hmm, maybe I'm misrememberin 21:50:17 I ran this and pkg didn't know about any of the files there and spot checking said they were all duplicated in share/man so I rm -rf'd the directory: find /usr/local/man/ -type f -exec pkg which {} \; 21:56:47 On a 13.2-RELEASE machine, I've a mix of those two directories, so you're perhaps right it needed time to get in traction. 22:04:22 rwp: i figured it out! this terminal support macros for these keys. i just need to map ANSI escape sequences for these macros! 22:04:55 Dereckson: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277603 is what I was thinking of 22:05:16 so I must not be completely crazy, it only finalized at the beginning of the year 22:08:05 hjf, I don't know what feature you just described but I am very happy you have a way to make it work better for you. 22:08:51 rwp: literal macros. Ctrl-F2-somekey, then you can program in a string to be sent when you hit that key 22:09:08 i just need to map it to Esc[D or something 22:09:21 but i can't figure out how to map esc here hehe 22:11:26 I am so used to xterm using ESC-O-D for keypad left-arrow that ESC-[-D looks odd but I assume that matches the termcap for that terminal. 22:11:49 esc[D is ansi iirc 22:12:00 but i can map it to anything i want and redo the termcap 22:17:07 ansi is based on xterm which is based on vt100/vt220 so I feel certain left-arrow would be ESC-O-D on all of them. But I don't have time to look at the moment. 22:20:22 rwp hjk I recently used .xmodmap and .xbindkeysrc to unify copy/paste and assign them to F11 and F12 22:20:48 I think you can bind any key combination to any action by doing that, but will only work in X11 22:23:48 uskerine, Your comment caused me to chuckle. Please take a peak at the terminal hjf's is working with here. https://imgur.com/eZqPwuw 23:35:29 .oO(X terminal station) 23:45:09 I actually worked on an actual xterm (with a 21" monitor) in uni, running CDE off a HP-UX server. 23:45:32 beautiful thing 23:46:24 hjf's terminal is very cool 23:46:40 hjk rather :)