X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=CBPDUBCKDnyTpjUU8qnXTfkJUvk8M EG+ADWe3NEkRSrmd45nNk4Qr0BbN6vGVWHOBijy8vzuUAcydF8m3KveKbDBhUPpt eVcVT/esmF4BOgAkQ/ofXcKu70eraqzNwqL4koOs+eqNIecOlzqqEMeqSIKvzVo8 6avHttewSLf+f8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=d0W6g+C8vXPWVNteMQghIIJGX08=; b=nT2 0dpRjnAKNMMbbJ/pe5KgIhvvS+DnwPI1AnY25ic2eCqLv2IyedW70Qxmd8jBPzIY d/4aZI9lhTOO7Nm5SUWE6gqepp88UYfm4bgtG6lyF/z9ATSf0vHw/F0Y4L7ljFLr 3XF5PP/RkOm2BEA2wBxNzdpmFvduQ9QKxirE6Uck= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_20,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-qk0-f173.google.com MIME-Version: 1.0 X-Received: by 10.55.71.195 with SMTP id u186mr2916605qka.38.1449850905435; Fri, 11 Dec 2015 08:21:45 -0800 (PST) Date: Fri, 11 Dec 2015 10:21:45 -0600 Message-ID: Subject: Crash X11 with 3 commands From: Nem W Schlecht To: The Cygwin Mailing List Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes I was experimenting with Xterm escape sequences - trying to resize/reposition a window while its iconized and found I can crash X11 in just 3 escape commands in an Xterm (which I have in a shell script): --------------------------------------------------------------- #!/bin/bash -x # Iconify window echo -ne "\e[2t" # Set height/width to 36x80 and position at +100+100 # If I do just one of these X11 does *not* crash # Resize to 36x80. This one doesn't work, even if I run just it # by itself so X11 doesn't crash. Also, this one has to be first. # If I re-position, then change geometry, it doesn't crash. echo -ne "\e[8;36;80t" # The re-position, next, actually does work behind the scenes, # if I run just this alone and then de-iconify manually, its in the # correct position. echo -ne "\e[3;100;100t" # To de-iconify (doesn't work in Cygwin anyways, unfortunately) echo -ne "\e[1t" --------------------------------------------------------------- Can anybody else confirm? (WARNING - if it does, it'll kill all your X11 windows! Be careful.) -- Nem W Schlecht "Perl did the magic. I just waved the wand." -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple