Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google site



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-15-2005
Registered User
 

Join Date: Sep 2004
Posts: 11
What is "escape sequence" in tcsh on Solaris

I've tried \e, \033, ^[, they doesn't work with tcsh on Solaris.

Anyone could give a help?

Thanks,

WP
Sponsored Links
  #2 (permalink)  
Old 02-15-2005
Registered User
 

Join Date: Jan 2005
Posts: 97
Quote:
Originally Posted by modemer
I've tried \e, \033, ^[, they doesn't work with tcsh on Solaris.

Anyone could give a help?

Thanks,

WP

In zsh and tcsh, surround an escape sequence
with %{ and %}

example="%{\033]0;%n@%m:%~\007%}
  #3 (permalink)  
Old 02-15-2005
Registered User
 

Join Date: Sep 2004
Posts: 11
Quote:
Originally Posted by thumsup9
In zsh and tcsh, surround an escape sequence
with %{ and %}

example="%{\033]0;%n@%m:%~\007%}

Thanks a lot budy, but it doesn't work with my tcsh even though the simplest one:

echo "%{\033]0;title\007%}"

The full string(include %{...%}) is printed on the screen.
Any idea? My OS is SunOS 5.9

Thanks
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
not being able to escape "$" is doing my head in. mjays Shell Programming and Scripting 2 04-23-2008 07:52 AM
Development Releases: Linux Mint 4.0 Beta "Fluxbox", 4.0 Alpha "Debian" Linux Bot UNIX and Linux RSS News 0 01-04-2008 03:00 PM
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-20-2007 01:52 AM
How to combine "find" command in for each loop (tcsh) umen Shell Programming and Scripting 3 08-22-2005 05:07 AM
"select" function sequence nir_s Shell Programming and Scripting 1 05-26-2005 02:31 PM



All times are GMT -4. The time now is 01:25 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0