Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #265383 > unrolled thread

kbrequest as in older /etc/inittab

Started byMike McClain <mike.junk.46@att.net>
First post2024-01-01 06:30 +0100
Last post2024-01-01 20:00 +0100
Articles 6 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  kbrequest as in older /etc/inittab Mike McClain <mike.junk.46@att.net> - 2024-01-01 06:30 +0100
    Re: kbrequest as in older /etc/inittab Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-01-01 13:00 +0100
      Re: kbrequest as in older /etc/inittab Greg Wooledge <greg@wooledge.org> - 2024-01-01 15:30 +0100
        Re: kbrequest as in older /etc/inittab Curt <curty@free.fr> - 2024-01-01 17:20 +0100
    Re: kbrequest as in older /etc/inittab David Wright <deblis@lionunicorn.co.uk> - 2024-01-01 17:40 +0100
      Re: kbrequest as in older /etc/inittab Greg Wooledge <greg@wooledge.org> - 2024-01-01 20:00 +0100

#265383 — kbrequest as in older /etc/inittab

FromMike McClain <mike.junk.46@att.net>
Date2024-01-01 06:30 +0100
Subjectkbrequest as in older /etc/inittab
Message-ID<HRj29-hzot-1@gated-at.bofh.it>
    Prior to the introduction of systemd /etc/inittab had this line in it:
kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
and I found it useful to tie a call to openvt to Alt Up which went
well with ALT Right or Left arrow to move between VTs.
.
Has anyone knowledge of how to do this under systemd?

Thanks,
Mike
--
... what I was born does not matter,
  only what I will make of myself, only what I will become.

[toc] | [next] | [standalone]


#265390

FromAnssi Saari <anssi.saari@debian-user.mail.kapsi.fi>
Date2024-01-01 13:00 +0100
Message-ID<HRp7z-2Cx-7@gated-at.bofh.it>
In reply to#265383
Mike McClain <mike.junk.46@att.net> writes:

>     Prior to the introduction of systemd /etc/inittab had this line in it:
> kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
> and I found it useful to tie a call to openvt to Alt Up which went
> well with ALT Right or Left arrow to move between VTs.
> .
> Has anyone knowledge of how to do this under systemd?

Looks like there's a special target, kbrequest.target, which is started
by alt-up. Some more systemd knowledge than I currently have is needed
to tie openvt into that.

[toc] | [prev] | [next] | [standalone]


#265392

FromGreg Wooledge <greg@wooledge.org>
Date2024-01-01 15:30 +0100
Message-ID<HRrsJ-47u-15@gated-at.bofh.it>
In reply to#265390
On Mon, Jan 01, 2024 at 01:53:56PM +0200, Anssi Saari wrote:
> Mike McClain <mike.junk.46@att.net> writes:
> 
> >     Prior to the introduction of systemd /etc/inittab had this line in it:
> > kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
> > and I found it useful to tie a call to openvt to Alt Up which went
> > well with ALT Right or Left arrow to move between VTs.
> > .
> > Has anyone knowledge of how to do this under systemd?
> 
> Looks like there's a special target, kbrequest.target, which is started
> by alt-up. Some more systemd knowledge than I currently have is needed
> to tie openvt into that.

unicorn:~$ locate kbrequest.target
unicorn:~$ locate kbrequest
unicorn:~$ man -k kbrequest
kbrequest: nothing appropriate.
unicorn:~$ apt-cache search kbrequest
unicorn:~$ 

I can't find this in Debian 12.  Do you have more details about it?

[toc] | [prev] | [next] | [standalone]


#265395

FromCurt <curty@free.fr>
Date2024-01-01 17:20 +0100
Message-ID<HRtbb-5aZ-1@gated-at.bofh.it>
In reply to#265392
On 2024-01-01, Greg Wooledge <greg@wooledge.org> wrote:
>
> unicorn:~$ locate kbrequest.target
> unicorn:~$ locate kbrequest
> unicorn:~$ man -k kbrequest
> kbrequest: nothing appropriate.
> unicorn:~$ apt-cache search kbrequest
> unicorn:~$ 
>
> I can't find this in Debian 12.  Do you have more details about it?
>
>


I think it's in systemd.special.

[toc] | [prev] | [next] | [standalone]


#265397

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2024-01-01 17:40 +0100
Message-ID<HRtux-5h4-3@gated-at.bofh.it>
In reply to#265383
On Sun 31 Dec 2023 at 23:09:42 (-0600), Mike McClain wrote:
>     Prior to the introduction of systemd /etc/inittab had this line in it:
> kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
> and I found it useful to tie a call to openvt to Alt Up which went
> well with ALT Right or Left arrow to move between VTs.
> .
> Has anyone knowledge of how to do this under systemd?

Is the history of this issue relevant?

  https://forums.raspberrypi.com/viewtopic.php?t=282768

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#265405

FromGreg Wooledge <greg@wooledge.org>
Date2024-01-01 20:00 +0100
Message-ID<HRvG1-6wS-3@gated-at.bofh.it>
In reply to#265397
On Mon, Jan 01, 2024 at 10:36:41AM -0600, David Wright wrote:
> On Sun 31 Dec 2023 at 23:09:42 (-0600), Mike McClain wrote:
[...]
> Is the history of this issue relevant?
> 
>   https://forums.raspberrypi.com/viewtopic.php?t=282768

Oh, it's the same *name*.  Huh.  So, Mike, whatever you figured out in
2020, you entirely forgot, and now you're starting over in a new forum?

What are you actually trying to do?  If all you want are a bunch of
additional text consoles, you can simply increase the number of gettys
by editing the /etc/systemd/logind.conf file:

...
# See logind.conf(5) for details.

[Login]
#NAutoVTs=6
...

By default, there are 6 gettys available (tty1 through tty6), but you
can increase the number here.  Or decrease it, in theory, but I can't
imagine too many uses for that.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web