Keith Winstein
62330a0b09
Put the setsid() where it belongs
2012-04-20 20:38:27 -04:00
Keith Winstein
2dc748b7f6
Make sure we always use -lutil, and make test work for FreeBSD too.
2012-04-20 11:11:00 -04:00
Quentin Smith
46ec3b4145
Link against libutil when checking poll
2012-04-20 11:01:14 -04:00
Quentin Smith
dd49b986ed
Pull in third-party poll emulator and automatically link it in if we detect the system's poll is broken
2012-04-20 05:02:33 -04:00
Keith Winstein
8de74afb5f
Restore 50 fps cap on frame rate (relevant to #222 github issue).
2012-04-19 23:00:12 -04:00
Keith Winstein
3c6e45a469
Adjust timing parameters in response to real-world trace data.
...
Also increases maximum frame rate from 50 fps to 100 fps.
Relevant to issue #222 on github.
2012-04-19 22:40:03 -04:00
Keith Winstein
6a3ea5c751
Bump version to 1.1.94d
2012-04-19 02:45:24 -04:00
Keith Winstein
b9a8b8c009
More helpful messages when locale not found or wrong ( closes #209 )
2012-04-19 02:35:14 -04:00
Keith Winstein
58589787ea
Make compressor take string references ( closes #214 github issue)
2012-04-19 01:35:15 -04:00
Keith Winstein
24d48f37a4
Don't try to predict scroll until we have versioned cell predictions.
...
Closes #6
2012-04-19 01:11:16 -04:00
Keith Winstein
1508d40b4c
Chdir to homedir ( closes #193 ) and honor .hushlogin ( closes #216 ).
2012-04-19 01:03:25 -04:00
Keith Winstein
b127a92617
Back off overlay frame rate when all timing tests have fired (saves CPU)
...
Closes #225 github issue (Jay Freeman).
2012-04-19 00:07:51 -04:00
Keith Winstein
9cf87d224e
Verbose server now turns on verbose transport layer (much more output)
...
Relevant to #217 .
2012-04-18 10:47:18 -04:00
Keith Winstein
54f57ff4de
Bump Debian version
2012-04-17 04:17:33 -04:00
Keegan McAllister
87f63967d6
debian/rules: Include buildflags.mk for DEB_BUILD_MAINT_OPTIONS
...
Otherwise that variable has no effect.
2012-04-17 04:13:36 -04:00
Keith Winstein
aa8c090823
Bump Debian version
2012-04-17 03:24:37 -04:00
Keegan McAllister
57950275fb
Disable dpkg stack protector flag in the new way
...
Suggested by Kees Cook.
2012-04-17 03:18:01 -04:00
Keith Winstein
9b82def79a
Bump base version to 1.1.94a
2012-04-17 02:37:06 -04:00
Keith Winstein
fe221708d4
Bump Debian package version
2012-04-17 02:16:04 -04:00
Keegan McAllister
4babd4785e
Disable dpkg-based setting of stack protector flags
...
Through Autoconf we set hardening flags that are actually more aggressive than
the Ubuntu defaults, but they conflict with same.
2012-04-17 01:54:31 -04:00
Keith Winstein
bdec4cceaf
Sign-off Debian changelog
2012-04-16 21:17:09 -04:00
Keith Winstein
ac2875141b
Bump version for 1.2 release pre-candidate
2012-04-16 21:13:37 -04:00
Keegan McAllister
a289a2319e
Preserve RLIMIT_CORE hard limit, and restore soft limit before exec
...
Closes #196 .
2012-04-16 20:03:04 -04:00
Keith Winstein
1b21e004e7
Search for -lncurses must have different name or some autoconf will skip it.
2012-04-16 19:05:18 -04:00
Keith Winstein
3ed9c0fb77
Only print motd for login shells, not when command is specified.
2012-04-16 18:34:53 -04:00
Keith Winstein
4326daaccc
Update man page and fix lintian warning.
2012-04-16 18:25:56 -04:00
Keith Winstein
c8951c7dfd
Use memmove() where ranges may overlap. Fixes #200 (Matthew Dempsky).
2012-04-16 18:22:27 -04:00
Keith Winstein
68825dccde
Print /etc/motd before login shell. Closes #190 .
2012-04-16 18:19:45 -04:00
Keith Winstein
b4263b354e
Check for paths.h and make sure we have _PATH_BSHELL
2012-04-16 17:51:52 -04:00
Jay Freeman (saurik)
2462434390
Use _PATH_BSHELL for "/bin/sh" and fix argv[0].
...
The previous code had the following issues:
1) hardcoded the path of /bin/sh (should use paths.h)
2) threw away the variable with the fallback shell
3) prepended - to the path rather than the shell name
4) added a - before explicit chosen non-shell commands
Closes #199 .
2012-04-16 17:40:30 -04:00
Brandon Black
6c04291419
Fix ncurses detection at configure time
...
There appears to be a typo/thinko in the ncurses detection
stuff in configure.ac. The fallout was that on a Linux host
without ncurses-devel installed, "./configure" failed to find
curses.h but claimed overall success, then the build failed
later during make. This patch removes an extraneous comma, which
seems to make it both fail and succeed correctly when it should.
2012-04-16 17:13:59 -04:00
Keith Winstein
bfa0999089
Final tab-related bugfix (of the morning). Now matches xterm more closely.
2012-04-16 11:31:37 -04:00
Keith Winstein
0293e579d2
Properly reset tab stops on resize
2012-04-16 09:55:59 -04:00
Keegan McAllister
c390ee9b80
Hardcode the terminals which accept "set window title"
...
terminfo does not have reliable information on this, so we hardcode a whitelist
of terminal type prefixes. This is the list from Debian's default screenrc,
plus "screen" itself (which also covers tmux).
Closes #172 .
Closes #191 .
2012-04-16 09:23:30 -04:00
Keith Winstein
feb352c809
Optional verifier for round-trippability, and fix wrapping and tab bugs.
2012-04-16 09:09:20 -04:00
Keith Winstein
18dc967c09
Small fixups to pty reversal to make work on Linux.
2012-04-16 07:27:24 -04:00
Jay Freeman (saurik)
fe8e50de2b
Reverse the direction of the IO::Pty used for ssh.
...
May address #114 .
May address #164 .
2012-04-16 07:16:54 -04:00
Keith Winstein
bcb96d9337
Change some asserts flagging runtime errors to fatal_asserts (Anders Kaseorg)
2012-04-16 06:27:14 -04:00
Keith Winstein
a8c3df9c80
More robust shutdown sequence with warning on unclean shutdown.
2012-04-16 06:22:35 -04:00
Keith Winstein
79542106c1
Make still_connecting() false if network not initialized, to fix confusing error msg.
2012-04-16 03:51:30 -04:00
Keegan McAllister
c8fe5a3999
mosh-client: Return true for still_connecting if !network
...
Fixes:
$ MOSH_KEY=foo ./mosh-client 127.0.0.1 60010
Crypto exception: Key must be 22 letters long.
Segmentation fault
Closes #189 .
2012-04-16 03:46:09 -04:00
Keith Winstein
c15d3d0c48
Use "ANSI-mode" cursor keys only on actual cursor keys (A through D).
...
Fixes #161 .
2012-04-16 03:44:07 -04:00
Keith Winstein
cca925e020
Reset prediction engine after size has changed (i.e. after Resize is applied)
2012-04-16 03:06:11 -04:00
Keith Winstein
679b819216
Display original command line (including hostname) in mosh-client argv.
...
Closes #180 .
Closes #117 .
2012-04-16 02:55:17 -04:00
Keith Winstein
119bbcaced
Add nicer message and 15s timeout if server can't be reached on UDP.
...
(Closes #152 )
2012-04-16 02:31:27 -04:00
Ed Schouten
033953dcd2
Don't leak utmpx entries on shutdown.
...
As far as I know, for all implementations of libutempter, the
utempter_remove_added_record() function depends on the file descriptor
passed to utempter_add_record() to still be valid. The reason for this,
is that this file descriptor is propagated to the setuid utility that is
responsible for modifying utmpx.
Modify the code to remove the utmpx entry before closing the
pseudo-terminal master device. While there, simply use
utempter_remove_record(), which takes the file descriptor explicitly.
The advantage is that this prevents potential foot-shooting in the
future. Visual inspection of the source code will make it more obvious
that utempter depends on the file descriptor.
Closes #179 .
2012-04-16 01:37:48 -04:00
Joshua Pollack
59e8364178
Add support for Cygwin, which has curses headers in /usr/include/ncurses
...
[keithw -- applied style change from kmcallister]
Closes #181 .
2012-04-16 00:54:27 -04:00
Keith Winstein
25b0e0e8ab
Make new pipe2() test work properly when pipe2() undefined (e.g. on OS X).
2012-04-16 00:47:55 -04:00
Keith Winstein
c57ded1790
Clarify usage statement.
2012-04-16 00:46:01 -04:00
Keith Winstein
c1c102ff07
Document --ssh option in mosh(1) man page.
...
Closes #173 .
2012-04-16 00:03:35 -04:00