Path: utzoo!attcan!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.questions Subject: ctrl (was: end of line character) Keywords: eol Message-ID: <2855@solo8.cs.vu.nl> Date: 10 Jul 89 21:30:05 GMT References: <429@ncelvax.UUCP> <8135@bsu-cs.bsu.edu> <2843@kappl.cs.vu.nl> <1889@auspex.auspex.com> Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 42 guy@auspex.auspex.com (Guy Harris) writes: \... \> cr="`ctrl M`" \ \You forgot to supply the "ctrl" command - it's not a standard part of S5 \(I couldn't find it, anyway). [...] comp.sources.unix, april this year. CTRL(1) USER COMMANDS CTRL(1) NAME ctrl, unesc - translate printable characters to corresponding control characters esc, bell, beep - generate ESC and BEL characters SYNOPSIS ctrl string unesc symbolic escape sequence esc bell [ count ] beep [ count ] DESCRIPTION The use of ctrl in all its forms is to avoid real escape sequences in ordinary ASCII files, e.g. .login. EXAMPLES unesc '^[[7mStandout mode on a Sun console.' is equivalent to echo "`esc`[7mStandout mode on a Sun console." ctrl GG G is equivalent to bell 3 AUTHOR Maarten Litmaath @ VU Informatika Amsterdam -- "... a lap-top Cray-2 with builtin |Maarten Litmaath @ VU Amsterdam: cold fusion power supply" (Colin Dente) |maart@cs.vu.nl, mcvax!botter!maart