Thursday, March 5, 2009

Re: [BLUG] How do you like to get rid of terminal corruption?

On Thu, Mar 5, 2009 at 10:57 AM, Mark Krenz <mark@slugbug.org> wrote:
> Just like:
>
>  while true ; do dd if=/dev/urandom of=/dev/hda bs=512 count=1 ; done
>
> will eventually produce a working boot sector.

And promptly annihilate it.

_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug

Re: [BLUG] How do you like to get rid of terminal corruption?

On Thu, Mar 05, 2009 at 02:53:39AM GMT, Abhishek Kulkarni [abbyzcool@gmail.com] said the following:
>
> here's another escape sequence trick i like to show:
> $ for i in `seq 10` `seq 30 38`; do echo "^[[0;$i;40mHello World"; done
>

That's cool, that makes me want to use colors more in short commands
that I write. Also, 90 through 97 trigger the fullbright modes.

I realize that cat /dev/urandom is not the right way, but I haven't
seen any hard evidence that shows that certain binary sequences making
it would be able to do something outside of the terminal (like run a
command). I guess its just one of those things that is theoretically
possible.

Just like:

while true ; do dd if=/dev/urandom of=/dev/hda bs=512 count=1 ; done

will eventually produce a working boot sector.


--
Mark Krenz
Bloomington Linux Users Group
http://www.bloomingtonlinux.org/
_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug