public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: bash, tcsh and perl
       [not found] <006201be4466$8f064ba0$6fa9a8c0@turner.isdn.itn.is>
@ 1999-01-31 23:52 ` Corinna Vinschen
  1999-02-03  8:51   ` Igor Schein
  0 siblings, 1 reply; 12+ messages in thread
From: Corinna Vinschen @ 1999-01-31 23:52 UTC (permalink / raw)
  To: Douglass Turner, gnu-win32

Douglass Turner wrote:
> 
> Hello Corinna,
> Can you please tell where you got your copy of tsch for Win95/NT?
> I've looked all over the web but have had no luck.
> 
> Cheers,
> Douglass Turner

Look at:

ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin32/porters/Vinschen_Corinna/B20

Files:
	tcsh-6.08.00.x.README
	tcsh-6.08.00.x.tar.gz

Regards,
Corinna

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: bash, tcsh and perl
  1999-01-31 23:52 ` bash, tcsh and perl Corinna Vinschen
@ 1999-02-03  8:51   ` Igor Schein
  1999-02-04  2:48     ` Corinna Vinschen
  1999-02-28 23:02     ` Igor Schein
  0 siblings, 2 replies; 12+ messages in thread
From: Igor Schein @ 1999-02-03  8:51 UTC (permalink / raw)
  To: Corinna Vinschen; +Cc: gnu-win32

On Wed, Jan 20, 1999 at 09:04:16PM +0100, Corinna Vinschen wrote:
> Douglass Turner wrote:
> > 
> > Hello Corinna,
> > Can you please tell where you got your copy of tsch for Win95/NT?
> > I've looked all over the web but have had no luck.
> > 
> > Cheers,
> > Douglass Turner
> 
> Look at:
> 
> ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin32/porters/Vinschen_Corinna/B20
> 
> Files:
> 	tcsh-6.08.00.x.README
> 	tcsh-6.08.00.x.tar.gz
> 
> Regards,
> Corinna


Hi,

I'm using tcsh in MSDOS console, and the arrows don't work - I have to
use emacs control sequences.  How can I enable arrows?

Thanks
Igor

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

* Re: bash, tcsh and perl
  1999-02-03  8:51   ` Igor Schein
@ 1999-02-04  2:48     ` Corinna Vinschen
  1999-02-28 23:02       ` Corinna Vinschen
  1999-02-28 23:02     ` Igor Schein
  1 sibling, 1 reply; 12+ messages in thread
From: Corinna Vinschen @ 1999-02-04  2:48 UTC (permalink / raw)
  To: igor, cygwin

Igor Schein wrote:
> Hi,
> 
> I'm using tcsh in MSDOS console, and the arrows don't work - I have to
> use emacs control sequences.  How can I enable arrows?
> 
> Thanks
> Igor

Do you have a /etc/termcap for termcap version of tcsh or do
you have terminfo files for curses version of tcsh?
Which setting has $TERM? Does it reference an existing
entry from termcap/terminfo? TERM=linux should always work.

Regards,
Corinna


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

* Re: bash, tcsh and perl
  1999-02-04  2:48     ` Corinna Vinschen
@ 1999-02-28 23:02       ` Corinna Vinschen
  0 siblings, 0 replies; 12+ messages in thread
From: Corinna Vinschen @ 1999-02-28 23:02 UTC (permalink / raw)
  To: igor, cygwin

Igor Schein wrote:
> Hi,
> 
> I'm using tcsh in MSDOS console, and the arrows don't work - I have to
> use emacs control sequences.  How can I enable arrows?
> 
> Thanks
> Igor

Do you have a /etc/termcap for termcap version of tcsh or do
you have terminfo files for curses version of tcsh?
Which setting has $TERM? Does it reference an existing
entry from termcap/terminfo? TERM=linux should always work.

Regards,
Corinna



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

* Re: bash, tcsh and perl
  1999-02-03  8:51   ` Igor Schein
  1999-02-04  2:48     ` Corinna Vinschen
