escape key

John T Ellis ellis at motcid.UUCP
Thu Nov 8 00:18:35 AEST 1990


In article <5679 at alpha.cam.nist.gov> coleman at cam.nist.gov (Sean Sheridan Coleman X5672) writes: 

[text deleted]
>
>When I issue the command, I get back the string ^[]l\!*^[\ 
>not the pwd in the header.
>
>How do you issue that escape string?

Here is what I use in my .cshrc file:

	alias cd 'cd \!* ; set l = `dirs` ; echo -n "^[]l$l^[\"; unset $l;'

It sounds to me as if your system is not interpreting the escape sequence
properly.  When you enter this, either at the command line or in some script
file, do the following:

     1. ctrl V         
     2. escape        esc
     3. right bracket ]
     4. small l       l
     5. dollar l      $l
     6. ctrl V 
     7. backslash     \


This should work.  If it doesn't, let me know and I'll try and work something
else out.

Regards.

John
-- 
-------------------------------+------------------------------------------------
  John T. Ellis 708-632-7857   | Line Printer paper is strongest
       Motorola Cellular       |      at the perforations. 
 motcid!ellis at chg.mcd.mot.com  | 



More information about the Comp.unix.questions mailing list