public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: less problem
@ 2000-05-30  7:37 Michael Ring
  2000-05-30  8:45 ` Chris Faylor
  0 siblings, 1 reply; 13+ messages in thread
From: Michael Ring @ 2000-05-30  7:37 UTC (permalink / raw)
  To: cygwin; +Cc: cgf

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

>
>A patch just requires that I type cd /somedirectory; patch < somefile.
>It does not require that I inspect the file in question and try to
>determine where to put things.  It's only marginally more work for me
>but I'd like people to be in the habit of sending patches, just like
>every other free software mailing list in the world.
>
>cgf
>

I just did the patch and checked it on my installation. Seems to work fine.

Please see the attached files, patch can be applied by unpacking the actual src
and bin tar files and then
using patch -p0 <termcap.patch or patch -p0 <termcap-src.patch


Michael Ring

[-- Attachment #2: bin00000.bin --]
[-- Type: text/x-diff, Size: 1925 bytes --]

--- etc/termcap_o	Tue Apr 25 21:22:06 2000
+++ etc/termcap	Tue May 30 14:18:43 2000
@@ -214,3 +214,41 @@
 	:Co@:pa@:\
 	:AB@:Sb@:Sf@:tc=linux:
 
+#	Reconstructed via infocmp from file: /usr/local/share/terminfo/r/rxvt
+rxvt|rxvt terminal emulator (X Window System):\
+	:am:eo:km:mi:ms:xn:xo:\
+	:co#80:it#8:li#24:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
+	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
+	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
+	:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
+	:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
+	:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
+	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
+	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
+	:kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
+	:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
+	:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
+	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
+	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
+	:vs=\E[?25h:
+
+
+#	Reconstructed via infocmp from file: /usr/local/share/terminfo/v/vt100
+vt100|vt100-am|dec vt100 (w/advanced video):\
+	:am:ms:xn:xo:\
+	:co#80:it#8:li#24:vt#3:\
+	:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
+	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:as=^N:bl=^G:cd=\E[J:\
+	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:ct=\E[3g:do=^J:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
+	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:kb=^H:\
+	:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
+	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
+	:nd=\E[C:rc=\E8:\
+	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
+	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
+

[-- Attachment #3: bin00001.bin --]
[-- Type: text/x-diff, Size: 1947 bytes --]

--- src/libtermcap/termcap_o	Wed Apr 05 21:41:41 2000
+++ src/libtermcap/termcap	Tue May 30 14:20:02 2000
@@ -214,3 +214,41 @@
 	:Co@:pa@:\
 	:AB@:Sb@:Sf@:tc=linux:
 
+#	Reconstructed via infocmp from file: /usr/local/share/terminfo/r/rxvt
+rxvt|rxvt terminal emulator (X Window System):\
+	:am:eo:km:mi:ms:xn:xo:\
+	:co#80:it#8:li#24:\
+	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
+	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
+	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
+	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
+	:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
+	:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
+	:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
+	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
+	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
+	:kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
+	:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
+	:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
+	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
+	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
+	:vs=\E[?25h:
+
+
+#	Reconstructed via infocmp from file: /usr/local/share/terminfo/v/vt100
+vt100|vt100-am|dec vt100 (w/advanced video):\
+	:am:ms:xn:xo:\
+	:co#80:it#8:li#24:vt#3:\
+	:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
+	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:as=^N:bl=^G:cd=\E[J:\
+	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+	:ct=\E[3g:do=^J:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
+	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:kb=^H:\
+	:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
+	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
+	:nd=\E[C:rc=\E8:\
+	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
+	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
+	:up=\E[A:us=\E[4m:
+

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

* Re: less problem
  2000-05-30  7:37 less problem Michael Ring
@ 2000-05-30  8:45 ` Chris Faylor
  0 siblings, 0 replies; 13+ messages in thread
From: Chris Faylor @ 2000-05-30  8:45 UTC (permalink / raw)
  To: cygwin

On Tue, May 30, 2000 at 02:37:19PM +0000, Michael Ring wrote:
>>
>>A patch just requires that I type cd /somedirectory; patch < somefile.
>>It does not require that I inspect the file in question and try to
>>determine where to put things.  It's only marginally more work for me
>>but I'd like people to be in the habit of sending patches, just like
>>every other free software mailing list in the world.
>>
>>cgf
>>
>
>I just did the patch and checked it on my installation. Seems to work fine.
>
>Please see the attached files, patch can be applied by unpacking the actual src
>and bin tar files and then
>using patch -p0 <termcap.patch or patch -p0 <termcap-src.patch

Only a patch to the source is required.  Thanks for providing this.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: less problem
  2000-05-30 18:39 ` Andrew Patrzalek
@ 2000-05-31  7:15   ` Shiv Kumar
  0 siblings, 0 replies; 13+ messages in thread
