public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* newbie qns
@ 2001-07-17 13:26 Arafat Mohamed
  2001-07-17 14:08 ` Michael Schaap
  2001-07-17 14:45 ` updatdb & rxvt (was: Re: newbie qns) Gerrit P. Haase
  0 siblings, 2 replies; 5+ messages in thread
From: Arafat Mohamed @ 2001-07-17 13:26 UTC (permalink / raw)
  To: cygwin

I have 2 qns i need help with.

1) I can use locate but not updatedb. What is the equivalent of updatedb in
cygwin?

2) Why can't I get color syntaxing when I use rxvt? I can use it fine in a
normal cygwin shell

thanks,
Arafat


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: newbie qns
  2001-07-17 13:26 newbie qns Arafat Mohamed
@ 2001-07-17 14:08 ` Michael Schaap
       [not found]   ` <LGEMKDAGHLDNLIGNBCEJCEJHCAAA.abmtek@yahoo.com>
  2001-07-17 14:45 ` updatdb & rxvt (was: Re: newbie qns) Gerrit P. Haase
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Schaap @ 2001-07-17 14:08 UTC (permalink / raw)
  To: Arafat Mohamed, cygwin

At 22:23 17-7-2001, Arafat Mohamed wrote:
>2) Why can't I get color syntaxing when I use rxvt? I can use it fine in a
>normal cygwin shell

Assuming you're talking about vi(m), make sure TERM=rxvt.
(For some reason, rxvt sets TERM=xterm.)

  - Michael


--
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* updatdb & rxvt (was: Re: newbie qns)
  2001-07-17 13:26 newbie qns Arafat Mohamed
  2001-07-17 14:08 ` Michael Schaap
@ 2001-07-17 14:45 ` Gerrit P. Haase
  1 sibling, 0 replies; 5+ messages in thread
From: Gerrit P. Haase @ 2001-07-17 14:45 UTC (permalink / raw)
  To: Arafat Mohamed; +Cc: cygwin

Am 17 Jul 2001, um 16:23 hat Arafat Mohamed geschrieben:

Hi Arafat,

> I have 2 qns i need help with.
> 
> 1) I can use locate but not updatedb. What is the equivalent of
> updatedb in cygwin?

It is not included in findutils which comes with cygwin.
You could get it elsewhere, built it for yourself or get my binary:
http://familiehaase.de/cygwin.html

> 2) Why can't I get color syntaxing when I use rxvt? I can use it fine
> in a normal cygwin shell

Hmmm, i am at win98, it works fine with vim and also if i do ls.
I did nothing special. I remember having problems too at NT with vim
syntax highlighting which i was not able to resolve.

Unfortunately i cannot call rxvt from a shortcut here at Win98, but 
it works well if i start it from a shell window with this command:

$ rxvt.exe -geometry 90x30 -bg black -fg grey -cr red -sr -sl 400 \
   -fn "Lucida Console-14" -tn cygwin -ls -e bash --login -i

gph


-- 
=^..^=

--
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: newbie qns
       [not found]   ` <LGEMKDAGHLDNLIGNBCEJCEJHCAAA.abmtek@yahoo.com>
@ 2001-07-17 15:44     ` Michael Schaap
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Schaap @ 2001-07-17 15:44 UTC (permalink / raw)
  To: first last; +Cc: cygwin

At 23:50 17-7-2001, first last wrote:
>Thanks for your prompt response. I did mean vim. I typed TERM=rxvt at the
>bash prompt and verified that it was set correctly.  syntax coloring still
>not working in vim :( Also, how do i permanently set TERM=rxvt?

Try changing you shortcut to rxvt (or whatever way you start rxvt): add the 
option
         -tn rxvt

For example: my shortcut has as a target
         D:\cygwin\bin\rxvt.exe -bg FloralWhite -fg black -cr orange -fn 
"Lucida Sans Typewriter-13" -fb "Lucida Sans Typewriter Bold-13" -sr -sl 
5000 -g 80x40 -tn rxvt -e /usr/local/bin/zsh -l -i

  - Michael


--
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: newbie qns
@ 2001-07-18 10:00 Darius.Clynes
  0 siblings, 0 replies; 5+ messages in thread
From: Darius.Clynes @ 2001-07-18 10:00 UTC (permalink / raw)
  To: cygwin

I got vi syntax to work under rxvt by setting  TERM=cygwin.

here is the command that worked for me (from normal cygwin bash)

rxvt -e vi -T cygwin -c "syntax on" yourfile.c &

i also made an alias

alias vix='rxvt -e vi -T cygwin -c "syntax on"'

then just say

vix yourfile.c &

hopes this works for you.


>-----Original Message-----
>From: Michael Schaap [ mailto:cygwin@mscha.com ]
>Sent: Tuesday, July 17, 2001 11:08 PM
>To: Arafat Mohamed; cygwin@cygwin.com
>Subject: Re: newbie qns
>
>
>At 22:23 17-7-2001, Arafat Mohamed wrote:
>>2) Why can't I get color syntaxing when I use rxvt? I can use 
>it fine in a
>>normal cygwin shell
>
>Assuming you're talking about vi(m), make sure TERM=rxvt.
>(For some reason, rxvt sets TERM=xterm.)
>
>  - Michael
>
>
>--
>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/
>

--
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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-18 10:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-17 13:26 newbie qns Arafat Mohamed
2001-07-17 14:08 ` Michael Schaap
     [not found]   ` <LGEMKDAGHLDNLIGNBCEJCEJHCAAA.abmtek@yahoo.com>
2001-07-17 15:44     ` Michael Schaap
2001-07-17 14:45 ` updatdb & rxvt (was: Re: newbie qns) Gerrit P. Haase
2001-07-18 10:00 newbie qns Darius.Clynes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).