@ 1999-02-28 23:02     ` Igor Schein
  1 sibling, 0 replies; 12+ messages in thread
From: Igor Schein @ 1999-02-28 23:02 UTC (permalink / raw)
  To: Corinna Vinschen; +Cc: gnu-win32

On Wed, Jan 20, 1999 at 09:04:16PM +0100, Corinna Vinschen wrote:
> Douglass Turner wrote:
> > 
> > Hello Corinna,
> > Can you please tell where you got your copy of tsch for Win95/NT?
> > I've looked all over the web but have had no luck.
> > 
> > Cheers,
> > Douglass Turner
> 
> Look at:
> 
> ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin32/porters/Vinschen_Corinna/B20
> 
> Files:
> 	tcsh-6.08.00.x.README
> 	tcsh-6.08.00.x.tar.gz
> 
> Regards,
> Corinna


Hi,

I'm using tcsh in MSDOS console, and the arrows don't work - I have to
use emacs control sequences.  How can I enable arrows?

Thanks
Igor

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

* Re: bash, tcsh and perl
  1999-02-08  6:39 Christopher Murray
@ 1999-02-28 23:02 ` Christopher Murray
  0 siblings, 0 replies; 12+ messages in thread
From: Christopher Murray @ 1999-02-28 23:02 UTC (permalink / raw)
  To: cygwin

At 11:51 AM 2/3/1999 -0500, you wrote:
>On Wed, Jan 20, 1999 at 09:04:16PM +0100, Corinna Vinschen wrote:
>> Douglass Turner wrote:
>> > 
>> > Hello Corinna,
>> > Can you please tell where you got your copy of tsch for Win95/NT?
>> > I've looked all over the web but have had no luck.
>> > 
>> > Cheers,
>> > Douglass Turner
>> 
>> Look at:
>> 
>>
ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin32/porters/Vinschen_Co
rinna/B20
>> 
>> Files:
>> 	tcsh-6.08.00.x.README
>> 	tcsh-6.08.00.x.tar.gz
>> 
>> Regards,
>> Corinna
>
>
>Hi,
>
>I'm using tcsh in MSDOS console, and the arrows don't work - I have to
>use emacs control sequences.  How can I enable arrows?
>
Are you using a .tcshrc file?  In a tcshrc file that I picked up somewhere,
it had these bindings defined - I had to comment them out to get things
to work correctly.  Even if this not your specific problem, at the very
least, at least this is telling you to give a look at the bindkey
definitions - you may need to either change them or actually define some.

# NT specific bindkey extensions
#       bindkey -b N-up up-history
#       bindkey -b N-down down-history

***************************************************************************
Christopher Murray			Applied Research Laboratory
Assistant Research Engineer		The Pennsylvania State University
Work Phone:  (814) 865-2016		P.O. Box 30
Home Phone: (814) 231-2125		State College, PA 16804
Work Fax: (814) 863-1479 		Email: cjm18@psu.edu
v1.2a r+d>s TW 1/0/pw tG 12? 0 Animals 3 2 57.5% <16dec98>
***************************************************************************


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


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

* Re: bash, tcsh and perl
@ 1999-02-08  6:39 Christopher Murray
  1999-02-28 23:02 ` Christopher Murray
  0 siblings, 1 reply; 12+ messages in thread
From: Christopher Murray @ 1999-02-08  6:39 UTC (permalink / raw)
  To: cygwin

At 11:51 AM 2/3/1999 -0500, you wrote:
>On Wed, Jan 20, 1999 at 09:04:16PM +0100, Corinna Vinschen wrote:
>> Douglass Turner wrote:
>> > 
>> > Hello Corinna,
>> > Can you please tell where you got your copy of tsch for Win95/NT?
>> > I've looked all over the web but have had no luck.
>> > 
>> > Cheers,
>> > Douglass Turner
>> 
>> Look at:
>> 
>>
ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin32/porters/Vinschen_Co
rinna/B20
>> 
>> Files:
>> 	tcsh-6.08.00.x.README
>> 	tcsh-6.08.00.x.tar.gz
>> 
>> Regards,
>> Corinna
>
>
>Hi,
>
>I'm using tcsh in MSDOS console, and the arrows don't work - I have to
>use emacs control sequences.  How can I enable arrows?
>
Are you using a .tcshrc file?  In a tcshrc file that I picked up somewhere,
it had these bindings defined - I had to comment them out to get things
to work correctly.  Even if this not your specific problem, at the very
least, at least this is telling you to give a look at the bindkey
definitions - you may need to either change them or actually define some.

# NT specific bindkey extensions
#       bindkey -b N-up up-history
#       bindkey -b N-down down-history

***************************************************************************
Christopher Murray			Applied Research Laboratory
Assistant Research Engineer		The Pennsylvania State University
Work Phone:  (814) 865-2016		P.O. Box 30
Home Phone: (814) 231-2125		State College, PA 16804
Work Fax: (814) 863-1479 		Email: cjm18@psu.edu
v1.2a r+d>s TW 1/0/pw tG 12? 0 Animals 3 2 57.5% <16dec98>
***************************************************************************


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

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

* Re: bash, tcsh and perl
       [not found]   ` <6438-Sun17Jan1999203043+0100-vzell@de.oracle.com>
