Re: kbrequest as in older /etc/inittab

2024-01-05 Thread The Wanderer
(As is sometimes usual, I may well regret this.) On 2024-01-05 at 07:30, Greg Wooledge wrote: > On Thu, Jan 04, 2024 at 09:58:38PM -0600, Mike McClain wrote: > >> I don't think I can state any more clearly what I'm trying to do than >> 'to tie a call to openvt to Alt Up'. I'm assuming you don't k

Re: kbrequest as in older /etc/inittab

2024-01-05 Thread Greg Wooledge
On Thu, Jan 04, 2024 at 09:58:38PM -0600, Mike McClain wrote: > I don't think I can state any more clearly what I'm trying to do than > 'to tie a call to openvt to Alt Up'. I'm assuming you don't know how > to do that either. And ... what does THAT do? NAME openvt - start a program on a ne

Re: kbrequest as in older /etc/inittab

2024-01-04 Thread Mike McClain
On Mon, Jan 01, 2024 at 10:36:41AM -0600, David Wright wrote: > Is the history of this issue relevant? > https://forums.raspberrypi.com/viewtopic.php?t=282768 David the most relevant part of that old post is the last line. > On Mon, 1 Jan 2024 13:53:44 -0500 Greg Wooledge wrote: > Oh, it's the

Re: kbrequest as in older /etc/inittab

2024-01-01 Thread Greg Wooledge
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 ou

Re: kbrequest as in older /etc/inittab

2024-01-01 Thread David Wright
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 Al

Re: kbrequest as in older /etc/inittab

2024-01-01 Thread Curt
On 2024-01-01, Greg Wooledge 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. D

Re: kbrequest as in older /etc/inittab

2024-01-01 Thread Greg Wooledge
On Mon, Jan 01, 2024 at 01:53:56PM +0200, Anssi Saari wrote: > Mike McClain 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." > >

Re: kbrequest as in older /etc/inittab

2024-01-01 Thread Anssi Saari
Mike McClain 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 Ri

kbrequest as in older /etc/inittab

2023-12-31 Thread Mike McClain
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. .

Re: kbrequest & openvt

2020-10-23 Thread Greg Wooledge
On Thu, Oct 22, 2020 at 10:30:17PM +, mike.junk...@att.net wrote: > For years under sysvinit, in /etc/inittab, this line: > kb::kbrequest:$( [ "`id -u`" -eq 0 ] && /bin/openvt -su || sudo /bin/openvt > -su) > allowed me to open another VT by keying Control-UpAr

kbrequest & openvt

2020-10-22 Thread mike . junk . 46
This is a command line related question, not X. For years under sysvinit, in /etc/inittab, this line: kb::kbrequest:$( [ "`id -u`" -eq 0 ] && /bin/openvt -su || sudo /bin/openvt -su) allowed me to open another VT by keying Control-UpArrow. I've had no luck generating

Re: Alt+ArrowUp (inittab kbrequest)

1999-06-22 Thread David Wright
. > > > > In my /etc/inittab I've got the Ctrl+Alt+End key combo configured for > > shutdowns: > > > > kb:12345:kbrequest:/sbin/shutdown -t1 -a -h now > > This line tells init to shutdown whenever it receives a KeyboardSignal > from the keyboard handler

Re: Alt+ArrowUp (inittab kbrequest)

1999-06-22 Thread David Wright
> I can assure you they are efficiently enough archived. I asked why > Alt+ArrowUp would shutdown the system while it's not configured to > perform that task, and whether it would be safe to comment the line > which refers to it in /etc/inittab: > > # Action on special keypress

Re: Alt+ArrowUp (inittab kbrequest)

1999-06-21 Thread Matt Folwell
combo configured for > shutdowns: > > kb:12345:kbrequest:/sbin/shutdown -t1 -a -h now This line tells init to shutdown whenever it receives a KeyboardSignal from the keyboard handler, in runlevels 1-5. > and some kbrequest for the Alt+ArrowUp which reads: > > kb::kbrequest:/bi

Re: Alt+ArrowUp (inittab kbrequest)

1999-06-21 Thread J Horacio MG
rrowUp would shutdown the system while it's not configured to perform that task, and whether it would be safe to comment the line which refers to it in /etc/inittab: # Action on special keypress (ALT-UpArrow). kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work.&

Re: Alt+ArrowUp (inittab kbrequest)

1999-06-21 Thread David Wright
Quoting J Horacio MG ([EMAIL PROTECTED]): > I have already pressed by mistake the Alt+ArrowUp key combo, resulting > in a system shutdown (losing all work done!). > > In my /etc/inittab I've got the Ctrl+Alt+End key combo configured for > shutdowns: > > kb:12345:kbreq

Alt+ArrowUp (inittab kbrequest)

1999-06-20 Thread J Horacio MG
I have already pressed by mistake the Alt+ArrowUp key combo, resulting in a system shutdown (losing all work done!). In my /etc/inittab I've got the Ctrl+Alt+End key combo configured for shutdowns: kb:12345:kbrequest:/sbin/shutdown -t1 -a -h now and some kbrequest for the Alt+ArrowUp

kbrequest

1998-12-17 Thread Eugene Sevinian
Hi, I have read that it is possible to run commands using kbrequest. However this does not work for me. Here is the corresponding strings from inittab: kb::kbrequest:/bin/echo "abc" ... and keybinding from map file: keycode 103 = Up alt keycode 103 = KeyboardSignal Pre