LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-17-2022, 04:43 AM   #46
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,651
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480

Quote:
Originally Posted by Tonus View Post
I would not bother to compile my own kernel but would be happy to have the patch merged...
Well, it won't be because it's buggy. See above.
 
Old 05-18-2022, 02:18 AM   #47
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by hazel View Post
Well, it won't be because it's buggy. See above.
Well, I read that too

Quote:
Originally Posted by hazel View Post
But it's all there, right back to the first line about the partitions on sda.
Anyway, without the glitch that would be nicer, indeed. Sorry I have no knowledge to help on this.
 
Old 05-19-2022, 11:02 PM   #48
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,074

Original Poster
Rep: Reputation: 149Reputation: 149
Unhappy screen didn't scroll

Quote:
Originally Posted by rkelsen View Post
Why not use screen?

It allows scrollback, and you don't have to patch your kernel to get it working.
Tried but keystrokes in help for scrolling seemed to do nothing at all.
 
Old 05-20-2022, 12:23 AM   #49
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by dchmelik View Post
Tried but keystrokes in help for scrolling seemed to do nothing at all.
Ctrl-A then Esc and "Copy mode" should appear at the bottom of the screen and you can use the arrow keys or Page Up and Page Down to scroll around.

Press Esc again to exit "Copy mode"
 
1 members found this post helpful.
Old 05-20-2022, 01:37 AM   #50
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,074

Original Poster
Rep: Reputation: 149Reputation: 149
Smile screen works

Quote:
Originally Posted by rkelsen View Post
Ctrl-A then Esc and "Copy mode" should appear at the bottom of the screen and you can use the arrow keys or Page Up and Page Down to scroll around.

Press Esc again to exit "Copy mode"
Not what I saw at bottom but seems to work few/several pages. Thanks!
 
Old 06-23-2022, 03:41 PM   #51
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37, 14.2, 15.0
Posts: 635

Rep: Reputation: 154Reputation: 154
Have spent the last week trying to get Slackware 15.0 and the 5.15.19 kernel up.
I have a patch made for the previous kernel, that would put the console scrollback in the console again.
But now the relevant console files are gone.

I have to use the consoles most of the time. They are more reliable than X11.
X11 is prone to failure, and the only way to get out of X11 lockup is to use the console and start killing processes.
I can get the X11 lockup several times in one day. It is part of X11 program development.
The docs for the widget tools are horrible, and all widget programming is really done by trial and error.

I develop free programs. Debugging some of them requires using the console constantly because the X11 is at the point
of failure. Anything that is required for the debugging has to be running in a console. Only the test program and gdb
are running under X11. Those can lockup at any time, making X11 unusable.

Any investigation as to why the X11 lockup occurred is done in that console, and almost anything is going to run over multiple pages.
Some of these processes just dump messages to the screen, you get no choice in the matter. You cannot after-the-fact try
to run that output through some pager.

This is not an invitation for others to second-guess my development system. Nor do I think anyone should second-guess anyone else's
use of the console. Doing this program development (for free) is difficult enough already. What is the point of trying to minimize
this problem by suggesting lame work-arounds. We have gotten to use this method, because the other ways we have tried did not work,
or had some conflict with the test program. I have one program where I have to run a second debugger in a second X11 session, just
because it does not work any other way. We already have multiple conflict issues to deal with, we need all the flexibility
in this that we can get.

Having the console scrollback was so useful, that I immediately noticed that it was not working, and
I had not gotten more than an hour into the installation process.

I have read the Torvalds post cited above. I just makes my blood boil as it is so full of nonsense.
The console did not need a maintainer, as it was not getting broken with every other release.
Maintainers are attracted by having something that needs constant fixing.
One bug showed up, and someone stepped forward with a patch.
Then on a "whim", its lets rip the whole thing out.
The idea that some official maintainer would have changed anything in this is a load of nonsense.

In the last driver change where a "feature" was yanked out from under me, it was the dammed maintainer
that decided that "no-one" was using that device feature, and it was OK for him to change it.
Even after several notifications and my sending an explicit patch file, that maintainer still would
not fix the problem. "His" fix looks OK to him, and he does not care past that point.

If I need a feature of the kernel, then how am I supposed to guard it against being changed?
How many hundreds of features of the kernel do I rely upon every day? Am I supposed to arrange
for someone to guard all those features against the chance that someone with a "whim" will decide
to unravel it all to satisfy their limited expectations of how it is being used.
Which features do I need to guard, and how am I to know which are under threat ahead of time?
Are we all supposed to have representatives to guard our interests in certain kernel features?
Do we really want to have some host of representatives, protecting our interests, as that will resemble the US government.

