Axel Dörfler
98cc327660
Replaced region_id with area_id.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 14:11:46 +00:00
Axel Dörfler
c426897f56
Changed to make use of environment variables if present. I think we'll
...
later should cut down on the defaults.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 14:24:10 +00:00
Axel Dörfler
7a577b56a1
Now starts a login shell.
...
Renamed console_reader() function to keyboard_reader().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 21:35:10 +00:00
Axel Dörfler
b4fd3816c8
Fixed the stupid bug that prevented you to see what you typed in when bash
...
was running. Thanks a lot to Jerome Duval who found this!
Since TTY ECHO mode doesn't look too well with the old shell, it will directly
start "sh" now, which should be the bash.
No longer prints out the TTY used when started, but now sets (as usually
done in BeOS) the TTY environment variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 03:51:21 +00:00
Axel Dörfler
4d41be9656
Replaced addr with addr_t.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-20 00:26:49 +00:00
Axel Dörfler
85fa73ff32
stdio does work, too.
...
Now uses waitpid() instead of wait_for_thread() - and surprise, it doesn't
work yet :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-15 17:00:51 +00:00
Axel Dörfler
4496669366
Added minimal fork() test app.
...
Enhanced exec_test.c to use some process functions as well.
Switched to load_image() instead of using the old _kern_create_team() syscall.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 17:52:41 +00:00
Axel Dörfler
eb89cb7f1d
The currently predefined PATH variable missed its single most important path (/bin) :).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 17:44:09 +00:00
Axel Dörfler
d82bfbadd6
Small test app for the execl() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:39:37 +00:00
Axel Dörfler
7f5c5fd42b
The search path feature now works properly. The path found is now propagated
...
back to load_container() so that map_image() has the chance to succeed.
The FATAL() macro now uses dprintf() instead of printf() when TRACE_RLD is defined.
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:29:04 +00:00
Philippe Houdoin
178f20f0f6
Experimental search paths $PATH, $LIBRARY_PATH, $ADDON_PATH support.
...
As we currently don't have these environment variables set at init time, their values
are hardcoded for the moment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 14:43:41 +00:00
Axel Dörfler
7740b91858
Ported over consoled from NewOS. It's a very simple replacement for the
...
Terminal application that uses our TTY driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 17:33:29 +00:00
Axel Dörfler
1b41fce458
Added some rudimentary AMD CPU identification, courtesy of Brennan Cleveland.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 01:54:50 +00:00
Axel Dörfler
30a0c00ded
Some more debug output when tracing is enabled.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 17:43:53 +00:00
Axel Dörfler
82b76be31e
Cleaned up the page alignment macros, incorporated NewOS fix #2022
...
(but with the correct semantics).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-13 18:59:25 +00:00
Axel Dörfler
04a280790e
Added some debug output that's going through the kernel debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-13 18:17:47 +00:00
Axel Dörfler
5a0da774a5
Fixed compilation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-13 11:44:58 +00:00
Ingo Weinhold
9516afb70a
Added `-c' option to execute a command line. Should work, but doesn't
...
always do. More often than not one gets page faults. As it happens
sometimes even before anything meaty has been done at all
(e.g. in main()->init_statements()->shell_var_set_text()->
shell_value_init_text()->malloc()), I believe that's a problem not caused
by me. And I wasn't able to track it down.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-12 17:37:42 +00:00
Axel Dörfler
f8db8b97a8
No longer uses syscalls instead of POSIX calls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 11:43:53 +00:00
Ingo Weinhold
d668899063
On success readlink() returns the number of bytes read, not 0.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 11:59:07 +00:00
Ingo Weinhold
f57dcf3200
Several follow-up changes required by the changes either to the VFS
...
syscalls or to the syscall mechanism (which exposed naming and parameter
inconsistencies).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:51:47 +00:00
Axel Dörfler
5a2358d4ea
Clarified output, so that you don't have to wait forever.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-13 19:29:08 +00:00
Axel Dörfler
a97726f081
Registered userland images now contain a bit more information: the text/data
...
addresses and their sizes are now set correctly in image_info as well, as
well as the device/node fields.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-13 16:27:29 +00:00
Axel Dörfler
477bb27551
Renamed node monitor syscalls to the new scheme.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 02:32:00 +00:00
Axel Dörfler
5ace7ebc02
Now uses the B_PATH_NAME_LENGTH constant.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 02:30:36 +00:00
Axel Dörfler
5f6aed4937
syscalls.h now includes a little less than before.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 02:29:11 +00:00
Axel Dörfler
26afb01fec
Renamed image syscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 02:27:53 +00:00
Philippe Houdoin
ac9005b4bb
s/OpenBeOS/Haiku/
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-20 15:47:22 +00:00
Axel Dörfler
67d9fe3273
Fixes fortune; it no longer crashes when there are no fortunes in the file.
...
Relocated the fortunes file to better match the usual Be locations.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 16:02:45 +00:00
Axel Dörfler
6f4ae5140d
Renamed VFS syscalls to the new scheme.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 16:00:53 +00:00
Axel Dörfler
1d67f5a556
Fixed executable paths.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 22:02:44 +00:00
Axel Dörfler
0b57ed842f
Adjusted paths to new locations.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 21:15:16 +00:00
Axel Dörfler
5fce212779
Adjusted the default library path to the standard Be location - added
...
a note that we should evaluate the LIBRARY_PATH env variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 21:08:08 +00:00
Axel Dörfler
618253640c
Userland segments are now called _seg0rw/_seg0ro.
...
Replaced "addr" with "addr_t".
Made segment naming safe (could the buffer could overflow).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 10:01:24 +00:00
Axel Dörfler
3c9e531071
Removed NewOS LOCK_KERNEL and LOCK_RW - replaced by B_READ_AREA, and friends.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 08:24:53 +00:00
Axel Dörfler
f1e764a7e7
No longer uses fgetln() - that call is not part of the POSIX specs, and is
...
not supported by the GLIBC stdio that we now have.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:28:48 +00:00
Axel Dörfler
025019e571
Renamed thread/team syscalls to new scheme.
...
Minor cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:15:48 +00:00
Axel Dörfler
96246c6b3b
Fixed warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:15:15 +00:00
Axel Dörfler
663bccf7f9
Renamed thread/team syscalls to new scheme.
...
Code cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:14:49 +00:00
Axel Dörfler
5d83d63c08
Renamed thread/team syscalls to new scheme.
...
Removed old ERR_* error codes.
Removed funny area names in rldheap.c.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:13:00 +00:00
Axel Dörfler
c0c914aeef
Updated rldelf.c due to the changes in elf32.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:22:59 +00:00
shatty
b89786b69e
change to public resource.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-20 20:47:27 +00:00
Axel Dörfler
2eb8498f76
Fixed a warning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 03:52:44 +00:00
Axel Dörfler
beb1a1b992
Now uses the new BeOS compatible area calls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:18:30 +00:00
Axel Dörfler
62ef93d044
Updated the pipe_test to also test buffering of writes to the pipe.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 18:12:48 +00:00
Axel Dörfler
32169869e8
Added a test for the pipe implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 04:17:31 +00:00
Axel Dörfler
121a2e82c0
Really fixed build (while keeping the app in the build).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 03:35:56 +00:00
Bruno G. Albuquerque
7be092433c
Fixed build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 03:00:38 +00:00
Axel Dörfler
cb7bb042d1
Fixed a typo in the Jamfile that prevented "cpuinfo" to build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-17 15:35:55 +00:00
Axel Dörfler
553f11cc8b
The cpuinfo command is now locally built and added to the tree.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 15:26:28 +00:00