Commit Graph

64 Commits

Author SHA1 Message Date
Erik Forsberg
5e323ca0d3 Make rdesktop return 0 only if a RDP_PDU_DISCONNECT was received,
otherwise return 2 (except for usage errors, where it still returns
1).

Documented exit codes of rdesktop in doc/exit_codes.txt.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@423 423420c4-83ab-492f-b58f-81f9feb106b5
2003-06-19 07:29:53 +00:00
Erik Forsberg
dc0576d40b Initialize IPC.
Changes after running indent-all.sh


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@415 423420c4-83ab-492f-b58f-81f9feb106b5
2003-06-06 11:11:20 +00:00
Jay Sorg
70de4fa1f9 changes so it compiles with g++(mainly for ports)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@375 423420c4-83ab-492f-b58f-81f9feb106b5
2003-05-19 21:36:33 +00:00
Matt Chapman
7cf36760da Move non system dependent part of save_licence back to licence.c.
Clean up overly paranoid code, close files, free memory, etc.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@366 423420c4-83ab-492f-b58f-81f9feb106b5
2003-04-16 13:04:15 +00:00
Matt Chapman
33ee95a206 Fix some instances of out_uint{16|32} with non-zero value (should be
out_uint{16|32}_{le|be}


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@364 423420c4-83ab-492f-b58f-81f9feb106b5
2003-04-16 08:19:15 +00:00
Erik Forsberg
fcfd8d4b90 Support for the -5 flag to rdesktop, indicating the experimental RDP5
support should be used.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@349 423420c4-83ab-492f-b58f-81f9feb106b5
2003-03-27 13:18:13 +00:00
Peter Åstrand
b5753d0a87 Added rdp2vnc support
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@332 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-20 12:14:13 +00:00
Peter Åstrand
f139915dd7 Online help for -S.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@328 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-18 13:07:29 +00:00
Peter Åstrand
a1c5132f9a New option for running single applications maximized
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@327 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-18 13:03:51 +00:00
Peter Åstrand
5ab5ba17eb Moved save_licence/load_licence back to rdesktop.c
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@324 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-11 11:31:04 +00:00
Peter Åstrand
0f0bb5f281 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@317 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-10 12:58:51 +00:00
Peter Åstrand
2dd0b246fb Moved load_licence/save_licence to licence.c. Removed SAVE_LICENCE cond.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@316 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-10 12:56:34 +00:00
Jay Sorg
15a7e6e05b added 15 and 24 bit server options
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@314 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-09 01:38:07 +00:00
Jay Sorg
4b26f4fc6b 16bit
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@308 423420c4-83ab-492f-b58f-81f9feb106b5
2003-02-04 05:32:13 +00:00
Matt Chapman
799526bb95 Wah. 2003 already.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@303 423420c4-83ab-492f-b58f-81f9feb106b5
2003-01-30 11:59:27 +00:00
Matt Chapman
01be712432 Add a warning function, change some errors to warnings, improve a
couple of error messages (not sure whether scewed was meant to be skewed
or screwed :))


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@296 423420c4-83ab-492f-b58f-81f9feb106b5
2003-01-28 12:27:28 +00:00
Peter Åstrand
6006a962ee Fix for empty usernames
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@288 423420c4-83ab-492f-b58f-81f9feb106b5
2003-01-16 13:48:02 +00:00
Peter Kallden
c439e6cfcc save licence change, based on Peter Fales and Mrs. Brisbys discussion.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@279 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-26 14:39:50 +00:00
Peter Kallden
ba91c632d4 owncolmap reintroduced, basically the same code, but with a switch -C. didn't use the -v switch as in the patches. I believe it is confusing and should be reserved for -version information. Other than that I can say that the code does not work as it does in the patches... haven't found what's wrong with it. bit shifting?
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@278 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-26 10:09:14 +00:00
Peter Åstrand
daf1ac6752 Support for extended WM hint _NET_WORKAREA, via -g workarea
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@262 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-18 18:12:49 +00:00
Peter Åstrand
1ad250fcba Support for hiding WM decorations
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@261 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-18 15:37:20 +00:00
Peter Åstrand
a3ef98f0b1 Indent fixes.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@258 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-18 15:30:12 +00:00
Matt Chapman
95e1176075 Change default keymap us -> en-us.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@239 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-24 08:21:33 +00:00
Peter Åstrand
5d2caf3e46 Increased shell max length to 128.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@237 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-23 14:55:52 +00:00
Matt Chapman
8ced285b63 Make title -T in line with xterm, xemacs, etc.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@222 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-11 05:13:19 +00:00
Matt Chapman
64fecfde7d I've been convinced that accepting server[:port] is the right way to do
things (less options to remember, and it's the syntax accepted by the MS
clients).


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@221 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-11 04:00:32 +00:00
Matt Chapman
05de38d226 Improve security of random number generation (support EGD, use MD5
in our poor man's version) - Jacco de Leeuw <jacco2@dds.nl>


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@219 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-10 07:25:31 +00:00
Matt Chapman
0cb2e75135 Remove -l (Microsoft have long since fixed the bug that made it work).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@213 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-06 13:57:39 +00:00
Matt Chapman
7f21b7e693 Remove -P (askpass program)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@212 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-06 13:30:30 +00:00
Matt Chapman
019be5adf0 -p - now reads from stdin rather than using getpass (/dev/tty)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@210 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-04 14:28:14 +00:00
Matt Chapman
f418fe1a5c Reinstate a cleaned-up version of the old xwin_toggle_fullscreen - I indeed
can't get it working reliably with all window managers without creating a
new window.
Move remaining non-window dependant code into ui_init/ui_deinit so that
xwin_toggle_fullscreen can do ui_destroy_window/ui_create_window.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@187 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 06:09:09 +00:00
Peter Kallden
d409df76ab security: when supplying password as arg it is overwritten in the ps table with XXX. (On BSD based platforms this does nothing.)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@170 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 09:20:13 +00:00
Matt Chapman
4cc46cbe11 Send packet dumps to stdout.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@168 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 07:27:49 +00:00
Matt Chapman
9d4c3b2872 Now that we have ui_init move rounding of geometry there (it's X-specific).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@159 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 12:42:26 +00:00
Matt Chapman
4cefa21dd4 #ifdef out licence save code. I don't think it's really necessary; it's
always been broken and AFAIK no-one has complained.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@158 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 12:36:55 +00:00
Matt Chapman
b8aa6678ed Eliminate noise in output - only print version/copyright in usage(),
make connecting/disconnecting message a DEBUG.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@121 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-14 11:54:11 +00:00
Matt Chapman
6d5e7121b7 Move non-window-related initialisation to ui_init.
All functions after ui_init can now assume display and other globals are valid.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@120 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-14 11:48:44 +00:00
Peter Åstrand
79ecb2eaf3 Small indent fix.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@113 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-11 07:54:21 +00:00
Peter Åstrand
434d9cbe94 Replaced all printf with fprintf(stderr)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@110 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-01 12:03:33 +00:00
Peter Åstrand
2054cd2388 Added -w option for setting title
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@106 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-01 11:27:58 +00:00
Matt Chapman
fd914b8cb8 Make sure width is a multiple of 4 (previous version in ui_create_window
was getting done too late, after connection).


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@102 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-29 14:18:24 +00:00
Jay Sorg
a7c00fc2e6 toggle full screen
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@99 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-24 20:04:56 +00:00
Peter Åstrand
4589a877f0 Added -P parameter: Get password from external program (likeSSH_ASKPASS)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@95 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-09 09:11:01 +00:00
Peter Åstrand
4f8b0bc47a Changed max line length to 100
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@81 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-30 07:18:48 +00:00
Jay Sorg
7a1b799c9d added ui_init for pre connect inits like fullscreen
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@80 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-30 01:57:39 +00:00
Peter Åstrand
12619def97 Removed extra newline after -t option.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@78 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-29 20:35:13 +00:00
Peter Åstrand
f1e223725f Applied patch from Bob Bell for -K option
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@75 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-29 20:16:22 +00:00
Peter Åstrand
2dd151bd20 Merged new keysym-based keyboard handling (from alt. CVS repos)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@65 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-18 18:28:12 +00:00
Peter Åstrand
0685b1b65c Fixed indentation with indent
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@63 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-18 16:38:31 +00:00
Jay Sorg
34aa43353b added tcp port command line option
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@57 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-14 00:34:21 +00:00