Dimitry Andric
0aa9d419aa
Fix the following warning from clang trunk:
...
usr.sbin/dconschat/dconschat.c:163:65: error: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat]
snprintf(buf, PAGE_SIZE, "\r\n[dconschat reset target(addr=0x%zx)...]\r\n", dc->reset);
~~^ ~~~~~~~~~
%llx
Silence this by casting dc->reset to intmax_t, and using the appropriate
length modifier. While here, wrap the line to a 80 character margin.
MFC after: 3 days
2012-03-19 19:17:55 +00:00
Ulrich Spörlein
0d9deed52c
mdoc: drop redundant .Pp and .LP calls
...
They have no effect when coming in pairs, or before .Bl/.Bd
2010-10-08 12:40:16 +00:00
Ulrich Spörlein
30fc54ea79
mdoc: .Ud has attitude, it takes no argument!
2010-05-27 13:56:40 +00:00
Ed Schouten
71ccf09269
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
Ed Schouten
32cf31fa52
Include <sys/wait.h> and <signal.h> for wait() and kill().
2009-06-14 12:44:09 +00:00
Hidetoshi Shimokawa
3992d42ce0
Set the default escape character as described in the manpage of dconschat(8).
...
Fix a cut-and-paste error.
Spotted by: avatar
Approved by: re (rwatson)
2007-07-12 13:08:00 +00:00
Hidetoshi Shimokawa
8bd6994930
- Add an option to change escape character.
...
- Use CTRL macro.
- Make target reset work on telnet port.
- Add a key bind to invoke kgdb on the terminal. (experimental)
2007-06-15 12:09:16 +00:00
Hidetoshi Shimokawa
2ac79858a6
Reset dc->paddr and dc->reset if we cannot read configuration ROM.
2007-06-08 12:58:06 +00:00
Hidetoshi Shimokawa
0311fbe1bb
Clean up escape sequence handling and add support for
...
resetting target and suspending dconschat.
2007-06-08 05:26:11 +00:00
Hidetoshi Shimokawa
f6416cb484
Add heuristics for smooth reconnection.
2007-06-07 12:29:33 +00:00
Hidetoshi Shimokawa
820f6fa94c
Discard backlog on GDB port when connected.
...
MFC after: 3 days
2007-05-31 04:55:05 +00:00
Stefan Farfeleder
c9a4ff2582
Fix typos in comments.
2005-03-11 14:20:09 +00:00
Stefan Farfeleder
595e532309
Use socklen_t where appropriate.
2005-03-11 14:17:12 +00:00
Xin LI
c49d3c9bac
Remove unnecessary SRCS= where could be guessed directly by our
...
bsd.*.mk infrasture.
Obtained from: ru
2005-01-27 14:52:47 +00:00
Ruslan Ermilov
59a3c79da6
Sort sections.
2005-01-18 20:02:45 +00:00
Hidetoshi Shimokawa
00fab05d23
Invalidate dcons buffer address if the magic is wrong.
2004-09-26 12:46:47 +00:00
Ruslan Ermilov
9cdb6ee164
Assorted markup, grammar, and spelling fixes.
2004-06-13 18:03:44 +00:00
Brooks Davis
cb5df0b27b
Use new eui64(3) functions to print EUI-64s and to allow access to nodes
...
by EUI-64 and name.
Reviewed by: simokawa
2004-05-26 22:59:55 +00:00
Hidetoshi Shimokawa
7d72cc5625
Normalize polling interval while the target is offline.
2004-02-20 10:59:46 +00:00
Hidetoshi Shimokawa
0e49db83c5
Increase MAXDEV up to 10.
2003-11-09 14:49:43 +00:00
Hidetoshi Shimokawa
3a97f68f4f
Cosmetic change.
2003-11-07 10:17:09 +00:00
Hidetoshi Shimokawa
0cf85b0de8
update for conserver-8.0.4.
2003-10-25 14:53:53 +00:00
Hidetoshi Shimokawa
be162aff87
remove debug message.
2003-10-25 14:51:36 +00:00
Hidetoshi Shimokawa
869093b15d
Add dumb console driver and related bits.
...
dcons(4): very simple console and gdb port driver
dcons_crom(4): FireWire attachment
dconschat(8): User interface to dcons
Tested with: i386, i386-PAE, and sparc64.
2003-10-24 15:44:10 +00:00