delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <39808B0B.507F27FC@gmx.net> |
Date: | Thu, 27 Jul 2000 21:18:35 +0200 |
From: | Victor Ott <vott AT gmx DOT net> |
X-Mailer: | Mozilla 4.74 [en] (WinNT; U) |
X-Accept-Language: | en,pdf |
MIME-Version: | 1.0 |
To: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: grotesque newbie question about echoing escape sequences |
References: | <C704AF1C30F5D3119AC000D0B7261040045311 AT CONCORD> <200007271812 DOT OAA08457 AT envy DOT delorie DOT com> |
--------------msAD415ABE0D93AC215A1658A8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit DJ Delorie wrote: > > > <ESC>]2;foobar^G > > > > but I can't figure out the right way to say it. Help? > > bash$ echo '(ctrl-v)(ctrl-[)]2;foobar(ctrl-v)(ctrl-g)' bash$ printf '\033]2;foobar\07' Explanation: ctrl-X == code of X - 64 So: <ESC> == ctrl-[ == octal 33 ctrl-G == octal 7 A useful list of ascii codes: http://www.loria.fr/services/tex/fontes/ascii.dvi or http://www.loria.fr/services/tex/fontes/ascii.ps -- Victor Ott vott at gmx dot net --------------msAD415ABE0D93AC215A1658A8 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIGcgYJKoZIhvcNAQcCoIIGYzCCBl8CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEH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60sgD8wkDtmV+vqpuj4w== --------------msAD415ABE0D93AC215A1658A8--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |