libera/#devuan/ Sunday, 2024-07-07

joerg#eudev03:23
hightower2On daedalus, in console, why doesnt shift+pg/up down scroll the buffer?17:49
gnarfacehmm, it should, really17:50
gnarfacei suppose i could imagine a couple reasons why it wouldn't17:51
gnarfacemaybe a framebuffer driver issue, or maybe it just loses history when you switch consoles...17:51
gnarfacei think i've seen that happen a couple times anwyay17:51
gnarface*anyway17:51
fsmithredshift-pgup is gone. I was reminded of this recently. The workaround is supposed to be to use tmux.17:54
debdog(or screen (just to be complete))17:57
debdogbut yes, I missed shift-pgup, too17:58
gnarfacedamn, really?18:04
gnarfacewtf18:04
gnarfacemore fucking vandlism18:04
gnarface*vandalism18:04
gnarfaceany way to re-enable that by a kernel rebuild or something?18:05
debdoggnarface: https://www.linuxquestions.org/questions/showthread.php?p=616771918:07
debdog.....The one thing that does show up in the diffstat is the softscroll removal (both fbcon and vgacon), and there are people who want to save that, but we'll see if some maintainer steps up. I'm not willing to resurrect it in the broken form it was in, so I doubt that will happen in 5.9, but we'll see what happens.....18:09
gnarface:(18:11
rustyaxefbcons/vgacons have been broken for decades really18:13
rustyaxeat least a good decade18:13
fsmithredok, so how do I get shift-pgup to work in screen?18:14
fsmithredis there some ctrl-? to do it?18:14
debdog.oO( mayhap I should add screen/tmux to start upon login for ttys. so I am able to scroll back if needed witout having to remember to start screen/tmux each time)18:14
rustyaxectrl-A pgup/dwn, fsmithred?18:14
debdogfsmithred: ctrl-a enters ...18:15
debdogwhat rustyaxe said18:15
fsmithredI'l ltry it18:15
debdogctrl-a ESC exits the edit mode18:15
rustyaxectra-[ then pgup/pgdwn sorry18:15
debdogerm, just ESC18:15
rustyaxei use tmux so its a bit different here18:15
debdogjust tried ctrl-a and ctrl-[ seem to be the same (but on a non qwery keyb ctrl-a ESC is easier to type)18:16
debdogerm ctrl-a ESC18:17
debdogjust tried "ctrl-a ESC" and "ctrl-[" seem to be the same (but on a non qwery keyb ctrl-a ESC is easier to type)18:17
debdogdang, too tired, sorry18:18
debdogctrl-a ESC vs. ctrl-a [18:18
* debdog shuts up no18:18
buZzdebdog: ctrl-a [18:18
debdogw18:18
buZzyou dont need the second ctrl18:18
debdogright18:18
debdogsorry18:18
buZznp18:18
buZzthought you didnt know, was just aiding :)18:19
fsmithredok, I got it to work once. Can someone tell me what sequence of keystrokes I used?18:22
debdogeither ctrl-a ESC18:23
debdogor ctrl-a [18:23
debdogthis enters copy mode one thing that is capable of is scrolling18:24
debdogto exit this mode hit ESC18:24
fsmithredok ctrl-a [18:24
fsmithredthanks18:25
buZzits copy mode, you can put cursor on first postition, and press enter, put cursor on last position , press enter18:25
buZzyou exit the mode then18:25
buZzctrl-a ]  is 'paste' then18:25
buZz:)18:25
buZz-sometimes- really handy18:25
debdogfsmithred: in ~/.screenrc I have added "defscrollback 5000" to have a longer history (default is 100)18:27
debdoglines that is, IIRC18:28
debdogesp. when compiling things this is useful18:29
fsmithredyeah, thanks18:29
fsmithredfor years, I used to hit the scroll lock key to pause long output and then I leared about shift-pgup.18:30
debdoghehe, try scroll-lock with a 3 GHz CPU18:31
debdogI understand18:31
buZzjust set your tty to 9600 baud18:35
buZz:D18:35
rwpI find that loss of vt console scroll back most annoying at boot time when I want to scroll back to read the boot messages which scrolled off.  Can't use screen/tmux for those messages.  So it is just a loss of functionality.18:46
buZzrwp: you're making a good point for hooking up old matrix printers for /dev/lp0 and redirect console to there ;)18:47
buZzfeels very retro too :D *boot computer* *prrrrt prrrrrt prrrrrrt* paper rolls out :D18:47
rwpI presume that some government office still has a contract to buy tractor feed zig-zag computer paper but I would have no idea where to find it myself now.18:49
buZz:)18:50
buZzthe building we were donated for the hackerspace, came with a couple of boxes of it , and a boxed Star LC-2018:50
rwpA hackerspace would be a good place for a retro computer museum setup!18:51
hightower2jezus christ... when will debilization of unix stop18:58
hightower2or well, 'sane' linux anyways18:58
buZzrwp: we have some microVAX, a VT420 , 1 or 2 decwriters , a PiDP 11 , loads of stuff18:58
hightower2I'm tired of stupid defaults being introduced, or things like this shift_pgup removed18:59
hightower2like what the hell18:59
buZzrwp: feel welcome to come lick them or whatever ;)18:59
buZzhaha18:59
buZzhightower2: are you talking about xterm?18:59
hightower2it doesn't matter that we have devuan when things change for the worse in underlying aps18:59
buZzi doubt anyone remembers where in sourcecode shift+pgup/dn is defined :D18:59
hightower2buZz, no the console (my question from some pages above)18:59
buZzah, the textmode console without kms?19:00
buZzbecause, if you switch modes the buffer gets wiped19:00
buZzand sometimes the 'first displayed prompt' clears the buffer too , regardless of modes19:00
hightower2no I am on the same term, didn't change console or anything19:00
hightower2see responses I got for clarification19:01
buZzquite sure debian has been clearing that buffer for 'security' since debian 9 or 1019:01
buZzweird, would my bookworm here do the same? /me tries19:01
buZzgee, indeed19:02
buZzTIL :)19:02
buZzi guess some linux 6.x change?19:02
dan9erHello everyone! I'm going to attempt to rescue some data from a laptop with an inflating non-removable battery. It's running x64 Chimaera. My plan is to install `openssh-server` on it (with pre-downloaded .debs) and SSH in from afar to move files to a USB. How do I quickly set it up so I can SSH in with a password?19:04
gnarfacedan9er: i think user passwords access is still enabled by default, just not root. you can "su -" after login and do whatever you need to do19:06
gnarface(i would be more sure of that if i hadn't just discovered that console scrollbacks are no longer available, but that's an unrelated issue)19:07
dan9erI recall reading somewhere I had to add users to the `sshusers` group19:07
* dan9er realizes the PC he's typing on is also Chimera and he can just test it with his laptop19:08
gnarfacei haven't had to do any such thing on any of my installs here, but they're almost all upgrades from previous releases19:11
gnarfaceperhaps you're thinking of the "sudo" group for sudo?19:12
gnarfaceyou do have to add yourself to the sudo group to get sudo access, but you don't need sudo to get root as long as your install enabled a root password (and you know what it is)19:12
gnarfaceand depending on what you're actually doing and how your install was setup you might not need root at all to backup what you want19:13
dan9erNow I'm thinking that `sshusers` group came from that "How To Secure a Linux Server" guide, that's an explicitly configured thing19:16
gnarfaceseems plausible19:16
gnarfaceif you're sharing the system with multiple users it certainly would be a good idea to make a special group for the ones who get ssh access19:17
gnarfaceand i don't know for sure that there aren't other distros that enforce that by default19:17
dan9ergnarface: huh, it indeed just works out-of-the-box19:25
dan9erWell that's both a relief and a bit concerning19:26
dan9erRight, thank you!19:27
AlexLikeRockO/19:39
rwpbuZz, "i doubt anyone remembers where in sourcecode shift+pgup/dn is defined :D" ahem...  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=20782abbbdfe922496a28f9cc0c3c0030f7dfb8f19:45
buZz<319:46
buZzrwp: but that comment was about xterm's source being archaic and ancient and barely maintainable ;)19:46
buZzlol the guy that removed it is called 'nopnop nop' ? :D19:47
rwpxterm?  If we mention that three more times then Thomas Dickey will appear and answer our questions about it.  (Seriously!  He has a web search where he is notified of mentions of it.)19:48
rwpI don't see where we were talking about xterm as I thought we were talking about the Linux vt console.19:48
buZzsweet!19:48
buZzrwp: yeah sry, i assumed it was about gui before reading full backlog ;)19:48
rwpI don't see Thomas on IRC channels but in mailing lists that is definitely true. :-)19:49
buZzmaybe he wants to update osso-xterm for Maemo Leste ;)19:49
buZzotoh its fine as-is19:49
rwpAnd then was there something about getty clearing the terminal?  I just skimmed and was not sure.  That changed a decade ago and I have been adding --noclear to my getty options ever since.19:49
rwpbuZz, I used a DEC Writer terminal quite a bit in my university days!  That brings back the memories.19:50
buZzwe brought one to a makerfaire lastyear, and let children interface with our uncensored chatgpt instance hosted at the hackerspace :P19:52
buZzwe have nice long printouts of 6yos trying to outsmart a chatbot , its great fun19:52
rwpHa!19:52
buZzthe kids usually won once someone helped them with spelling :P19:53
buZz</offtopic>19:53
joerg>>So rather than try to maintain a ***likely*** unused set of code, I'll just ***aggressively remove it***, and see if anybody even notices<< committer  Greg Kroah-Hartman21:22
joerg:-S21:23
golinuxThe INFAMOUS Greg Kroah-Hartman!21:26
AlexLikeRockjejej21:26
golinuxNo surprise there. He's been at it for years21:26
golinuxHi AlexLikeRock!21:27
mrnhmathdidn't he try to remove usb tethering21:27
mrnhmathor was it someone else21:27
AlexLikeRockhi21:27
AlexLikeRockjejeje21:27
AlexLikeRock2 weeks ago we read each other, but you were drowsy : golinux21:29
golinuxTea time now which should wake me up. :D21:31
rwpThe committer was GKH but the author was listed as Linus Torvalds so as the old saying goes the fish rots from the head to the tail.21:37
mrnhmaththose people are nuts21:52
* AlexLikeRock go to play Final Fantasy X21:54
buZzjoerg: ah that was GKH , not 'nopnop nop' :D21:56
buZzmuch better21:56
joerganyway, how hard would it be to roll back that commit? O had no problems with the scrollback when it was still alive, so I don't exactly bother a lot about some "bugs / bitrot" they claim they found in there22:00
buZzit seems to be mostly contained to just those two files , shouldnt be very hard?22:02
buZzyou could try plonking 1:1 copies from kernel-prior over it22:02
buZzthere's likely 'a proper git way to do this' but i dont know it22:03
debdogwhy is this suddenly an issue? this has been done since at least chimaera? not one of you guys realised it since?22:03
buZzi dont really care about it :P22:04
debdogwhere was the outcry years back?!22:04
buZzwe didnt start the fire22:04
buZz;)22:04
debdogjust curious22:04
buZzjust topic du jour22:04
joergdebdog: it's a feature I need rarely but _when_ I do, it's a pain to not have it available. That's the reason it went "unnoticed" for quite a while, until rwp(?) mentioned it not being me and my senile memory but actually a kernel regression. Ever since this is an annoyance lingering on22:08
debdog<hightower2> On daedalus, in console, why doesnt shift+pg/up down scroll the buffer?   –  hightower started it22:09
buZzthanks hi<tab> !22:09
joergand honestly >>${mess_with_core_features_of_a_system_used_in_millions_of_installations} and see if anybody even notices<< is simply not tolerable approach, not even for FOSS22:10
buZzwell22:10
buZzi do agree with 'we should remove it if nobody cares enough to maintain it for newer interfaces'22:10
buZzas seems to be mentioned in that commit removing it22:11
buZzi mean, you could always just run a older kernel, i guess22:11
debdogthat was four(!) years ago! and the feature did not just got removed because, but because there were issues beforehand https://lkml.iu.edu/hypermail/linux/kernel/2009.2/05870.html22:13
joergon that rationale, we SHOULD remove that liblzma(?), no?22:13
debdog"The one thing that does show up in the diffstat is the softscroll22:13
debdogremoval (both fbcon and vgacon), and there are people who want to save22:13
debdogthat, but we'll see if some maintainer steps up. I'm not willing to22:13
debdogresurrect it in the broken form it was in, so I doubt that will happen22:13
debdogin 5.9, but we'll see what happens."22:13
XenguyLate to the conversation but in both tmux and screen I use 'Ctrl-a [' to enter 'copy mode', then use PgUp/Down to scroll (as someone mentioned a nice big scrollback can be configured in screen with:  defscrollback 5000 )...22:13
debdogjoerg: do not get me wrong, I am missing that feature, too. but the outcry is too late now22:13
XenguyThe only difference between tmux and screen that I've seen is exiting 'copy mode':  in screen I think I use 'Esc', and in tmux it wants 'Enter' instead22:14
XenguyAs for pre-screen/tmux use cases, I think I have used Ctrl-s to freeze scrolling during bootup, and Ctrl-q to resume scrolling, but it's been awhile so YMMV22:15
debdogI was complaining about that missing feature since chimaera. but no one cared back then22:15
debdogwhy care now?22:15
buZzgee 5.9 already22:16
buZzguess it was ages ago yeah :D22:16
XenguyIt's annoying but we have a workaround, so I won't die on that hill : -)22:16
buZzthe workaround is 'stop using a dec vt as workstation' :P22:17
joergplease explain "softscroll" to me22:17
debdogjoerg: shift-pgup == softscroll22:19
joergis that the same like a simple scrolling or even paging up/down? or is that a silly fancy "we don't want jerky line by line / page by page scroll, it has be be *smooth*, i.e. sub-line pixel-wise scrolling"?22:20
buZznah :)22:21
joerggood22:21
buZzits 'the buffer doesnt exist in hw , vgacon is emulating it'22:21
joergta22:21
joerg>>I think I have used Ctrl-s to freeze scrolling during bootup<< which basicaly froze the complete system, or at very least the syslog process ;-D22:24
debdogctrl-s stands for silent, right? exit that with ctrl-q, right?22:26
joergstop22:26
debdoghmm22:26
joergand qontinue ;-)22:26
debdogok22:26
joergit's software flow control22:27
joergdebdog: https://en.wikipedia.org/wiki/Software_flow_control#Representation22:39
debdogahh, XON/XOFF got it22:42
rwpFor both tmux & screen it is 'q' that exits copy scrollback mode.22:53

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!