X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Frailroad.c;h=3336f565953983f02ddbc44bef6e0d509d1ae52b;hp=246dc0d4afa9480bb895a6a9c5973fc3934c31fe;hb=3d46d7e9d3e210417f34acf3b469378558398d07;hpb=efa78d11c3ea7f51c7078b64a34c98b44ecb0e1a diff --git a/test/railroad.c b/test/railroad.c index 246dc0d4..3336f565 100644 --- a/test/railroad.c +++ b/test/railroad.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2000-2017,2019 Free Software Foundation, Inc. * + * Copyright 2019,2020 Thomas E. Dickey * + * Copyright 2000-2013,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -29,7 +30,7 @@ /* * Author: Thomas E. Dickey - 2000 * - * $Id: railroad.c,v 1.23 2019/08/24 23:11:01 tom Exp $ + * $Id: railroad.c,v 1.25 2020/09/05 21:43:37 tom Exp $ * * A simple demo of the termcap interface. */ @@ -190,7 +191,11 @@ railroad(char **args) int z; if (name == 0) +#ifdef EXP_WIN32_DRIVER + name = "ms-terminal"; +#else name = "dumb"; +#endif InitAndCatch(z = tgetent(buffer, name), onsig); if (z >= 0) {