From: Shiv Kumar @ 2000-05-31  7:15 UTC (permalink / raw)
  To: Andrew Patrzalek, cygwin

if I do not use the -r option in less command I get the following output :

$ ls -l | less
ESC[0mtotal 12031
drwxr-xr-x   2 shiv     Administ    36864 May 24 15:19 ESC[01;34m.ESC[0m/
drwxr-xr-x  13 shiv     Administ     4096 Apr 26 20:27 ESC[01;34m..ESC[0m/
-rwxr-xr-x   1 shiv     Administ   107892 Apr 21 02:31 ESC[01;32maddftinfo.exe
ESC[0m*
-rwxr-xr-x   1 shiv     Administ   202752 Feb  4 08:39 ESC[01;32maddr2line.exe

$ ls -l | less -r
total 12031
drwxr-xr-x   2 shiv     Administ    36864 May 24 15:19 ./
drwxr-xr-x  13 shiv     Administ     4096 Apr 26 20:27 ../
-rwxr-xr-x   1 shiv     Administ   107892 Apr 21 02:31 addftinfo.exe*
-rwxr-xr-x   1 shiv     Administ   202752 Feb  4 08:39 addr2line.exe*

I have aliased ls='ls --color'. After changing it to alias ls='ls --color=tty'

$ ls -l | less

works fine.


Andrew Patrzalek wrote:

> On a related note, in /etc/man.conf if I use PAGER=less -irs it will
> interpret the escape sequences correctly for the man pages. If I alias
> more='less -irs' I can get the neat colors for commands like ls -l | more
>  using dircolors ). The less manpage warns about using the 'r' command line
> switch. Has anyone had problems with it?
>

--
shiv
vihs@rocketmail.com

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: less problem
  2000-05-27  6:58 Shiv Kumar
  2000-05-27  9:02 ` Jason Tishler
@ 2000-05-30 18:39 ` Andrew Patrzalek
  2000-05-31  7:15   ` Shiv Kumar
  1 sibling, 1 reply; 13+ messages in thread
From: Andrew Patrzalek @ 2000-05-30 18:39 UTC (permalink / raw)
  To: Shiv Kumar, cygwin

On a related note, in /etc/man.conf if I use PAGER=less -irs it will
interpret the escape sequences correctly for the man pages. If I alias
more='less -irs' I can get the neat colors for commands like ls -l | more
 using dircolors ). The less manpage warns about using the 'r' command line
switch. Has anyone had problems with it?
    With emacs however if I execute the internal shell I can't seem to
correct the prompt escape sequence. I just use another window to get around
it. It would be nice to do everything in emacs if I could though.
----- Original Message -----
From: "Shiv Kumar" <vihs@rocketmail.com>
To: <cygwin@sourceware.cygnus.com>
Sent: Saturday, May 27, 2000 10:04 AM
Subject: less problem


> Hi all
>
> This is my first posting to this list. So excuse me if this question has
been
> answered a milliion times before.
>
> Whenever I use less it complains that the terminal is not fully
functional.
>
>      [/home:$] set | less
>      WARNING: terminal is not fully functional
>      -  (press RETURN)
>      [/home:$] echo $TERM
>      win32
>      [/home:$]
>
> Any clues why?
>
> Thanks.
> --
> shiv
> vihs@rocketmail.com
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: less problem
  2000-05-30  7:03           ` Chris Faylor
@ 2000-05-30  8:23             ` Jason Tishler
  0 siblings, 0 replies; 13+ messages in thread
From: Jason Tishler @ 2000-05-30  8:23 UTC (permalink / raw)
  To: cygwin

Chris,

Chris Faylor wrote:
> >See attached for the rxvt and vt100 entries.
> 
> That is not a patch, unfortunately.
> 
> The key here is that you wanted me to do something for you.  I am
> willing to do it but it is in your best interests to provide me with
> something that is standard (i.e., a patch) and will require minimal
> effort on my part to work with.
> 
> A patch just requires that I type cd /somedirectory; patch < somefile.
> It does not require that I inspect the file in question and try to
> determine where to put things.  It's only marginally more work for me
> but I'd like people to be in the habit of sending patches, just like
> every other free software mailing list in the world.

Thank you for your edification.  When submitting patches in the
future, I will only use the above mentioned format.

Regarding this patch -- it seems like Michael Ring beat me to it.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: less problem
  2000-05-30  6:58         ` Jason Tishler
@ 2000-05-30  7:03           ` Chris Faylor
  2000-05-30  8:23             ` Jason Tishler
  0 siblings, 1 reply; 13+ messages in thread
From: Chris Faylor @ 2000-05-30  7:03 UTC (permalink / raw)
  To: cygwin

On Tue, May 30, 2000 at 09:58:42AM -0400, Jason Tishler wrote:
>Chris Faylor wrote:
>> >Point well taken.  But, would you be willing to at least add termcap
>> >entries for rxvt, vt100, and other popular terminal types?
>> 
>> Sure.  I'll gladly accept patches.
			     ^^^^^^^
>
>See attached for the rxvt and vt100 entries.

That is not a patch, unfortunately.

The key here is that you wanted me to do something for you.  I am
willing to do it but it is in your best interests to provide me with
something that is standard (i.e., a patch) and will require minimal
effort on my part to work with.

A patch just requires that I type cd /somedirectory; patch < somefile.
It does not require that I inspect the file in question and try to
determine where to put things.  It's only marginally more work for me
but I'd like people to be in the habit of sending patches, just like
every other free software mailing list in the world.

cgf

>#	Reconstructed via infocmp from file: /usr/local/share/terminfo/r/rxvt
>rxvt|rxvt terminal emulator (X Window System):\
>	:am:eo:km:mi:ms:xn:xo:\
>	:co#80:it#8:li#24:\
>	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
>	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
>	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
>	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
>	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
>	:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
>	:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
>	:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
>	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
>	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
>	:kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
>	:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
>	:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
>	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
>	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
>	:vs=\E[?25h:

>#	Reconstructed via infocmp from file: /usr/local/share/terminfo/v/vt100
>vt100|vt100-am|dec vt100 (w/advanced video):\
>	:am:ms:xn:xo:\
>	:co#80:it#8:li#24:vt#3:\
>	:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
>	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:as=^N:bl=^G:cd=\E[J:\
>	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
>	:ct=\E[3g:do=^J:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
>	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:kb=^H:\
>	:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
>	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
>	:nd=\E[C:rc=\E8:\
>	:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
>	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
>	:up=\E[A:us=\E[4m:
>

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: less problem
  2000-05-27  9:58       ` Chris Faylor
@ 2000-05-30  6:58         ` Jason Tishler
  2000-05-30  7:03           ` Chris Faylor
  0 siblings, 1 reply; 13+ messages in thread
From: Jason Tishler @ 2000-05-30  6:58 UTC (permalink / raw)
  To: cygwin

Chris,

Chris Faylor wrote:
> >Point well taken.  But, would you be willing to at least add termcap
> >entries for rxvt, vt100, and other popular terminal types?
> 
> Sure.  I'll gladly accept patches.

See attached for the rxvt and vt100 entries.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com
#	Reconstructed via infocmp from file: /usr/local/share/terminfo/r/rxvt
rxvt|rxvt terminal emulator (X Window System):\
	:am:eo:km:mi:ms:xn:xo:\
	:co#80:it#8:li#24:\
	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
	:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
	:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
	:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
	:kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
	:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
	:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
	:vs=\E[?25h:

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

* Re: less problem
@ 2000-05-28  8:24 Earnie Boyd
  0 siblings, 0 replies; 13+ messages in thread
From: Earnie Boyd @ 2000-05-28  8:24 UTC (permalink / raw)
  To: Shiv Kumar, cygwin

--- Shiv Kumar <vihs@rocketmail.com> wrote:
> Hi all
> 
> This is my first posting to this list. So excuse me if this question has been
> answered a milliion times before.
> 
> Whenever I use less it complains that the terminal is not fully functional.
> 
>      [/home:$] set | less
>      WARNING: terminal is not fully functional
>      -  (press RETURN)
>      [/home:$] echo $TERM
>      win32
>      [/home:$]
> 
> Any clues why?

Why do you set the TERM to win32?  The default is cygwin which is more or less
an emulation of linux with a few modifications.

Regards,

=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: less problem
  2000-05-27  9:51     ` Jason Tishler
@ 2000-05-27  9:58       ` Chris Faylor
  2000-05-30  6:58         ` Jason Tishler
  0 siblings, 1 reply; 13+ messages in thread
From: Chris Faylor @ 2000-05-27  9:58 UTC (permalink / raw)
  To: cygwin

On Sat, May 27, 2000 at 12:52:13PM -0400, Jason Tishler wrote:
>> On Sat, May 27, 2000 at 12:03:10PM -0400, Jason Tishler wrote:
>> ><Whine>
>> >I really wished that Cygwin already included terminfo versions of less,
>> >texinfo, etc., and ncurses (ie, terminfo) too.
>> ></Whine>
>> 
>> Can I ask why?  I don't see much sense in downloading megabytes of information
>> and installing it on your system so that you get the same functionality as
>> comes from a 9745 byte termcap file.
>
>Point well taken.  But, would you be willing to at least add termcap
>entries for rxvt, vt100, and other popular terminal types?

Sure.  I'll gladly accept patches.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: less problem
  2000-05-27  9:40   ` Chris Faylor
@ 2000-05-27  9:51     ` Jason Tishler
  2000-05-27  9:58       ` Chris Faylor
  0 siblings, 1 reply; 13+ messages in thread
From: Jason Tishler @ 2000-05-27  9:51 UTC (permalink / raw)
  To: cygwin

Chris,

Chris Faylor wrote:
> 
> On Sat, May 27, 2000 at 12:03:10PM -0400, Jason Tishler wrote:
> ><Whine>
> >I really wished that Cygwin already included terminfo versions of less,
> >texinfo, etc., and ncurses (ie, terminfo) too.
> ></Whine>
> 
> Can I ask why?  I don't see much sense in downloading megabytes of information
> and installing it on your system so that you get the same functionality as
> comes from a 9745 byte termcap file.

Point well taken.  But, would you be willing to at least add termcap
entries for rxvt, vt100, and other popular terminal types?

Thanks,
Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: less problem
  2000-05-27  9:02 ` Jason Tishler
@ 2000-05-27  9:40   ` Chris Faylor
  2000-05-27  9:51     ` Jason Tishler
  0 siblings, 1 reply; 13+ messages in thread
From: Chris Faylor @ 2000-05-27  9:40 UTC (permalink / raw)
  To: cygwin

On Sat, May 27, 2000 at 12:03:10PM -0400, Jason Tishler wrote:
><Whine>
>I really wished that Cygwin already included terminfo versions of less,
>texinfo, etc., and ncurses (ie, terminfo) too.
></Whine>

Can I ask why?  I don't see much sense in downloading megabytes of information
and installing it on your system so that you get the same functionality as
comes from a 9745 byte termcap file.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: less problem
  2000-05-27  6:58 Shiv Kumar
@ 2000-05-27  9:02 ` Jason Tishler
  2000-05-27  9:40   ` Chris Faylor
  2000-05-30 18:39 ` Andrew Patrzalek
  1 sibling, 1 reply; 13+ messages in thread
From: Jason Tishler @ 2000-05-27  9:02 UTC (permalink / raw)
  To: Shiv Kumar; +Cc: cygwin

Shiv,

Shiv Kumar wrote:
> Whenever I use less it complains that the terminal is not fully functional.
> 
>      [/home:$] set | less
>      WARNING: terminal is not fully functional
>      -  (press RETURN)
>      [/home:$] echo $TERM
>      win32
>      [/home:$]
> 
> Any clues why?

The less that is included in Cygwin only supports termcap and does
not support terminfo.  Hence, your TERM must be set to only one of 
entries in /etc/termcap.  If you are using cmd or bash, then just set
your TERM variable to cygwin or linux.  This will solve the above
problem.

If you are (or want) to use rxvt, then download less from

    ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Hirmke_Michael/B20/less-332-cygwin-b20-bin.tar.gz

which supports terminfo.  You will also have to download ncurses from

    http://cygutils.netpedia.net/V1.1/ncurses-5.0/ncurses-5.0-cygwin-pre21.tar.bz2

Note that the Cygwin texinfo also only supports termcap, you can get a
terminfo version from

    http://cygutils.netpedia.net/V1.1/texinfo-3.12/texinfo-3.12-cygwin1.1.tar.bz2

<Whine>
I really wished that Cygwin already included terminfo versions of less,
texinfo, etc., and ncurses (ie, terminfo) too.
</Whine>

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* less problem
@ 2000-05-27  6:58 Shiv Kumar
  2000-05-27  9:02 ` Jason Tishler
  2000-05-30 18:39 ` Andrew Patrzalek
  0 siblings, 2 replies; 13+ messages in thread
From: Shiv Kumar @ 2000-05-27  6:58 UTC (permalink / raw)
  To: cygwin

Hi all

This is my first posting to this list. So excuse me if this question has been
answered a milliion times before.

Whenever I use less it complains that the terminal is not fully functional.

     [/home:$] set | less
     WARNING: terminal is not fully functional
     -  (press RETURN)
     [/home:$] echo $TERM
     win32
     [/home:$]

Any clues why?

Thanks.
--
shiv
vihs@rocketmail.com



__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

end of thread, other threads:[~2000-05-31  7:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-30  7:37 less problem Michael Ring
2000-05-30  8:45 ` Chris Faylor
  -- strict thread matches above, loose matches on Subject: below --
2000-05-28  8:24 Earnie Boyd
2000-05-27  6:58 Shiv Kumar
2000-05-27  9:02 ` Jason Tishler
2000-05-27  9:40   ` Chris Faylor
2000-05-27  9:51     ` Jason Tishler
2000-05-27  9:58       ` Chris Faylor
2000-05-30  6:58         ` Jason Tishler
2000-05-30  7:03           ` Chris Faylor
2000-05-30  8:23             ` Jason Tishler
2000-05-30 18:39 ` Andrew Patrzalek
2000-05-31  7:15   ` Shiv Kumar

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).