1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-15 18:17:32 -05:00

Support for PuTTY-style command-line arguments in Unix PuTTY. I

think it's now actually usable as a day-to-day SSH client, even if
things like the Event Log are still missing. So I call that a decent
lunch hour's work :-)

[originally from svn r3034]
This commit is contained in:
Simon Tatham
2003-03-31 12:10:53 +00:00
parent 9e59f4534b
commit 62844b4590
8 changed files with 118 additions and 27 deletions

View File

@ -16,6 +16,11 @@ int cfgbox(Config *cfg)
return 1; /* no-op in pterm */
}
int process_nonoption_arg(char *arg, Config *cfg)
{
return 0; /* pterm doesn't have any. */
}
char *make_default_wintitle(char *hostname)
{
return dupstr("pterm");
@ -26,6 +31,8 @@ int main(int argc, char **argv)
extern int pt_main(int argc, char **argv);
extern void pty_pre_init(void); /* declared in pty.c */
cmdline_tooltype = TOOLTYPE_NONNETWORK;
pty_pre_init();
return pt_main(argc, argv);