[Freeciv-Dev] Re: Ctrl-D in server (PR#936)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, Sep 04, 2001 at 08:34:00PM +0200, Raimar Falke wrote:
> On Tue, Sep 04, 2001 at 11:02:47AM -0700, Paul Zastoupil wrote:
> > On Tue, Sep 04, 2001 at 11:02:03AM -0700, Christian Knoke wrote:
> > > CVS 03 SEP 2001 i386 Linux w/ readline support
> > >
> > > When you type Ctrl-D in the server, you get:
> > >
> > > 2: Server cannot read standard input. Ignoring input.
> > > >
> > >
> > > If you type it a second time, the input is blocked.
> > > You cannot issue any server commands then.
> >
> > I think this is a feature rather than a bug.
>
> > Didn't it previously exit the server if you did a CTRL-D?
>
> AFAIK yes. This is the way unix programs work.
>
> Raimar
The reason civserver no longer works this way is that it must be able
to run without server commandline input. : | civserver is expected
to make the server act normally. The behaviour on ^D is a side effect
which may not be the best choice. Any opinions?
--
Reinier
|
|