Re: Beginner needs help with script :)

From: gnari (gnari_at_simnet.is)
Date: 05/31/04


Date: Mon, 31 May 2004 14:59:38 -0000


"Player" <notachance@inhell.com> wrote in message
news:c9f7eg$s2j$1@news7.svr.pol.co.uk...
>
> "gnari" <gnari@simnet.is> wrote in message
> news:c9f4v9$mqf$1@news.simnet.is...
> > "Player" <notachance@inhell.com> wrote in message
> > news:c9f4g2$e34$1@newsg2.svr.pol.co.uk...

[snip ctrl-Z failing on XP]

> > >
> > > Anyone no what I am doing wrong here?
> >
> > are you sure the CTRL-Z is the only character in the line?

> Yeah what it is asking is for the reader to to the ctrl+d or ctrl+z to
stop
> the stdin and go onto the next line.
> But when pressing ctrl+d or ctrl+z in the windows xp command console black
> window, it simply prints either of these two characters on the command
> console window, ^z ^d
>
> So as yet I haven't a clue as to what I can do to make the script work.

works on windows2000:
==
C:\perlcode>perl test.pl
Enter students names (press <CTRL>+Z when done):
name1
anothername
onemoreforluck
^Z

Enter associated grades (press <CTRL>+Z when done):
1
2
3
^Z

C:\perlcode>
==

can you cutandpaste equivalent terminal output from your
end ? (not that we do not believe you did it correctly,
but you never know...)

gnari



Relevant Pages

  • Re: Opening in a web site
    ... Which would open the stand alone player. ... you'd have a small piece of javascript instead: ... In other words, just a basic window ... >> code and it should work fine with the newer embedding code above. ...
    (microsoft.public.windowsmedia)
  • QuestRL 0.1.2 released
    ... Tracking ability to track monsters down, ... you can see the blog of the game at ... * The message window now holds seven messages instead of five. ... This makes them able to chase the player quite well. ...
    (rec.games.roguelike.development)
  • Re: QuestRL 0.1.2 released
    ... > in this release are the fact that now monsters "remember" the most ... you can see the blog of the game at ... > * The message window now holds seven messages instead of five. ... This makes them able to chase the player quite well. ...
    (rec.games.roguelike.development)
  • Re: Opening in a web site
    ... sections (one for each chapter in the video with start and duration times ... chapters on the right side of their Windows Media Player window that they ... >>> code and it should work fine with the newer embedding code above. ...
    (microsoft.public.windowsmedia)
  • Re: Enterprise or Standard?
    ... warning to pop up ("a process is trying to close this window.. ... player, even during your show, but 6.4 and 7 players don't support this. ... > continued with audio. ... >>> have to send our listeners a new ASX file every hour. ...
    (microsoft.public.windowsmedia.server)