Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2002-10

Re: fp and 4nt shell

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Pierre Muller
to Rimgaudas Laucius: running FP under 4NT shell (v 3.02) program shows this text and stops responding: ? Free…

A 08:10 16/10/2002, vous avez écrit :

Show quoted text 8 lines
Hi, running FP under 4NT shell (v 3.02) program shows this text and stops responding: Free Pascal IDE Version 0.9.2 4NT: Unknown command "-" It is a little strange command.

This is probably because the COMSPEC environment variable is not set. It should work correctly if you set it before
running the IDE.

Reply by email

Pierre Muller
to Rimgaudas Laucius: responding: It points to 4nt. I forget to say that i trayed to run it under win2000.…
Rimgaudas Laucius wrote 16 lines
> A 08:10 16/10/2002, vous avez écrit : > >Hi, > > > >running FP under 4NT shell (v 3.02) program shows this text and stops responding: > > > > Free Pascal IDE Version 0.9.2 > >4NT: Unknown command "-" > > > >It is a little strange command. > This is probably because the COMSPEC environment variable is not set. > It should work correctly if you set it before > running the IDE. It points to 4nt. I forget to say that i trayed to run it under win2000. Maybe problem there, but without 4nt shell fp works OK.

I don't know 4NT,
but the program does require a shell that knows the /C switch... Humm.... I have no idea how to fix this...

Reply by email

Michael Van Canneyt
to Pierre Muller
Pierre Muller wrote 20 lines
A 11:17 16/10/2002, Rimgaudas Laucius a �crit : >> A 08:10 16/10/2002, vous avez �crit : >> >Hi, >> > >> >running FP under 4NT shell (v 3.02) program shows this text and stops >responding: >> > >> > Free Pascal IDE Version 0.9.2 >> >4NT: Unknown command "-" >> > >> >It is a little strange command. >> This is probably because the COMSPEC environment variable is not set. >> It should work correctly if you set it before >> running the IDE. > >It points to 4nt. I forget to say that i trayed to run it under win2000. >Maybe problem there, but without 4nt shell fp works OK. I don't know 4NT, but the program does require a shell that knows the /C switch... Humm.... I have no idea how to fix this...

Make the 'batch execution command' customizable:

[ ] use COMSPEC when using shell commands
[ ] use this shell command : [_________________]

e.g. The editor I use, (PFE) does this.

Michael.

Reply by email

Unknown author
to Michael Van Canneyt

Date sent: Tue, 15 Oct 2002 11:48:34 +0200 (W. Europe Daylight Time) From: Michael Van Canneyt
To:
Subject: Re: [fpc-devel]fp and 4nt shell
Send reply to:

> >> > Free Pascal IDE Version 0.9.2 > >> >4NT: Unknown command "-"

It would help to know what exactly is supposed to be started there, I guess - Pierre, any idea? I'd expect either some problem with internal commands (is there used any of them?) and/or using different switch character for parameters.

Show quoted text 10 lines
> >> >It is a little strange command. > >> This is probably because the COMSPEC environment variable is not > >> set. It should work correctly if you set it before running the > >> IDE. > > > >It points to 4nt. I forget to say that i trayed to run it under > >win2000. Maybe problem there, but without 4nt shell fp works OK. > I don't know 4NT, > but the program does require a shell that knows the /C switch... > Humm.... I have no idea how to fix this...

JPSoft's interpreters (i.e. 4nt as well) _do_ support this switch.

Show quoted text 6 lines
Make the 'batch execution command' customizable: [ ] use COMSPEC when using shell commands [ ] use this shell command : [_________________] e.g. The editor I use, (PFE) does this.

I don't think this is really needed, at least not until M$ stops supporting DOS compatibility altogether (COMSPEC should be always present). The best is to use an environment variable if available, and to resort to the default command interpreter for that particular platform (sh for Unix, CMD.EXE for WinNT and OS/2, COMMAND.COM for DOS), IMHO. If people want to change the interpreter, they can always set the environment variable (even just for fp).

Tomas

Reply by email

Rimgaudas Laucius

Hi,

running FP under 4NT shell (v 3.02) program shows this text and stops responding:

? Free Pascal IDE Version 0.9.2
4NT: Unknown command "-"

It is a little strange command.

Reply by email

Rimgaudas Laucius
to Pierre Muller: A 08:10 16/10/2002, vous avez écrit : This is probably because the COMSPEC environment…
A 08:10 16/10/2002, vous avez écrit : >Hi, > >running FP under 4NT shell (v 3.02) program shows this text and stops

responding:

Show quoted text 8 lines
> > Free Pascal IDE Version 0.9.2 >4NT: Unknown command "-" > >It is a little strange command. This is probably because the COMSPEC environment variable is not set. It should work correctly if you set it before running the IDE.

It points to 4nt. I forget to say that i trayed to run it under win2000. Maybe problem there, but without 4nt shell fp works OK.

Reply by email