Commit Graph

24 Commits

Author SHA1 Message Date
dim
1dc73f99dc 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
uqs
8ae3afcfad 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
uqs
1482da422b mdoc: .Ud has attitude, it takes no argument! 2010-05-27 13:56:40 +00:00
ed
073cafdd42 The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ed
2f525d6949 Include <sys/wait.h> and <signal.h> for wait() and kill(). 2009-06-14 12:44:09 +00:00
simokawa
ffeb100042 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
simokawa
e5ece23f3a - 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
simokawa
6ccdd59c1d Reset dc->paddr and dc->reset if we cannot read configuration ROM. 2007-06-08 12:58:06 +00:00
simokawa
1345f38e32 Clean up escape sequence handling and add support for
resetting target and suspending dconschat.
2007-06-08 05:26:11 +00:00
simokawa
50b4632333 Add heuristics for smooth reconnection. 2007-06-07 12:29:33 +00:00
simokawa
799f344ad5 Discard backlog on GDB port when connected.
MFC after: 3 days
2007-05-31 04:55:05 +00:00
stefanf
60ecbe760f Fix typos in comments. 2005-03-11 14:20:09 +00:00
stefanf
8655a91f58 Use socklen_t where appropriate. 2005-03-11 14:17:12 +00:00
delphij
32d71c2dd4 Remove unnecessary SRCS= where could be guessed directly by our
bsd.*.mk infrasture.

Obtained from:	ru
2005-01-27 14:52:47 +00:00
ru
c05985f13f Sort sections. 2005-01-18 20:02:45 +00:00
simokawa
2760305575 Invalidate dcons buffer address if the magic is wrong. 2004-09-26 12:46:47 +00:00
ru
dc54ee200d Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
brooks
5b46c790ee 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
simokawa
7ba479f838 Normalize polling interval while the target is offline. 2004-02-20 10:59:46 +00:00
simokawa
9b0ffa5c91 Increase MAXDEV up to 10. 2003-11-09 14:49:43 +00:00
simokawa
5b4edb5315 Cosmetic change. 2003-11-07 10:17:09 +00:00
simokawa
db06ba5447 update for conserver-8.0.4. 2003-10-25 14:53:53 +00:00
simokawa
57c5fc586d remove debug message. 2003-10-25 14:51:36 +00:00
simokawa
c96f6e4f1d 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