-
Oleg
the latest drm-kmod from
github.com/freebsd, does it correspond to the linux kernel 5.10?
-
Oleg
or to newer linux kernels?
-
debdrup
Oleg: Considering the name of the port is drm-510-kmod, it's probably fairly likely.
-
ketas
Soni: that hostname!!!
-
Soni
thanks =^-^=
-
trench
why do you need a hostname here?
-
kolla
anyone got a guide for how to _manually_ set up zfs "zroot" on /mnt during installation in a way that actualyl works? The "guided zfs on root" thing doesn't guide much and insists on using entire disk...
-
kolla
I tried to do it manually, but whatever I do - set mountpoints etc... on boot after install, it _only_ mounts zroot/ROOT/default, and nothing else
-
antranigv
kolla yes
-
antranigv
kolla 1 min, I think I've blogged about it, lemme check
-
antranigv
kolla nah, I did not blog about it, but I know where you can find it. 1 minute :-
-
antranigv
-
VimDiesel
Title: zfsboot « scripts « bsdinstall « usr.sbin - src - FreeBSD source tree
-
mason
-
VimDiesel
Title: MasonLoringBliss/ZFSandGELIbyHAND - FreeBSD Wiki
-
Oleg
mason: do you know for how long we have to wait until freebsd drm-kmod starts corresponding to version 5.13 of the linux kernel? I ran into the same issue this guy did:
forums.gentoo.org/viewtopic-t-11362…stdays-0-postorder-asc-start-0.html .
-
VimDiesel
Title: Gentoo Forums :: View topic - [SOLVED] Intel graphics, no signal once kernel loads i915
-
mason
Oleg: The efnet #freebsd-xorg folks might know.
-
mason
I don't unfortunately.
-
kolla
antranigv: thanks!
-
kolla
I really find it awkward that the installer insists on using entire disks and doesn't even let the user decide how much of the disks to use
-
mason
kolla: The installer gives you a shell to partition if you want.
-
mason
Can't get much more flexible than that.
-
kolla
yes, but that requires skills beyond normal to get it working
-
kolla
that is why I asked, because no matter how nice and tiny and finished I made the zpool manually, after install, on bootup, it _only_ mount the zroot/ROOT/default, and no other zfs
-
mason
It's not that bad to do
-
kolla
well, clearly the "auto" thing does some magic I didn't do, despite 20-30 lines of manually defining it all
-
kolla
I set all mountpoints correctly, I zpool set bootfs, I could export and import zroot manually and all looked nice
-
kolla
but on reboot... bah meh, no
-
kolla
an empty /usr doesn't get the system far :)
-
mason
Did you make sure it was all in place before letting the installer populate it?
-
mason
Or was everything populated, and just not mounting on boot?
-
mason
This might be cargo-cult of me, but I think you still need vfs.root.mountfrom=
-
mason
in loader.conf
-
kolla
yes, everything is populated correctly... I boot from installer USB stick, I can import the zpool and all is there, all filesystems, nicely populated
-
kolla
if I let the installed have a go with entire disks, that is default... I don't get any vfs.root.mountfrom= in loader.conf
-
kolla
it would be ok to let it have all disks if I could shrink the pool afterwards... but I believe that isn't an option
-
mason
Using GPT partitions is the way to go, yeah.
-
kolla
if installer could create a rather minimal zroot pool, it wouldn't be hard to expand it afterwards though...
-
kolla
yes, have to use GPT, 8 x 4TB disks
-
kolla
odd thing is.. I have this other identical system that I installed 3 years ago or so, and I don't recall having this struggle
-
mason
kolla: I'd recommend taking notes on how you're doing the partitioning, and then having my guide there to make sure as you go through that you're not missing anything.
-
kolla
wellwell, I will try to follow the last guide there, thanks again :)
-
kolla
mason: yes
-
mason
Well. Do your own thing but make sure if the guide is doing something that you're either doing an equivalent or that you explicitly don't need to.
-
mason
Good luck anyway. Hitting the sack here.
-
kolla
thanks, and... good idea to also inclide EFI partitions, my systems are indeed legacy (though 64bit), but who knows, maybe I want to move it over to EFI system later
-
kolla
good night :)
-
kolla
also... really wish the installer iso was prepared for running sshd, which today isn't any "out of the box" experience, with read-only /etc/ssh and /etc/passwd
-
kolla
</rant mode>
-
dksnd
do old freebsd cd releases include binary packages or distfiles?
-
ketas
dksnd: on other cd's or dvds there were packages... depends how old
-
ketas
by old we surely mean 4.6?
-
dksnd
around 2005-2006
-
ketas
-
VimDiesel
Title: Index of /pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/
-
ketas
it's all here
-
ketas
i don't think anything included ports distfiles... so you need to search for that somewhere else
-
dksnd
but those are pretty useless without the ports/packages
-
ketas
you have packages
-
ketas
but old source is pita
-
ketas
i bet you can get old kde running
-
ketas
won't put money on that though
-
ketas
what's the use case of that?
-
dksnd
a retrocomputing experiment
-
ketas
hmm
-
ketas
i have no idea what packages are in 6.0r cd2
-
ketas
that's supposedly full of them
-
ketas
never used that feature
-
ketas
but it comes handy
-
ketas
i also have too many ports distfiles...
-
ketas
somehow i've stored them
-
ketas
unsure if there is mirror of them
-
ketas
seems way too much data
-
ketas
no problem with base though
-
ketas
every installer has copy
-
ketas
i think you could install *some* things from selected packages included in installer medias
-
ketas
funny how windows or dos might be easier to retro-setup
-
ketas
eh
-
ketas
i could install 4.6 for fun
-
ketas
4.6 because that's where i started at
-
LXGHTNXNG
e?
-
ketas
e?
-
dksnd
so I installed freebsd 5.3, but it refuses to boot lol
-
Molnija
xd
-
DeaDSouL[m]
-
DeaDSouL[m]
it's UNIX & GNU/Linux useful things written in a chetsheet style using VIM markers in a text file
-
DeaDSouL[m]
if you're interested in helping out, you're more than welcome to
-
DeaDSouL[m]
As you're so welcome to use it
-
VimDiesel
Title: Mubarak Alrashidi / NixGems · GitLab
-
dksnd
it prints a menu "F2 FreeBSD" and nothing happens then
-
dksnd
I can use a livecd to manually load its kernel and provide the root path interactively
-
dksnd
does it mean F2 key will boot the corresponding partition?
-
dksnd
I used boot0cfg on the entire hdd and disklabel on the freebsd slice
-
dksnd
interesting, when I use an external loader to boot to the partition directly, it shows a boot menu and a devil ascii art
-
dksnd
it seem to mount the root automatically from that menu
-
dksnd
àpparently "packet,noupdate" options did the trick
-
meka
dksnd: which software has those options?
-
dksnd
boot0cfg
-
dksnd
sh doesn't like non-ascii characters it seems
-
CorvetteZR1
hello. i just did a pkg-upgrade on my freebsd 13.1 laptop with kde, and after reboot, i no longer get sddm login screen; just black screen with cursor
-
CorvetteZR1
using pkg quarterly. was working fine before this update. anyone else facing similar issue? any known fix?
-
CorvetteZR1
sddm log does not show any (obvious) errors
-
cpet
what does Xorg.log say
-
CorvetteZR1
i don't see any errors there either. i think Xorg is fine, because i the rendered cursor
-
CorvetteZR1
i think it's something specific to kde plasma and/or sddm
-
cpet
ldd `which sddm`
-
CorvetteZR1
returns bunch of suff...anything specifc i should look at?
-
cpet
Missing
-
CorvetteZR1
doesn't show anything missing
-
cpet
do you have the port cloned ?
-
cpet
ports*
-
CorvetteZR1
i do; probably need to update, but yes
-
cpet
compile it by hand see if that fixes it
-
CorvetteZR1
hmm, ok. just sddm or all of plasma?
-
cpet
as long as you dont change the dewfault options you wont have issue with pkg
-
cpet
actually as root service sddm stop
-
CorvetteZR1
yea, i don't think i ever needed to touch sddm options on this laptop
-
cpet
echo "startplasma" > ~/.xinitrc && startx
-
cpet
see if that works
-
cpet
think I got the start script wrong but start<tab> will give you the correct name
-
cpet
if that fails then yeah recompile the full kde*
-
cpet
and note it will take "a while"
-
paulf
CorvetteZR1 I had a few problems like that
-
paulf
I don't think that the problem is with sddm, I can ssh in and I see plasma etc starting
-
paulf
If I start killing things in reverse order of pid then it will restart services and I get KDE up
-
paulf
This seems intermittent, and I haven't yet started taking notes and recording pstacks
-
CorvetteZR1
sorry, had to take a call...will try that now cpet
-
CorvetteZR1
paulf, cool, i'll play with it and see
-
CorvetteZR1
cpet, looks like it's same behaviour with startplasma and startx...black screen, only cursor
-
CorvetteZR1
so it's probably not a sddm thing then, looks like plasma specific
-
antranigv
looking for mpts / 0mp
-
antranigv
I wonder if my ZNC has lost messages
-
paulf
I also tried renaming ~/.config to ~/.config.bak and rebooting which had no problems
-
paulf
but I didn't want to lose all my settings so that was just for testing
-
CorvetteZR1
actually, when i right click, i get the kde right click menu
-
CorvetteZR1
so it's just the actual desktop that's not being rendered
-
CorvetteZR1
it can even draw the kde settings window, but there is nothing in it
-
mason
kolla: Hey, don't know if you saw the link, but while it's maybe vaguely tedious, you can get ssh going from the install environment:
wiki.freebsd.org/MasonLoringBliss/InstallEnvironment
-
VimDiesel
Title: MasonLoringBliss/InstallEnvironment - FreeBSD Wiki
-
mason
Would have mentioned this last night if I knew you wanted it, but I'd gone to bed.
-
CorvetteZR1
does freebsd have scrolling in tty? shift+ pageup not working for me...
-
cpet
yeah thats not the key combo
-
CorvetteZR1
and this keyboard does not appear to have a scroll lock
-
cpet
ctrl alt pgup I think
-
CorvetteZR1
no, that's not doing it
-
cpet
you will need a scroll lock :)
-
CorvetteZR1
ah, got it...Fn K
-
CorvetteZR1
i'm seeing bunch of TypeErrors from main.qml
-
CorvetteZR1
TypeError: Connect read property ;configuration' of null
-
CorvetteZR1
something is definitely messed up with plasma
-
CorvetteZR1
is there a plasma5 meta port?
-
CorvetteZR1
is plasma5-plasma it?
-
CorvetteZR1
ah, it sure is :)
-
CorvetteZR1
ok, i think it's working now
-
CorvetteZR1
i saw some OpenGL errors when starting with startx. i reinstalled the nvidia-driver-390 port (because i have an old fermi). reboot and now it's loading
-
CorvetteZR1
thanks for your help cpet and paulf !
-
ssm_
I'm interested in dualbooting freebsd alongside openbsd as a gaming platform (steam/wine), what pitfalls can I expect, and should I just go with linux instead?
-
rtprio
why don't you try it and find out
-
ssm_
because it's a bunch of work and if it sucks anyways it'd be nice to get some opinions in advance
-
antranigv
ssm_ well, most FreeBSD people dualboot with Windows/Linux, most OpenBSD people don't dualboot at all, this will be a very hard research :D
-
CrtxReavr
I used to build a lot of multi-boot images - often with 3-4 OSes each.
-
CrtxReavr
The age of virtualization sorta killed off the need for much of that.
-
CrtxReavr
Though. . . dual-booting FreeBSD & OpenBSD should be pretty trivial.
-
CrtxReavr
Start with FreeBSD, be sure to install the FreeBSD boot manager (and leave un-partitioned (sliced) space on your first drive for OpenBSD.
-
ssm_
wasn't worried about the difficulty of dual booting, just wanted to know how well wine (&| the linuxulator w/steam) works comparatively to linux
-
CrtxReavr
When you install OpenBSD, but sure not to let it touch your MBR.
-
CrtxReavr
And you shoudl be golden.
-
ssm_
I'm using efi, so I don't think there should be any problems
-
CrtxReavr
I love FreeBSD, but if I wanted a *nix OS for Steam, I'd go with ArchLinux, since it's what Steam Decks are built with. . . best gurantee of support & compatability.
-
CrtxReavr
That said, there's plenty of happy people doing it with RHAT & Debian derivatives.
-
mason
Steam on Debian is reliable. The actual Linux application you install is still based on some old Ubuntu.
-
ssm_
I don't want to know about debian or arch, I want to know how well freebsd supports it
-
ssm_
I can't stand linux, if I just wanted the easy solution I wouldn't have even asked in the first place
-
mason
Was replying to CrtxReavr, but sure.
-
mason
Tell us how it works out, anyway. I'd be curious to know.
-
cpet
ssm_, whats wrong with slackware ?
-
mason
cpet: No package dependencies. Imports PulseAudio and elogind.
-
r0ni
best parts of slackware!
-
cpet
we do as well
-
-
VimDiesel
Title: I Do Not Want What I Haven't Got - YouTube
-
mason
cpet: That's part of why I recommend Debian for the purpose - very happy with neither of those.
-
mason
That said, I've been curious for years now about how Steam on FreeBSD (sans wine) is progressing.
-
cpet
just recompile x without pulse
-
ssm_
cpet: no linux distribution has administration tools I enjoy using; when something goes wrong (which I expect is just inevitable with linux) I won't know how to fix it
-
cpet
what sort of admin tools are required that arent in *nix
-
cpet
most sysadmins create there own
-
cpet
right now im on a openbsd host logged into a freebsd system next to this one
-
mason
ssm_: FWIW, if you get into an install, realize that you're probably safer building drm-kmod from ports, as the binary packages can be problematic as you move up minor revisions. While this is being looked at and will be address someday, for today you want to build it locally for the installed version.
-
mason
s/address/&ed/
-
cpet
theres an option that rebuils a portt after each kernel
-
cpet
i do this and prevent issues with drm*
-
mason
Ah, TIL. What's the option?
-
cpet
PORTS_MODULES
-
cpet
Set this to the list of ports you wish to rebuild every
-
cpet
time the kernel is built.
-
cpet
in make.conf
-
CrtxReavr
cpet, that mean they'd be build by buildkernel?
-
cpet
yeap
-
CrtxReavr
s/build/built
-
CrtxReavr
Cool.
-
cpet
this breaks freebsd-update if you add or remove options
-
cpet
this this is nice if you use current
-
CrtxReavr
I'm a luddite who maintains is world & kernel from src.
-
cpet
too each there own
-
CrtxReavr
Indeed.
-
CrtxReavr
Lots of rope.
-
cpet
pkg install tmux firefox xorg xfce4 hexchat drm-kmod
-
cpet
is all I do now heh
-
CrtxReavr
Why tmux?
-
cpet
changing drm-kmod for tigervnc
-
CrtxReavr
As opposed to screen, I mean.
-
cpet
its whats on open and got used to it
-
CrtxReavr
hmm
-
CrtxReavr
I've literally built-up over three decades of screen muscle memory.
-
cpet
on a lame point its not gnu
-
cpet
:)
-
cpet
however ive been on some peoples servers and they have screen doesnt bother me i just like tmux
-
mason
CrtxReavr: I've heard you can remap tmux now to match your finger memories. Also, it's permissively licensed. As for me, it's free software and I like it, and I've actually needed it for serial consoles in the past, so I stick with it.
-
CrtxReavr
Not a big GPL fan, certainly, but I prefer functionality over license zealousy.
-
mason
^
-
mason
I actually quite like the GPL, just not how some folks interpret it.
-
ccx
tmux (and dvtm if you want something slimmer) can do lot of useful window layouts, unlike screen
-
CrtxReavr
BSD and other licenses are a lore more business friendly.
-
ccx
And if making terminal session reattachable is the only thing you want then dtach is much simpler
-
cpet
tmux works nicely when you have process limitations :P
-
mason
Eh, having been part of several businesses that build things based on GPL'd code, I think that's more notional than real.
-
cpet
then get mad when they are forced to submit src
-
cpet
again too each there own regarding licenses
-
CrtxReavr
I mean. . . my employer flat-out forbids running anything covered under gpl3.
-
ccx
Also tmux's interface is quite nice for scripting access to the terminal states, should you for some reason want that.
-
mason
I like 'em all. Free sofware, gimme more of it.
-
SymbioticFemale
-
VimDiesel
Title: cron, pam_opie.so and FreeBSD 9.1 | The FreeBSD Forums
-
SymbioticFemale
" Thus updating libs and binaries but not restarting the services that was already running..."
-
megaTherion
Someone know if it's possible to run Mac OS on bhyve technically?
-
» CrtxReavr cringes when he sees people using the reboot command.
-
megaTherion
what's bad with reboot?
-
CrtxReavr
Just not best practices. . .
-
SymbioticFemale
yeah what did i do wrong
-
megaTherion
I use it quite often, init* smells too much SyS-V
-
megaTherion
(often as in, if I ever have to reboot)
-
CrtxReavr
You know how your system has the rc.d/* scripts. .
-
megaTherion
sure
-
CrtxReavr
And when your system boots, they all get run with the 'start' keyword?
-
megaTherion
reboot is just an alias isn't it?
-
megaTherion
the script's get invoked if you mean that
-
CrtxReavr
Well, the scripts don't get run wtih the stop keyword on reboot, if that's what you mean.
-
CrtxReavr
Not unless there's been a recent change.
-
megaTherion
hmm Im not sure if I remember correctly, I dont often reboot - today I had to shutdown a BSD host and honestly just pushed the power knob (Which uses ACPI)..
-
CrtxReavr
I mean, depending on what you're running, that may not be a big deal. . . but that's where it comes down to best practices.
-
megaTherion
so I thought I remember that the scripts issued with "Stopping XYZ..."
-
CrtxReavr
Normally, the shutdown(8) utility is used when the system needs to be
-
CrtxReavr
halted or restarted, giving users advance warning of their impending doom
-
CrtxReavr
and cleanly terminating specific programs.
-
CrtxReavr
That's straight from reboot(8).
-
megaTherion
hmm okay
-
CrtxReavr
So. . . ``shutdown -r now`
-
megaTherion
so reboot just sends SIGKILL?
-
megaTherion
ah well SIGTERM and SIGKILL
-
CrtxReavr
or ``shutdown -p now`` instead of halt.
-
CrtxReavr
Right.
-
megaTherion
which is not too bad since the programs are supposed to handle this :) but yeah maybe not soo great either
-
CrtxReavr
And you may be on a system where there's a shutdown or cleanup procedure for a specific service.
-
megaTherion
but yeah I simply dont reboot that often, not using FreeBSD as desktop
-
CrtxReavr
Like a relational database, or some shit.
-
megaTherion
ya databases are evil
-
CrtxReavr
It's just best practice to avoid use of the halt & reboot commands.
-
rtprio
... what
-
SymbioticFemale
ok so i keep getting errors regarding pam_opie.so not being found. this library file does not exist on my system.
-
laidback_01
SymbioticFemale, the link you provided... basically restart the services or reboot the machine
-
SymbioticFemale
i see. that won't solve my issue then since i've restarted since any update.
-
rtprio
SymbioticFemale: it was removed from freebsd
-
DrNick42
hi all. strange observation I don't understand. I have an additional loopback interface configured with some addresses assigned to it (for use in jails). when I try and ping an address assigned to lo1 e.g. 127.0.1.1, the traffic appears in tcpdump over lo0 instead.
-
rtprio
that's because 127.0.1.1 is in the 127.0.0.1/8 network of lo0
-
SymbioticFemale
so to compensate for pam_opie.so being removed, can i just comment out any lines in pam.d/* that reference it?
-
rtprio
SymbioticFemale: yes; or rmove thehose lines
-
SymbioticFemale
thanks!
-
DrNick42
ah yeah, thanks. for some reason I thought loopback was a /24. what addresses would you typically assign to a second loopback then?
-
rtprio
do you really need a second interface for it?
-
DrNick42
hm. probably not. I guess the thinking was to just keep lo0 as standard as possible, but I suppose I could just assign the additional addresses as alises for that
-
rtprio
the address is fine, but i'd skip using lo1 unless you had a great reason to do so.
-
DrNick42
cool thanks, will just assign them to lo0 - should work the same in terms of setting them as jail IPs
-
pertho
Can anyone tell me how to fix this? "The following files are affected by updates. No changes have been downloaded, however, because the files have been modified locally: /var/db/etcupdate/log". Happened after a freebsd-update fetch/install
-
SymbioticFemale
rtprio: thanks again. it solved my problem and i can login again :-D
-
rtprio
👍
-
pertho
not found anything substantial in the freebsd docs/handbook.. not sure if I overlooked something.
-
rtprio
i'd look in the `man etcupdate` but i'd probably unmodify that file.
-
pertho
not sure how I'd "unmodify" it.. is there a stock version to compare it to?
-
rtprio
i'd probably move it to the side and try to run it again
-
Remilia
cpet: there was also a period when screen would randomly segfault on terminal window resize or just plain attach with a different window size than was when detached, it was absolutely infuriating
-
Remilia
and that is how I switched to tmux
-
Remilia
though I do have its command key bound to ^A
-
rtprio
i did that as well
-
CrtxReavr
Remilia, was that in 1993?
-
nacelle
tmux didnt handle window sizing properly until recently, and even then there's some special "super-long-to-type" options for it
-
nacelle
(for reattaching anyways)
-
CrtxReavr
It's been a LONG time since I've observed issues like Remilia is describing with screen.
-
nacelle
whereas screens reattach has automatically resized for literally decades
-
nacelle
i've never seen that and i've been using screen since the 90s
-
nacelle
-shrug-
-
Remilia
CrtxReavr: it was from 2007 to around 2012
-
CrtxReavr
I've seen screen freak out when switching between certain combinations of terminal types.
-
Remilia
I think it still happens according to a friend, I just no longer use screen myself
-
CrtxReavr
Probably an envirionmental thing, vs. an issue with screen itself.
-
nacelle
thats my guess
-
Remilia
CrtxReavr: PuTTY + FreeBSD, nothing else
-
CrtxReavr
Putty emulates lots of things.
-
nacelle
maybe i've just been lucky in picking the right sized terminals to not cause it to crash on reattach this whole time ;-)
-
CrtxReavr
Plus, bytes do occasionally get munged.
-
Remilia
nacelle: I am not sure what was wrong with tmux resizing tbh, unless you mean when you have two terminals attached to one session and one of them is smaller
-
nacelle
Remilia: that is the problem
-
CrtxReavr
A ^L or ``echo ^VAlt-O`` can do wonders.
-
Remilia
nacelle: you mean screen would resize the terminal window on the smaller side?
-
nacelle
tmux attach -f ignore-size,active-pane
-
Remilia
CrtxReavr: I mean, it is most definitely not an issue with screen if it segfaults due to terminal resizingf
-
Remilia
it is expected behaviour
-
Remilia
a tool like screen *should* crash unexpectedly
-
CrtxReavr
Again. . . used screen for over 30 years. . .
-
CrtxReavr
I've never encountered that, but you have. . .
-
nacelle
irssi handles the resizing without issues
-
CrtxReavr
What conclusion are we to draw?
-
» Remilia .oO(I see . . . those are. . . the. . . fabled. . . ellipses. . .)
-
CrtxReavr
<=== irssi inside of screen, all day, every day.
-
mason
I can't remember ever seeing screen(1) crash.
-
Remilia
nacelle: yeah I ran irssi
-
Remilia
and attaching to irssi led to segfault once every 1-3 weeks
-
nacelle
CrtxReavr: I am doing irssi in screen and irssi in tmux all day, every day... -sigh-
-
CrtxReavr
I've seen it crash, but not on any chronic or systematic basis.
-
Remilia
it only started sometime in 2007
-
CrtxReavr
Update your shit?
-
nacelle
I havent bothered to upgrade the tmux on the box where i'm running screen, where its tmux doesnt support the ignore-size bit
-
Remilia
also, I always used the latest versions of ports since I do not use binary packages
-
Remilia
I guess ‘update your shit’ means using the git HEAD?
-
Remilia
instead of ports
-
pertho
screen? why use that when tmux is so much better and cleaner code?
-
Remilia
pertho: religion, I assume
-
nacelle
tmux doesnt do all the screen does yet
-
mason
Or "if it's not broken, don't fix it."
-
nacelle
if you're used to what screen does and tmux doesnt do it... you still use screen
-
Remilia
tmux is also noticeably lighter on my 1 GHz 6W Jaguar SoC
-
pertho
it does everything I need it to
-
nacelle
try harder
-
ccx
nacelle: You mean attaching to serial tty?
-
nacelle
no, i never use it for that, eww
-
Remilia
tmux can attach to bhyve stuff and that is enough for me
-
nacelle
(I am a minicom nerd)
-
CrtxReavr
14:43 < pertho> screen? why use that when tmux is so much better and cleaner code?
-
CrtxReavr
Did you come up with that on your own?
-
ccx
Then I have no clue what screen-specific feature you are talking about.
-
nacelle
I already talked about some of it
-
pertho
CrtxReavr: screen has (or had?) a lot of really ancient, legacy code
-
nacelle
tmux doesnt handle resizing well, and only recently (in the past year) took on the correct fix that works like screen -always has-, but you have to enable it with a horrible command line option
-
nacelle
its not just like "screen -x" and bam yer in
-
ccx
I've never had issue with the way tmux handles resizes FWIW.
-
mason
CrtxReavr: I'll go with pertho on this one. screen(1) uses the GNU brace style. It's far more pleasing looking at tmux source.
-
nacelle
ccx: I definitely have, to the point of pursuing the fix with the tmux devs.
-
nacelle
which is why its in place.
-
mason
That said, I don't look at it ever so that hasn't been a factor for me. :P
-
» CrtxReavr facepalms.
-
ccx
Was it FreeBSD-specific? Because I've haven't encountered it in past decade or so.
-
nacelle
no
-
rtprio
tmux handles resizing fine; perhaps you should polish your tmuxrc
-
nacelle
its been there forever. if you reattach in tmux without any options, the tmux virtual terminal stays the same size as the originating session
-
pertho
yeah I've not had issues with tmux resizing
-
Remilia
I still think it is a matter of religion, I am not going to tell anyone to switch to tmux but when people tell me ‘screen is better, tmux is bad’ I can only shrug
-
nacelle
it wont resize to your current terminal
-
rtprio
setw -g aggressive-resize on in your tmux.conf
-
Remilia
nacelle: it resizes for me as long as there are no other sessions with smaller sizes
-
Remilia
automatically
-
Remilia
I have no clue why
-
nacelle
i'm not disconnecting my other sessions
-
Remilia
(and it has been doing that since I started using it)
-
nacelle
rtprio: I use ignore-size
-
nacelle
the correct fix for me has been to use -f ignore-size,active-pane
-
nacelle
(active-pain!)
-
Remilia
"By default, all windows in a session are constrained to the size of the smallest client connected to that session, even if both clients are looking at different windows. It seems that in this particular case, Screen has the better default where a window is only constrained in size if a smaller client is actively looking at it. This behaviour can be fixed by setting tmux’s aggressive-resize option." hmm
-
nacelle
I have mutliple workstations in my house, with multiple floors, and a phone that I journey out into the world with. From all of these I can access the same tmux sessions (through various vpns and whatnot, of course)... I dont disconnect my existing tmuxes, which a lot of paranoid people do (same with screen - how many people use screen -rd vs screen -x ? probably heavily for -rd and far less for -x,
-
nacelle
though -x is -far- more convenient for the lazy)
-
ccx
I find tmux default perfectly reasonable there. But that option has been there for ages.
-
nacelle
aggressive-resize doesnt take care of it iirc
-
nacelle
its been a while since i've dug into this
-
nacelle
(which is approximately when ignore-size came around)
-
ccx
So you want to crop the screen on some clients? Weird, but you do you.
-
nacelle
(I'm not asking for a solution)
-
nacelle
I want the terminal to be wrapped normally on each client
-
nacelle
the irssi status bar should be roughly readable, etc.
-
nacelle
its not hard
-
nacelle
its not weird
-
ccx
It is hard if the application uses cursor-moving escapes and relies on certain terminal size. It will break certain applications if the actual and assumed terminal sizes are different. You may not use those applications but it's certainly not a setting that should be default.
-
ccx
It is a sad fact of the tty design that it hasn't been designed to be easily reflowable, but it's one of the many warts we've been stuck with for past 40 years.
-
megaTherion
Someone know how I can define an outgoing interface for an ipv6 defaultroute when I've two interfaces in same network?
-
bahamat
megaTherion: I don't know if this works but try creating a static route for :: with a next-hop of <router ipv6>%<desired interface>
-
bahamat
So like fe80::abcd%igb0
-
megaTherion
bahamat: thanks, good idea - that worked
-
megaTherion
damn I totally forgot about the % prefix syntax
-
nacelle
ccx: I disagree with not as a default, but i'm basing that on screen having it that way as default for 30+ years - it worked well there imo, but thats just me
-
dch
as a single user, I just use `tmux -u new -DAs default` and as far as I know, just tmux defaults
-
nacelle
"-s default" is kind of redundant, no?
-
kolla
mason: regarding ssh to iso boot, yes that is what I ended up with doing... like I wrote, not entirely an "out of the box" experience :)
-
mason
kolla: Maybe someday I'll get involved enough to offer up patches.
-
kolla
also... I got my zroot as I want eventually - I really cannot tell what I did different, but it _might_ have been a mislocated "canmount" vs. specified mountpoints
-
mason
That'd do it, sure.
-
kolla
so now I have 8x4TB, all disks partitioned the same, all bootable, all set with first 50GB zfs partitions in a mirror zpool, and remaining diskspace in a raidz3