@ 1999-01-31 23:52     ` Corinna Vinschen
  1999-01-31 23:52       ` Mumit Khan
  0 siblings, 1 reply; 12+ messages in thread
From: Corinna Vinschen @ 1999-01-31 23:52 UTC (permalink / raw)
  To: Dr. Volker Zell, gnu-win32

Dr. Volker Zell wrote:
> 
> Hi Corinna
> 
> When doing a make with your latest cron, cron-2.9.2.src.tar.gz
> I get the following error:
> 
> ----
> 
> gcc -DPWBUFSIZ=512 -DPWBUFPOS=256 -DPWKEYWORD="\"\107\056\114\273\146\231\033\266\""   -c cron.cc -o cron.o
> In file included from cron.cc:31:
> CString.h:23: String: No such file or directory
> make: *** [cron.o] Error 1

Make has to compile with g++ instead of gcc. This works in my environment!
If you don't get it to work, try:

	CXXFLAGS=-I/usr/include/g++ $(PWBUFSIZ) $(PWBUFPOS) $(PWKEYWORD)
		   ^ according to your standard include path.

And please, don't publish your -DPW... values! You're risking your system security.

> -------------------------------
> 
> When doing a make with your passwd-1.0.tar.gz
> I get the following error:
> 
> ---
> 
> gcc -s -o passwd.exe passwd.o -lnetapi32
> passwd.o(.text+0x3d6):passwd.c: undefined reference to `NetUserChangePassword'
> collect2: ld returned 1 exit status
> make: *** [passwd.exe] Error 1
> 
> Any hints ?

Sorry, I forgot, that this function is defined first in a later snapshot,
winsup-19981230, I think. You only have to declare

	DWORD STDCALL NetUserChangePassword (LPWSTR, LPWSTR, LPWSTR, LPWSTR);

at the start of passwd.c, but behind 

	#include <winsup.h>

Regards,
Corinna
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* bash, tcsh and perl
@ 1999-01-31 23:52 Jun Ohya
  1999-01-31 23:52 ` Corinna Vinschen
  0 siblings, 1 reply; 12+ messages in thread
From: Jun Ohya @ 1999-01-31 23:52 UTC (permalink / raw)
  To: 'gnu-win32@cygnus.com'

I've installed cygwin32 B20.1 and ActiveState perl 509 on Win95.

Using bash, the following script runs as expected, printing results on the bash screen.

Using tcsh from ftp.franken.de, a DOS window pops up, prints the results
there and exits, taking the DOS window with it.
If I run the script from the command prompt as "perl test.pl",
the output is shown on the same tcsh screen.

Is this the normal behavior for tcsh?  Or can a tweak my .tcshrc so it will
act the same as bash?

----<snip>----
~>cat test.pl
#!perl
print "No more windows, please!\n";
----<snip>----

TIA

-- 
Jun Ohya
jay@ro.bekkoame.ne.jp

  
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: bash, tcsh and perl
  1999-01-31 23:52 Jun Ohya
@ 1999-01-31 23:52 ` Corinna Vinschen
       [not found]   ` <6438-Sun17Jan1999203043+0100-vzell@de.oracle.com>
  0 siblings, 1 reply; 12+ messages in thread
From: Corinna Vinschen @ 1999-01-31 23:52 UTC (permalink / raw)
  To: Jun Ohya, gnu-win32

