AW: Using less in environment without controlling tty

dietmar.schindler at manroland-web.com dietmar.schindler at manroland-web.com
Mon Aug 12 07:54:17 UTC 2013


> Von: Denys Vlasenko
> Gesendet: Mittwoch, 7. August 2013 18:25
> An: Harald Becker
> Cc: busybox at busybox.net; Rich Felker
> Betreff: Re: Using less in environment without controlling tty
>
> On Tue, Aug 6, 2013 at 1:34 AM, Harald Becker <ralda at gmx.de> wrote:
> > Have you ever tried to startup Linux with init=/bin/sh (last
> > resort rescue), and then tried dmesg|less ... won't work :(
>
> A lot of things won't work. E.g. "ping IP" and oops,
> you forgot that ^C won't work because you have no ctty,
> thus you can't do anything but look at endless ping output. :(
> I was there more than once.
>
> Solution #1: acquire a ctty.

Please allow me to remark: The recurring suggestion to acquire a controlling TTY indicates that you have overlooked that in Harald Becker's main szenarios one already has a controlling TTY - it is just the TTY where less ist started from and not the one where the text is displayed.
--
Best Regards,
Dietmar
________________________________________
manroland web systems GmbH -- Managing Director: Eckhard Hoerner-Marass
Registered Office: Augsburg -- Trade Register: AG Augsburg -- HRB-No. 26816 -- VAT: DE281389840

Confidentiality note:
This eMail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you have received this eMail in error, then please delete this eMail.

! Please consider your environmental responsibility before printing this eMail
________________________________________


More information about the busybox mailing list