* delkey change
@ 2015-11-20 21:17 BurnZeZ
2015-11-20 21:32 ` [9front] " Julius Schmidt
0 siblings, 1 reply; 4+ messages in thread
From: BurnZeZ @ 2015-11-20 21:17 UTC (permalink / raw)
To: 9front
Context: rev 4962 a58ca60592df4733886ad15b0d7ab2909fb2b40e
Wasn't the point of delkey that you could use it with limited hardware?
For example, a serial console, or a cpu server limited to vga text mode.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9front] delkey change
2015-11-20 21:17 delkey change BurnZeZ
@ 2015-11-20 21:32 ` Julius Schmidt
2015-11-20 21:54 ` BurnZeZ
0 siblings, 1 reply; 4+ messages in thread
From: Julius Schmidt @ 2015-11-20 21:32 UTC (permalink / raw)
To: 9front
Even if you wanted to support that usecase, why build it into delkey?
It would be trivial to make a rc script to run commands from stdin asking y/n for each of them.
It would also be useful for kill and other commands.
On Fri, 20 Nov 2015, BurnZeZ@feline.systems wrote:
> Context: rev 4962 a58ca60592df4733886ad15b0d7ab2909fb2b40e
>
> Wasn't the point of delkey that you could use it with limited hardware?
> For example, a serial console, or a cpu server limited to vga text mode.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9front] delkey change
2015-11-20 21:32 ` [9front] " Julius Schmidt
@ 2015-11-20 21:54 ` BurnZeZ
0 siblings, 0 replies; 4+ messages in thread
From: BurnZeZ @ 2015-11-20 21:54 UTC (permalink / raw)
To: 9front
[-- Attachment #1: Type: text/plain, Size: 730 bytes --]
> Even if you wanted to support that usecase, why build it into delkey?
> It would be trivial to make a rc script to run commands from stdin asking y/n for each of them.
> It would also be useful for kill and other commands.
>
> On Fri, 20 Nov 2015, BurnZeZ@feline.systems wrote:
>
> > Context: rev 4962 a58ca60592df4733886ad15b0d7ab2909fb2b40e
> >
> > Wasn't the point of delkey that you could use it with limited hardware?
> > For example, a serial console, or a cpu server limited to vga text mode.
> >
>
Got your reply while I was typing a mail to inquire about the same thing.
I attached a script that echoes the same prompt as old delkey.
(I'm not interested in pikeshedding something better)
Seems to work pretty well.
[-- Attachment #2: prompt --]
[-- Type: text/plain, Size: 153 bytes --]
#!/bin/rc
rfork e
ifs='
'
while(s=`{read}){
echo -n $s '? [y/n]' >/dev/cons
switch(`{read /dev/cons}){
case y* Y*
rc -c $s
case q* Q*
exit
}
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9front] delkey change
@ 2015-11-20 21:19 sl
0 siblings, 0 replies; 4+ messages in thread
From: sl @ 2015-11-20 21:19 UTC (permalink / raw)
To: 9front
> Context: rev 4962 a58ca60592df4733886ad15b0d7ab2909fb2b40e
>
> Wasn't the point of delkey that you could use it with limited hardware?
> For example, a serial console, or a cpu server limited to vga text mode.
; delkey | grep [your authdom] | rc
sl
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-11-20 21:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-20 21:17 delkey change BurnZeZ
2015-11-20 21:32 ` [9front] " Julius Schmidt
2015-11-20 21:54 ` BurnZeZ
2015-11-20 21:19 sl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).