Jun Ohya wrote:
> 
> I've installed cygwin32 B20.1 and ActiveState perl 509 on Win95.
> 
> Using bash, the following script runs as expected, printing results on the bash screen.
> 
> Using tcsh from ftp.franken.de, a DOS window pops up, prints the results
> there and exits, taking the DOS window with it.
> If I run the script from the command prompt as "perl test.pl",
> the output is shown on the same tcsh screen.
> 
> Is this the normal behavior for tcsh?  Or can a tweak my .tcshrc so it will
> act the same as bash?
> 
> ----<snip>----
> ~>cat test.pl
> #!perl
> print "No more windows, please!\n";
> ----<snip>----

Seems to be a effect only with ActiveState perl. I'm using cygwin ported
perl5.00501 and I got output into the terminal/console window, regardless of
the used shell and the CYGWIN=[no]tty mode.

Regards,
Corinna
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: bash, tcsh and perl
  1999-01-31 23:52     ` Corinna Vinschen
@ 1999-01-31 23:52       ` Mumit Khan
  0 siblings, 0 replies; 12+ messages in thread
From: Mumit Khan @ 1999-01-31 23:52 UTC (permalink / raw)
  To: Corinna Vinschen; +Cc: Dr. Volker Zell, gnu-win32

On Mon, 18 Jan 1999, Corinna Vinschen wrote:

> > gcc -DPWBUFSIZ=512 -DPWBUFPOS=256 -DPWKEYWORD="\"\107\056\114\273\146\231\033\266\""   -c cron.cc -o cron.o
> > In file included from cron.cc:31:
> > CString.h:23: String: No such file or directory
> > make: *** [cron.o] Error 1
> 
> Make has to compile with g++ instead of gcc. This works in my environment!
> If you don't get it to work, try:
> 
> 	CXXFLAGS=-I/usr/include/g++ $(PWBUFSIZ) $(PWBUFPOS) $(PWKEYWORD)
> 		   ^ according to your standard include path.
> 

There is no "String" in libg++ (it's String.h); besides, Cygnus egcs
distributions (in b20/20.1) do not have libg++, and I have finally dropped
support for it in egcs-1.1.1.

Which basically means that you'll have to build libg++ yourself (and watch
out for String.h vs string.h -- you'll need to create header.gcc file to
remap the names). My egcs-1.1 distribution does have it, and you can
probably just use the libg++ from there.

Regards,
Mumit


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: bash, tcsh and perl
@ 1999-01-31 23:52 Jun Ohya
  0 siblings, 0 replies; 12+ messages in thread
From: Jun Ohya @ 1999-01-31 23:52 UTC (permalink / raw)
  To: gnu-win32

Corinna Vinschen wrote

>Seems to be a effect only with ActiveState perl. I'm using cygwin ported
>perl5.00501 and I got output into the terminal/console window, regardless of
>the used shell and the CYGWIN=[no]tty mode.
>
>Regards,
>Corinna

Seems so.  I had cygwin ported perl5.005.02 and it worked fine.  Installing Active
State caused havoc.  Funny thing is that the cygwin port is showing the same 
behavior now.  Guess I'll have to stick to bash for perl.

many thanks, Corinna

-- 
Jun Ohya
jay@ro.bekkoame.ne.jp


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

end of thread, other threads:[~1999-02-28 23:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <006201be4466$8f064ba0$6fa9a8c0@turner.isdn.itn.is>
1999-01-31 23:52 ` bash, tcsh and perl Corinna Vinschen
1999-02-03  8:51   ` Igor Schein
1999-02-04  2:48     ` Corinna Vinschen
1999-02-28 23:02       ` Corinna Vinschen
1999-02-28 23:02     ` Igor Schein
1999-02-08  6:39 Christopher Murray
1999-02-28 23:02 ` Christopher Murray
  -- strict thread matches above, loose matches on Subject: below --
1999-01-31 23:52 Jun Ohya
1999-01-31 23:52 Jun Ohya
1999-01-31 23:52 ` Corinna Vinschen
     [not found]   ` <6438-Sun17Jan1999203043+0100-vzell@de.oracle.com>
1999-01-31 23:52     ` Corinna Vinschen
1999-01-31 23:52       ` Mumit Khan

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