Re: command prompt window title

2003-04-05 Thread Anoop Ghanwani

Randall,

You were right.  My path was setup so that instead
of picking up /usr/bin/vi, it was picking up my
DOS version of vi.  Once I corrected that, the
window title always shows Cygwin and never
changes regardless of what I'm running.

Thanks,
-Anoop

PS: Thanks to all who replied.  I'm not subscribed
to the Cygwin list to it took me a while to check
the responses in the archives and get back.

===
At 11:38 2003-03-31, you wrote:
 I'm running cygwin's latest version 1.3.22-1.
 When I run cygwin from my desktop, it brings
 up a command prompt window with a title Cygwin.
 I modified cygwin.bat to make my default shell
 tcsh.

 Anyway, after I run vi, the window title changes
 to vi fname where fname is the file that
 I'm editing.  When I quit vi, the title of the
 window remains that way until I quit the window,
 or I use vi again with another file, in which
 case it changes to vi newfilename.

It sounds to me like there's a script or other intervening command
definition handling your invocation of vi.

Please show us the output of where vi (assuming, as you state above, that
you're using tcsh). If you're using BASH, then show us the output of type
-a vi.




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



command prompt window title

2003-03-31 Thread Anoop Ghanwani

I'm running cygwin's latest version 1.3.22-1.  
When I run cygwin from my desktop, it brings
up a command prompt window with a title Cygwin.
I modified cygwin.bat to make my default shell
tcsh.

Anyway, after I run vi, the window title changes
to vi fname where fname is the file that
I'm editing.  When I quit vi, the title of the
window remains that way until I quit the window,
or I use vi again with another file, in which
case it changes to vi newfilename.

When running things like gcc or make the window
title doesn't get affected at all...it continues
to show Cygwin, unless I had previously run
vi in that window.

Is there a way to fix this?  Is this a know 
issue?

I have the screen shots at:
http://www.ee.duke.edu/~ag/cygerrs.pdf

Thanks,
-Anoop
--
Anoop Ghanwani - Lantern Communications - 408-521-6707


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



changing text file type from DOS to unix?

2003-03-24 Thread Anoop Ghanwani

I am trying to install a package that needs the text
file type to be unix, but have previously installed
Cygwin with the file type of DOS.

Is it possible to change the text file type from DOS to 
unix without doing a reinstall of Cygwin?  When I
go through setup, if I select the file type as unix
but don't select any new packages, it doesn't do
anything.

Thanks,
-Anoop



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: changing text file type from DOS to unix?

2003-03-24 Thread Anoop Ghanwani
Much thanks!  -Anoop

 -Original Message-
 From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 24, 2003 2:25 PM
 To: Anoop Ghanwani
 Cc: [EMAIL PROTECTED]
 Subject: Re: changing text file type from DOS to unix?
 
 
 On Mon, 24 Mar 2003, Anoop Ghanwani wrote:
 
  I am trying to install a package that needs the text
  file type to be unix, but have previously installed
  Cygwin with the file type of DOS.
 
  Is it possible to change the text file type from DOS to
  unix without doing a reinstall of Cygwin?  When I
  go through setup, if I select the file type as unix
  but don't select any new packages, it doesn't do
  anything.
 
  Thanks,
  -Anoop
 
 eval `mount -m | grep -i cygwin | sed 's/-t/-b/'`
   Igor
 -- 
   http://cs.nyu.edu/~pechtcha/
   |\  _,,,---,,_  [EMAIL PROTECTED]
 ZZZzz /,`.-'`'-.  ;-;;,_  [EMAIL PROTECTED]
  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski
 '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
 
 Oh, boy, virtual memory! Now I'm gonna make myself a really 
 *big* RAMdisk!
   -- /usr/games/fortune
 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/