I was a maintainer once. It became a battle to maintain existing capabilities. Those wanting change
had their ways of forcing that change. I was just there to be used to do the dirty work.
It was either I did their dirty work, or they would just do it themselves, worse.

I cannot see how to fix the current console driver anymore, so what would be be point of trying
to be the maintainer of the console scrollback.

A proper way of doing this would have to made the scrollback a compile option, and left it
to the users to decide. The point of just trashing it and waiting for complaints, is that
the complaints come later, and then later they can just ignore the complaints.
Requests for fixing this have been sent in, and there is no sign of restoring the scrollback,
even as an option.
 
7 members found this post helpful.
Old 06-23-2022, 10:13 PM   #52
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by selfprogrammed View Post
If I need a feature of the kernel, then how am I supposed to guard it against being changed?
Volunteer to maintain it.
Quote:
Originally Posted by selfprogrammed View Post
Which features do I need to guard, and how am I to know which are under threat ahead of time?
Subscribe to the Linux Kernel Mailing List.
Quote:
Originally Posted by selfprogrammed View Post
I was a maintainer once. It became a battle to maintain existing capabilities.
Imagine what it must be like to do all of that work on a project which you don't charge people to use... but they complain anyway.
 
Old 07-15-2022, 03:12 PM   #53
SlackWar
Member
 
Registered: Jul 2014
Location: Europe
Distribution: Slackware
Posts: 72

Rep: Reputation: Disabled
Quote:
Originally Posted by dchmelik View Post
This is the main LQ place (in addition to LFS, Unix areas) many people still use pure terminals so I know I'm not only person disappointed to see less working on terminals as time passes.
Indeed I configure my machines for terminal use, starting X using traditional 'startx' if necessary.

Guys: the scrollback buffer, fortunately, is still available if you won't use framebuffer neither KMS — but I wonder for how long… if one day they decide to „improve” also this…
 
Old 08-18-2022, 12:37 AM   #54
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,074

Original Poster
Rep: Reputation: 149Reputation: 149
Screen doesn't have enough scrollback to see all 'ps aux': what can one do?
 
Old 08-18-2022, 02:38 AM   #55
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by dchmelik View Post
Screen doesn't have enough scrollback to see all 'ps aux': what can one do?
Code:
$ ps aux | more
 
Old 08-18-2022, 02:53 AM   #56
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
There was a recent thread which took me on a voyage of discovery about text consoles.

Scroll back has been removed from the frame buffer, but is still present in the pure text console. If you want to use it, you can. The way to do it is by disabling the frame buffer on boot.

The only catch is that you have to use legacy booting with LILO, because you cannot disable the frame buffer if you use UEFI.

See these two posts for more information:

https://www.linuxquestions.org/quest...ml#post6367692

https://www.linuxquestions.org/quest...ml#post6367683

 
4 members found this post helpful.
Old 08-18-2022, 11:21 AM   #57
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,183

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by ttk View Post
That is an option for regular use, but doesn't help with boot messages which have scrolled away (which is where console scrollback would be most critically needed).
A console on serial port may help. Probably needs virtualization (e.g. with qemu) if the bare metal system does not have one.
 
Old 08-18-2022, 01:44 PM   #58
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,797

Rep: Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436
Don't "PageUp" and "PageDown" keys still work?
 
Old 08-19-2022, 12:30 AM   #59
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 992

Rep: Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674
Quote:
Originally Posted by enorbet View Post
Don't "PageUp" and "PageDown" keys still work?
You mean shift-PageUp and shift-PageDown? No, in later kernels that feature has been removed, at least if you use KMS or framebuffer.

regards Henrik
 
Old 08-19-2022, 05:06 AM   #60
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,797

Rep: Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436
Quote:
Originally Posted by henca View Post
You mean shift-PageUp and shift-PageDown? No, in later kernels that feature has been removed, at least if you use KMS or framebuffer.

regards Henrik
Ahh that explains it, mostly. I totally avoid KMS, but I'm uncertain about framebuffer since I have both CMS Legacy boot systems and EFI, which has it's own species of framebuffer. Thanks, Henrik.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] all terminals (and only terminals) in xorg loading SLOWLY after upgrade (wheezy) pepperdreamteam Debian 2 02-03-2013 01:30 PM
Is it possible to run multiple terminals in a debian (non-gui) server installation? emdiesse Linux - Server 2 01-05-2012 12:02 PM
puppy thoughts after having a recent look see -- given recent developments .. jonyo Puppy 0 11-29-2011 08:45 PM
USB problem on linux terminals vie NComputing X300 terminals Aleks` Linux - General 1 12-04-2008 05:39 PM
Terminals - spying on local terminals with ssh BeatRyder Linux - Software 5 10-21-2004 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration