*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.149 2000/06/02 15:57:38 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.150 2000/06/09 12:33:42 momjian Exp $
*
*
#ifdef HAVE_TERMIOS_H
struct termios t_orig,
- t;
-
#endif
- printf("Username: ");
+ fprintf(stderr, "Username: ");
fgets(username, 100, stdin);
length = strlen(username);
/* skip rest of the line */
if (length > 0 && username[length - 1] == '\n')
username[length - 1] = '\0';
- printf("Password: ");
+ fprintf(stderr, "Password: ");
#ifdef HAVE_TERMIOS_H
tcgetattr(0, &t);
t_orig = t;
if (length > 0 && password[length - 1] == '\n')
password[length - 1] = '\0';
- printf("\n\n");
+ fprintf(stderr, "\n\n");
}