Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Found a glitch in Maemo 5's terminal...strange characters

    Reply
    Page 1 of 3 | 1   2     3   | Next
    GameboyRMH | # 1 | 2010-11-11, 20:39 | Report

    1. Run "head /dev/urandom"
    2. Enter some lowercase characters
    3. WTF

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to GameboyRMH For This Useful Post:
    dynomot, Wikiwide

     
    ivnvir | # 2 | 2010-11-11, 20:44 | Report

    this happens in any linux based terminal...
    try to cat a binary source...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to ivnvir For This Useful Post:
    codeMonkey, danramos, ossipena

     
    GameboyRMH | # 3 | 2010-11-11, 20:45 | Report

    Oh I see, a terminal reset fixes it. Guess it's normal then.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lunat | # 4 | 2010-11-11, 21:03 | Report

    normal. it is supposed to be that way and any good tty/pty implementation is like that. type "reset".
    some chars ought to trigger different modi.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to lunat For This Useful Post:
    danramos

     
    danramos | # 5 | 2010-11-11, 22:20 | Report

    Yeah, what you're seeing with urandom is just a stream of random 8-bit characters vomiting out on the terminal, which then tries to interpret the characters as output. Since VT100/ANSI/etc all depend on several ways to encode controls, there's a likely chance that random characters coming from urandom will trigger an escape code sequence that causes a mode-change of some sort. Hence, you get the symptoms of the funky terminal.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    HellFlyer | # 6 | 2010-11-11, 22:32 | Report

    let me see let me see

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lunat | # 7 | 2010-11-11, 22:49 | Report

    Originally Posted by HellFlyer View Post
    let me see let me see
    for a start:
    http://tldp.org/HOWTO/Text-Terminal-HOWTO.html

    Edit | Forward | Quote | Quick Reply | Thanks

     
    danramos | # 8 | 2010-11-11, 22:55 | Report

    u2ac̎
    m�pqTh�*.Y��u��$���J�o�Ft9Ժ�d�]�mב������$+Le�մ�S(�g!�����TW�X>�(&���C���'�*��<�҃� Y�ɆdW?��mvl��D�E��w��G�
    xl�6�x�Xz$q�C����T

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to danramos For This Useful Post:
    HellFlyer

     
    danramos | # 9 | 2010-11-11, 22:55 | Report

    If you stare at that posting long enough, there's no secret message!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to danramos For This Useful Post:
    HellFlyer

     
    lunat | # 10 | 2010-11-11, 23:13 | Report

    Originally Posted by danramos View Post
    If you stare at that posting long enough, there's no secret message!
    lets see if one tries it with /dev/random
    ...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to lunat For This Useful Post:
    danramos

     
    Page 1 of 3 | 1   2     3   | Next
vBulletin® Version 3.8.8
Normal Logout