Axel Dörfler
bcdcff768b
* Applied patch by James Woodcock: added '-n' option to disable resolving names.
...
Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 13:49:57 +00:00
Axel Dörfler
2671053585
gethostbyaddr() was used incorrectly, found by James Woodcock, thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 22:29:30 +00:00
Jérôme Duval
3ae5aef980
forgot to update version info
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-16 18:38:28 +00:00
Jérôme Duval
28fab8364b
merging coreutils-6.9 into trunk
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-16 18:32:10 +00:00
Jérôme Duval
1d1b561b4b
reverted r21883. the bug #1368 is now fixed for real in r23127 (needs to rebuild of gcc2.95 or a manual fix of its float.h)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-16 17:40:14 +00:00
Jérôme Duval
59b17b6be1
creates the dststatus file with 600 as permissions
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-11 20:20:45 +00:00
François Revol
9226faeadb
Fix return code and some style.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-09 01:56:39 +00:00
François Revol
8a21dd58b6
One more oldie I found when digging old code...
...
A filepanel command allowing scripts to ask the user where to load or save a file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-08 22:15:12 +00:00
Axel Dörfler
a83a20f685
* Made cal.c compile, and fixed warnings.
...
* Added it to the build, and the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-06 20:40:24 +00:00
François Revol
fef10c612a
Test code to set other ui_colors...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-30 01:18:23 +00:00
François Revol
4ba49f69e4
A WindowShade mockup, not yet functionnal.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-29 21:48:33 +00:00
Axel Dörfler
684f9b91a8
* Now reports a proper error when the attribute file is empty (instead of just
...
printing the usage info).
* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-23 13:45:05 +00:00
Axel Dörfler
888514b231
* Applied our coding style.
...
* Made output much more readable and useful (especially with 80 characters).
* Removed useless -u option when built for Haiku.
* Added a new option -t that shows the tunables.
* Removed the hack to let be_app run - it works fine without on BeOS.
* Improved parameter parsing (now uses getopt_long()), also added long names
for all options.
* I'm all for removing BeOS/Dano support completely from this app.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-04 14:21:12 +00:00
Jérôme Duval
67cf86ff49
added Haiku for telnetd login
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 19:13:42 +00:00
François Revol
c5e454a288
Add listfont
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 21:53:25 +00:00
François Revol
7269d269be
Added a listfont command to dump fonts and their properties.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 21:52:58 +00:00
Jérôme Duval
5aa27f74da
updated zip to version 2.32
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 01:27:31 +00:00
Ingo Weinhold
91c1b58f82
Attempt to make unzip build for MacOS X as well.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-29 22:27:43 +00:00
Jérôme Duval
69e65f2f57
replaced misc values with respective constants
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-29 19:10:30 +00:00
François Revol
c87d0ba1fb
E2BIG wasn't catched by the sed scripts... added.
...
Some #ifdefs to allow building under BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 16:01:15 +00:00
Axel Dörfler
3dd4843b9d
Updated unrar to 3.7.8, patch by Ioan Molnar - thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-15 23:49:42 +00:00
Jérôme Duval
e27e4f8d51
only define va_copy for gcc2.95
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-15 23:08:08 +00:00
Axel Dörfler
f6e4cbb952
* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class
...
definitions).
* Minor cleanup here and there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-15 20:13:55 +00:00
Jérôme Duval
b8b20fac4d
generate with a different name to avoid rewriting on the same file
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-15 18:11:07 +00:00
Jérôme Duval
3db320e4f9
use regex from libroot
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-13 12:14:25 +00:00
Axel Dörfler
ace15ce212
Changed defaults in readline to be more useful. This fixes bug #1540 .
...
Alternatively, we could add an inputrc file - this would have the advantage
that other apps using readline built-in would have those, too.
OTOH this really should be in the defaults, too, IMO (ie. we could do both).
Opinions welcome :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-08 21:18:19 +00:00
Ingo Weinhold
db5c68ca46
* Added the partition size as parameter to the file and partitioning
...
system initialize() hooks. It's often the only info about the
partition one needs and thus locking the partition just to get it is
no longer necessary.
* intel partitioning system:
- Removed passing around block sizes. We require 512 byte sectors
anyway. In fact using the parent partition's block size was even
wrong.
- Simplified writing the partition map sector.
- Simplified and corrected the partition map initialization.
- We don't fail identifying a partition anymore, if the partition map
contains no partitions. We would never identify a freshly
initialized partition map before.
- Made pm_identify() more intelligent: It determines the priority to
return depending on whether the partition is the device itself and
whether we have recognized child partitions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-04 23:48:18 +00:00
Marcus Overhagen
8ce98e44cc
convert files to new include file locations
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-28 14:53:42 +00:00
Jérôme Duval
4bf50c9bc4
updated ctags to 5.7
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-25 17:42:11 +00:00
Jérôme Duval
759833c921
patch from JiSheng: fixed usage for option -M, added examples for testing
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-06 18:12:33 +00:00
Ingo Weinhold
eb4ea3062e
Bash applies the same logic on SIGHUP as on normal exit now. Jobs are
...
sent a SIGHUP only when that was explicitely requested via shopt
huponexit. Thus it behaves like other shells (ksh, tcsh, ash,...).
Background processes are no longer terminated when closing the terminal.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-06 02:20:13 +00:00
Ingo Weinhold
363d1373f4
We need to use _kern_open() on BeOS incompatible systems, if we want
...
to be able to open symlinks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-05 18:16:32 +00:00
Axel Dörfler
ef27f7d0e0
Ported over atftpd from Linux - should work on BSD as well, now.
...
Not yet tested, and it will probably not work correctly until we support
IP_RECVDSTADDR correctly (we don't support that CMSG stuff yet).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-04 21:35:58 +00:00
Ingo Weinhold
b4c9e509be
Added macro to enabled the -J option even if not compiling under BeOS or
...
MacOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-04 18:59:05 +00:00
Ingo Weinhold
6aae5da480
It suffices to open a node read-only to write its attributes. In fact
...
open() is supposed to fail for directories when write access is
requested.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-04 18:57:13 +00:00
François Revol
af73a9fb93
Add reading of .url files from win, redirects to default browser.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-04 01:26:42 +00:00
Jérôme Duval
afa1b9a59c
added fwcontrol and firewire to the build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-30 22:02:34 +00:00
Jérôme Duval
bb5ea4eb08
work from JiSheng Zhang : firewire and ohci modules from FreeBSD current, update for fw_raw and fw_control. Thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-30 21:59:49 +00:00
Ingo Weinhold
d348ab947f
mksignames is not at all cross-compilation-friendly, since it includes
...
the host platform's <signal.h> to build the signal name array from. We
use a hand-edited signames.h when cross-compiling for Haiku, now.
The shell does now show the correct signal names when having been
compiled under Linux. Moreover we avoid bug #1428 (mksignames being
broken under FreeBSD).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-28 12:07:49 +00:00
Ingo Weinhold
1f9b6e48c3
Enabled job control. It doesn't fully work yet, as there's some kernel
...
support missing, but it cures the symptoms of bug #113 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-26 15:16:55 +00:00
Ingo Weinhold
90e8d7253b
Don't include Haiku's POSIX headers for host platform builds. Big no-no.
...
Bash builds for BeOS R5 again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-24 21:07:24 +00:00
Bruno G. Albuquerque
96c22acbcd
- Fix build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-22 13:03:47 +00:00
François Revol
c09bce2271
This should work correctly with 3Go now :)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-22 10:33:23 +00:00
Michael Lotz
8b39e73209
Print class, subclass and protocol field as hex numbers. This fits general usage and documentation.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-18 18:45:49 +00:00
Michael Lotz
ff9e2d0cf7
Correct printing generic descriptors (the length includes the two other struct fields). Fixed warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-18 18:39:29 +00:00
Axel Dörfler
36c5ff54b6
Patch by Ioan Molnar: update unrar from version 3.67 to 3.76 - thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-14 22:45:34 +00:00
Ingo Weinhold
7e8ac2903b
* Prefixed the variables NETWORK_LIBS, NETAPI_LIB, and
...
SELECT_UNAME_ETC_LIB with TARGET_ and introduced HAIKU_* and HOST_*
counterparts.
* Use HOST_NETWORK_LIBS for building remote_disk_server.
* Also got rid of {R5,BONE,DANO,HAIKU}_COMPATIBLE.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-12 22:15:10 +00:00
François Revol
16f5889c28
Fix a warning
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-11 21:23:47 +00:00
Jérôme Duval
9a306eb13f
added a copy of the former seq.c well handled by gcc 2.95.3, and asked jam to use this one conditionally. this "fixes" bug #1368 , unless/until someone come with something
...
better.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-10 17:24:48 +00:00
Ingo Weinhold
da0f9ae040
Added Haiku as host platform supported by the build system ("haiku_host").
...
Completely untested yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-02 21:13:56 +00:00
Axel Dörfler
7548b9ae20
Forgot to include strace in the huge commit that changed the _kern_load_image() signature, sorry!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-27 09:40:26 +00:00
Jérôme Duval
2ff0a95e11
work from JiSheng Zhang : fwcontrol with firewire headers from FreeBSD current. Thanks!
...
clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-15 17:43:02 +00:00
Axel Dörfler
835e31d5a7
Fixed failure return codes as pointed out by Jerome.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-09 21:41:44 +00:00
Jonas Sundström
2c02680d03
Allow removing any Deskbar replicants, by name.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-07 16:29:44 +00:00
Axel Dörfler
3f8368e223
Made the output of the volume listing more useful: added size, and device information.
...
size_string() was taken from df.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-05 19:32:59 +00:00
Jonas Sundström
7a3f6f9a07
code style fixes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-05 11:47:49 +00:00
Jonas Sundström
fd8b35c86b
Allow application signature as argument. If target has a replicant (e.g. ProcessController) give that precedence over desklink replicant.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-05 00:28:02 +00:00
Jonas Sundström
a35335bf27
More readable use of the BDeskbar API when removing desklink replicants. Clean ups.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-04 17:55:03 +00:00
Axel Dörfler
4e6971bb54
* Implemented a basic "login" command - does not yet support real passwords (it currently
...
does a plain string comparison with whatever passwd::pw_passwd contains.
* Removed left-over tcptester directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-04 16:33:57 +00:00
Jonas Sundström
4be1917dda
Authors in chronological order >> Authors
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-30 15:14:52 +00:00
Jonas Sundström
677a72ede1
Updated copyright years. Removed hardcoding of view color. Removed BDragger. Made desklink items use 32-bit icons, drawn with transparency. Made settings file name match the new app signature. Renamed volume replicant's menu items Media/Sound "settings" to "preferences". Made --help actually helpful. Replaced old style copyright header in iconfile.h.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-29 18:37:03 +00:00
Michael Lotz
7f9939f06d
Made a failing update_mime_info() non fatal. It seems that the BeOS version of mimeset does the same. Tested with FileType-F a mimeset under R5 does not quit with an error. This fixes the build on R5 and should therefore fix bug #1280 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-27 22:59:00 +00:00
Jérôme Duval
20bda75303
exit with 1 when an error occurs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-22 16:23:51 +00:00
Jérôme Duval
29cb39c4ff
actually exit with an error when it happens
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-21 18:40:33 +00:00
Axel Dörfler
361a19cd94
makebootable didn't work correctly on BeOS: the partition offset was divided by
...
the block size once too often.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-24 14:36:57 +00:00
Ingo Weinhold
39bdbadf39
If the boot code couldn't be found in makebootable's resources, it tries
...
to load it from an attribute ("BootCode"). On Darwin we write the boot
code into this attribute. This should solve the problem that writing
resources into the makebootable file renders it not executable there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 17:33:21 +00:00
François Revol
f4665cbe34
forgot a return there...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 18:15:26 +00:00
François Revol
1d931697a0
Add setdecor.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 17:56:54 +00:00
François Revol
872cd25631
Zeta-like setdecor command to list/set decorator addon. Just for the sake of it.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 17:56:02 +00:00
Hugo Santos
9534d90eb9
added IFM_AUTO to if_media and ifconfig.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 05:28:55 +00:00
Jérôme Duval
13593fb776
updated bzip2 to 1.0.4
...
added bzip2 and bunzip2 to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-26 22:11:52 +00:00
François Revol
5f29df20b2
Fix app sig and put it at a single place.
...
Add support for NetPositive bookmarks, so one can for ex place a bookmark on the desktop with an http: dl link for moz with pref app set to urlwrapper. *hint* Korli :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 22:45:12 +00:00
François Revol
f1f76bb624
Cleaned up protocol configuration. Put compile-time config in a header file, so the rdef doesn't include mimes for urls we won't support.
...
Added http: support with wget in a Terminal.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 22:11:52 +00:00
Hugo Santos
66a4a42802
added Recv-Q/Send-Q output to netstat.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-25 17:41:18 +00:00
Hugo Santos
e6f333541a
moved tcptester to tests/.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-19 22:03:54 +00:00
Hugo Santos
69adff2f81
A very simple controlable traffic generator for TCP testing.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-19 06:39:05 +00:00
Hugo Santos
f106e0650e
print the new 'active' flag in arp entries
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 21:00:32 +00:00
Jérôme Duval
950ab96126
clean up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 10:51:32 +00:00
Axel Dörfler
e163e8f3a0
Fixed build (IP_TOS is defined now).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-10 15:01:22 +00:00
Hugo Santos
055fcfbf98
added 'netcat', which is particularly helpful debugging TCP.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-09 22:51:08 +00:00
Hugo Santos
1340c38e52
added message_args decoding support to strace (used by net_stack's RECEIVE/SEND).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-06 02:02:29 +00:00
Hugo Santos
17b77c3b92
consolidate all RECV/SEND ioctls into a single RECEIVE/SEND pair
...
- changed the socket module to use thew new RECEIVE/SEND in all forms of recv() and send()
- changed libnetwork to use the new RECEIVE/SEND
- remove transfer_args processing from strace since the structure was removed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-05 14:26:46 +00:00
Axel Dörfler
d1fca1ccb8
Translate print the output formats twice instead of the input formats.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-05 14:26:06 +00:00
Hugo Santos
8df968341a
tiny case but T/TX is copper, SX is fiber
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-04 15:36:10 +00:00
Axel Dörfler
bf256341b9
Only print the media state in case we're linked.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-04 14:20:32 +00:00
Axel Dörfler
6d60dde7cd
Added support for printing the media type.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-04 13:32:18 +00:00
Hugo Santos
c57dbb8b04
output IFF_LINK, IFF_AUTO_CONFIGURED and IFF_CONFIGURING flags
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-04 12:50:44 +00:00
Hugo Santos
ecde9adfaf
gcc 4 compilation fixes. Patch by Jerome Duval.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-03 18:50:27 +00:00
Axel Dörfler
f18d4e1e45
Traceroute: use new SIOCGETRT to obtain the source address to be used when
...
communicating with the destination, patch by Hugo Santos.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-01 12:14:20 +00:00
Axel Dörfler
289c0791bb
Added 'route get' support to the route command (via SIOCGETRT), patch by Hugo Santos.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-01 12:10:20 +00:00
Axel Dörfler
0786dcba41
Ported latest traceroute, courtesy of Hugo Santos.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-01 11:51:14 +00:00
Ingo Weinhold
9449be79e7
GCC 4 fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-28 21:14:40 +00:00
Ingo Weinhold
f332f5da9e
Patch by "kaliber" (slightly modified): Adds
...
cardctl, compress, diff3, dump_cis, dump_cisreg, fmt, fold, ident,
install, installsound, merge, prio, pack_cis, pc, patch, rlog, unexpand,
updatedb, uudecode, uuencode, zipgrep
to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-28 16:29:51 +00:00
Ingo Weinhold
492271435a
Patch by Hugo Santos:
...
* added additional address family names
* support dumping the contents of ifreq (only interface name right now)
and of ifconf (dumps the maximum of 8 interfaces)
* added <sys/sockio.h> ioctl names and type handling
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-28 15:26:37 +00:00
Jérôme Duval
7bd0beb35e
added ctags 5.6 from http://ctags.sourceforge.net
...
Integration patch from kaliber as of bug #1127 , with a minor fix. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-27 18:49:40 +00:00
Ingo Weinhold
a71744ba3a
Patch by Hugo Santos. In his own words:
...
- moved the network type handling into NetworkTypes.cpp.
- list the known socket options and some of their types (mostly only handling
integers right now).
- in order to look at the socket options values, i added specialized pointers
to look at the value pointed by int *, unsigned int *, long *,
unsigned long *, long long * and unsigned long long *. This proved helpful
in other situations, such as looking at the msgCode of read_port_etc and
other similiar cases.
- i added a new option to -d, "pointer_values" to enable/disable this "look
at integer pointer values" behavior.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-26 22:27:15 +00:00
Ingo Weinhold
9a8d7c00c9
Fixed printing of signed numbers. If a long long is passed to snprintf()
...
the correct modifier ("ll") has to be used. On x86 it doesn't make a
difference, if that's the last argument, but with other ABIs it might.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-26 02:41:12 +00:00
Ingo Weinhold
95ebbeb153
Reorganized sources a bit:
...
* Context got its own source and header files.
* Syscall::GetSyscall() had little to do with the Syscall class itself;
it's get_syscall() now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-26 02:02:18 +00:00
Ingo Weinhold
567638c602
Patch by Hugo Santos:
...
* Print structures passed to ioctl() for several commands (networking and
terminal).
* Optional hex/decimal formatting of numbers (option -i).
* New level of detail option -d.
* Other improvements, like the introduction of a Context class to simplify
passing around stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-26 01:25:59 +00:00
Ingo Weinhold
af9825c29c
Support for printing fd_sets. Patch by Hugo Santos.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-23 21:52:48 +00:00