On Sat, Jun 16, 2001 at 02:22:39AM +0300, Giorgos Keramidas wrote:
>Matt has explained this better than I could ever do, in his tuning(7)
>manpage -- a recent, but very valuable addition to our manpages.
It, indeed, must be very recent: I have upgraded my system just
last month, but I have no tun
At 20:00 31-05-2001 -0700, Farooq Mela wrote:
>I am wondering why some operating systems use the macro _ANSI_SOURCE
>while others (ie Linux) use _ANSI_C_SOURCE to indicate that the source
>compiled is ANSI-compliant (and similarly with _POSIX_SOURCE and
>_POSIX_C_SOURCE).
My copy of POSIX Program
At 17:15 01-06-2001 -0700, Terry Lambert wrote:
>> Thank you. I did as you suggested, and found a solution.
>
>I give: what was the soloution?
Oh, sorry. My original source placed all code into a .code
section. The older ld did not care. The newer one expects
the code to be in the .text section.
At 09:30 01-06-2001 -0700, David O'Brien wrote:
>This would be a question for the GNU Binutils mailing list to find out
>why they changed anything.
Thank you. I did as you suggested, and found a solution.
Thanks again,
Adam
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebs
I have recently upgraded from FreeBSD 3.1 to 4.3-20010525-STABLE.
I wrote a very simple assembly language program that was giving me
a bus error. For several hours I have been trying to find what was
wrong with it, but could not.
Finally, out of desperation, I moved uninitialized data from .bss
At 13:21 29-05-2001 +0400, Nickolay A. Kritsky wrote:
>Hi all.
>I am using assembly language to write some useful programs for my FreeBSD
3.3_release and i need some debugger. I am not happy with
>gdb. Can you tell me if there is some Soft-ICE type debuggers under this OS ?
Try ald (assembly
At 22:14 26-05-2001 -0500, Dan Nelson wrote:
>Have you created any custom /usr/local/etc/rc.d/ scripts? 4.0 calls
>these on shutdown with the "stop" argument, so you can cleanly stop
>things like databases. If your scripts don't check for this, they will
>try to start up again.
Thanks, Dan. Tha
On Sat, May 26, 2001 at 07:25:45PM -0500, G. Adam Stanislav wrote:
>What is strange is that after the words "Working in auto mode" it dials
>up to my ISP, then hangs up, then prints the rest.
I found what was causing it. I had a "ppp" command in
/usr/local/etc/rc.d/sta
Yesterday I upgraded from FreeBSD 3.1 to 4.3-20010525-STABLE. I am very
impressed by what I see, and would like to express both my thanks and my
congratulations to all developers on a job well done.
I do experience one bizarre thing, and would appreciate any input on what
to change: Whenever I us
On Wed, Dec 27, 2000 at 11:44:34AM -0500, Dennis wrote:
>>Then again, I may decide not to do it: My latest port submission has been
>>sitting in the GNATS database for months, so why bother submitting more
>>when nobody cares anyway?
>
>Welcome to the Animal Farm THIS was my point about the Fr
On Sat, Dec 23, 2000 at 09:22:46PM +0100, Alexander Langer wrote:
>Would you share the .sgml file with us? We maybe could also solve the
>problem why CHAPTER isn't allowed.
Thanks for the offer, but I have since rewritten it in HTML, so I no
longer have the .sgml file.
Adam
--
"Let's eat, dri
On Fri, Dec 22, 2000 at 09:35:13AM -0800, Alfred Perlstein wrote:
>Most likely a result of a bug in the msdosfs code,
Quite possible.
> perhaps you can
>help track it down? I don't use msdosfs. :(
I'll try...
Adam
--
When a finger points at the Moon... do you look at the Moon?
Or, do you pr
I think I have just discovered a bug... (FreeBSD 3.1).
Here is the scenario: The program (I have written) opens a file as O_RDWR,
then uses mmap with PROT_READ | PROT_WRITE and MAP_SHARED. It works on
the data, optionally reduces the file size, then unmaps and closes it.
Everything works fine as
On Fri, Dec 22, 2000 at 10:01:04AM +0100, Poul-Henning Kamp wrote:
>You should use SYS_stat or SYS_fstat
Thanks, will do.
Adam
--
Roma non uno die aedificata est
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Earlier I posted some asm code that was causing me trouble with lseek. I have
since figured it out, and should be posting the information on my asm tutorial
within a day or two.
Cheers,
Adam
--
This signature intentionally left blank
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubs
I am trying to determine the size of a file passed as a command line
argument. I am using SYS_lseek. Here is the code up to that point:
_start:
pop eax ; argc
pop eax ; program name
pop ecx ; file to convert
jecxz u
I would like to thank everyone who has answered my recent question
about memory allocation via mmap. I received many message via private
e-mail in addition to those here.
One of them sent me to an online sample chapter of one of Stevens' book
(Interprocess Communication) which explains mmap. That
On Tue, Dec 05, 2000 at 06:11:06PM +0100, Dag-Erling Smorgrav wrote:
>No, you didn't. You probably read the first line, then your eyes
>glazed over and you skipped to the bottom.
Believe what you want.
>The second and third sentences of the second paragraph (the one that
>starts on line 23), as
On Tue, Dec 05, 2000 at 03:43:10PM +, Aled Morris wrote:
>malloc appears to mmap pages from fd -1, and makes them private and
>read/write (except on sparc architecture, where it uses /dev/zero rather
>than -1, which makes more sense to me)
>
>It isn't particularly complicated:
>
>newmem = mmap
On Tue, Dec 05, 2000 at 04:32:29PM +0100, Dag-Erling Smorgrav wrote:
>Did you even read the man page?
Many times, actually. And on different days, too. :) I guess I just don't
understand what is meant by "map" in this context.
My Unix programming "bible" (POSIX Programmer's Guide) does not even
On Mon, Dec 04, 2000 at 12:56:51PM +1000, Stephen McKay wrote:
>Using pipes for temporary storage is still a crazy idea. Pipes can be
>smaller than 8K, depending on the flavour of Unix.
It was just a thought, and it did not work. :) Other flavors of Unix
are not too important in this case: I'm w
On Sat, Dec 02, 2000 at 10:12:56AM -0700, Wes Peters wrote:
>Yes, you can read from your own pipe, and yes the buffering availabe in
>the pipe is limited. IIRC, the pipe size is 8K.
Thank you. In that case I'll be better off using child processes for
what I am working on. But I will use pipes fr
Oops, sorry for sending my last message as Charlie Root. I thought I was
logged in as Adam.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
At 06:25 30-11-2000 +0900, Daniel C. Sobral wrote:
>/me detects LISP influence and is strongly reminded of TeX.
Hmmm... Never used either... It all started as C macros, then I got tired
of having to write an entire C program for each web page, so I decided to
write my own macro processor. As I st
On Mon, Nov 27, 2000 at 03:18:02PM +, Nik Clayton wrote:
>One thing though -- have you considered DocBook as the documentation
>format?
OK, here's my new reply: I have considered it very seriously, and I
have rejected it. The reason is simple: I can't. jade runs out of
swap space and memory e
On Mon, Nov 27, 2000 at 03:18:02PM +, Nik Clayton wrote:
>> If curious, you can read it even now. If your browser cannot locate
>> int80h.org yet (it should tomorrow), you can find the same page as
>> http://www.whizkidtech.net/int80h.hed for now.
>
>It certainly looks interesting.
>
>One thin
Several weeks ago I have asked several questions about assembly language
programming under FreeBSD. I also promissed to share what I learned with
others on my web site.
I am glad to say that my asm project is moving along fast. I am working
on HED (HTML editor). I created my own mark-up language
On Thu, Nov 02, 2000 at 09:59:02AM +0100, Dag-Erling Smorgrav wrote:
>Adam, it's really quite simple: if the carry flag is set, the syscall
>failed, and the value returned is the errno (in your example, open(2)
>returned 2, which is ENOENT, i.e. the file didn't exist). If it
>succeeded, the value
On Thu, Nov 02, 2000 at 12:12:02AM -0500, Michael Bacarella wrote:
>This isn't such a daunting task with grep. Source code cross referencers
>can also help, but I don't use them nearly as often as I thought I would.
Thanks for the grep suggestion. I think I found the source code for open()
now (w
On Thu, Nov 02, 2000 at 12:12:02AM -0500, Michael Bacarella wrote:
>gcc does not generate code that can make FreeBSD system calls directly.
>Most system calls as we know them by the manual have corresponding
>wrappers in libc. See /usr/src/lib/libc if you have the source installed.
I do have the
Are the system calls made via interrupt 0x80 documented somewhere?
Whatever section 2 of man says does not work when making direct kernel
calls. It only describes how the C library calls work.
For example, open() returns -1 if the file is not open. But int 80h
made in assembly language with EAX
On Sun, Oct 22, 2000 at 09:24:08PM +0200, Poul-Henning Kamp wrote:
>>How do I dynamically allocate/free memory from programs that do not use
>>the C library (e.g., assembly language programs)?
>
>If you don't link with the C library, you will need to use the
>sbrk(2)/brk(2) interface to extend you
This is probably a stupid question, but I have not been able to figure it
out on my own:
How do I dynamically allocate/free memory from programs that do not use
the C library (e.g., assembly language programs)?
I looked through syscalls.master but could not find anything resembling
malloc in it.
I just wanted to let you all know that I have submitted my second article
on FreeBSD assembly language programming to Assembly Language Journal.
(The first one was published in Issue 8: http://asmjournal.freeservers.com/ )
If you want to read it before it is published, see
http://www.whizkidtech.
At 20:50 03-06-2000 -0400, Thomas M. Sommers wrote:
>It isn't the same as Linux's. Linux passes arguments to syscalls in
>registers, while FreeBSD puts them on the stack.
It is often possible to write asm code that works on both: You put the
values in the registers and then you push the register
On Fri, May 05, 2000 at 11:34:19PM +0200, Poul-Henning Kamp wrote:
>You want to look in src/lib/csu for the "magic assembler" which is part
>of all programs. There you will find both the environment and the
>cmd line args.
Thanks.
Adam
--
"Let's eat, drink, and be merry, for tomorrow we may d
As a die-hard assembly language programmer, I was very pleased when recently
someone posted a link to his Hello, World assembly language code here.
I played with his code a bit, then wrote a very simple filter in assembly
language. I then converted it to an article on System Calls in FreeBSD,
and
On Wed, Apr 05, 2000 at 03:51:29PM -0700, Alex Belits wrote:
> I think, I have heard statements like this way too much in my life --
>"Communism is the bright future of the humankind -- this goal hasn't been
>achieved yet, but Communist Party is..." Sorry, but I see too many
>similarities.
Give
On Wed, Apr 05, 2000 at 03:30:22PM -0700, Alex Belits wrote:
> Lack of extensibility and variants. Don't they just love the great
>extensibility means aka non-standardized and non-standardizable "private
>use area" that defeats the whole idea of having a standard charset?
Absurd! The private use
On Wed, Apr 05, 2000 at 05:30:38PM -0400, Anatoly Vorobey wrote:
>I am willing to do this work ( a)-d) ), have a good understanding of
>the issues involved, etc.
Yes, you clearly do. :)
> However I am neither a committer nor a
>member of -core. If -core thinks this whole thing is a Bad Idea,
>m
On Wed, Apr 05, 2000 at 05:02:04PM -0400, Anatoly Vorobey wrote:
>a) VGA actually supports 512-characters fonts; this is not currently
>supported by FreeBSD, but can be.
>
>b) FreeBSD supports "raster modes", which are graphics VGA modes
>used as if they were text modes
Good points. Somehow I was
On Tue, Apr 04, 2000 at 07:19:06PM -0700, Alex Belits wrote:
> It is. However if you look at the current efforts of its "adoption", it
>is not used as one. It's touted as the solution to all language-related
>problems, as a replacement of language/charset labeling infrastructure
>and as the neces
On Tue, Apr 04, 2000 at 05:05:05PM -0700, Alex Belits wrote:
> The existing "market" of multilingual application is so small, and it's
>based on so simplistic requirements (to be able to display and print
>characters, and make multilingual "web pages"), that even solution so much
>flawed as stand
On Tue, Apr 04, 2000 at 05:08:56PM +0300, Giorgos Keramidas wrote:
>Of course, it still remains to be seen if having Unicode support on the
>console is a Good Thing(TM).
I don't see how it would be even possible, due to hardware limitations.
The console can only support an 8-bit font (I mean 8-bi
On Tue, Apr 04, 2000 at 12:08:39PM -0700, Alex Belits wrote:
> I don't want to be misunderstood as the opponent of all things Unicode
>-- as I have said, its support is useful. However I oppose:
>
>1. The point of view that Unicode is the only possible or the best
>possible way to handle multilin
At 22:51 03-04-2000 -0700, Alex Belits wrote:
> I agree that Unicode created a good list of glyphs, and it can be
>useful for fonts and conversion tables, but it's completely inappropriate
>as the base of format used in real-life applications for storage and
>communications.
Oh, I think it's gre
At 20:59 03-04-2000 -0700, Alex Belits wrote:
> I feel perfectly fine with "multilingual" documents that contain English
>and Russian text without Unicode.
Those are bilingual, not multilingual. I once had to create a document in
English, Slovak, and Sanskrit (using Devanagari alphabet). There i
At 15:23 03-04-2000 -0700, Alex Belits wrote:
>On Mon, 20 Mar 2000, MikeM wrote:
>
>> Has anyone thought of Unicode support on FreeBSD?
>
> Really the question is much more basic -- who benefits from having
>Unicode (or Unicode in the form of UTF-8) support. It isn't me for sure
Everyone who wo
At 11:37 03-04-2000 -0700, Eugene M. Kim wrote:
>On 2 Apr 2000, Christian Weisgerber wrote:
>
>| I also think the creating of a freebsd-i18n list is long overdue.
>| I18N issues are largely lost among the traffic on -hackers and
>| -questions, and it has become something of a specialty area since
At 11:47 20-03-2000 -0800, MikeM wrote:
>Has anyone thought of Unicode support on FreeBSD?
Certainly.
>Is it possible, or is it totally out of the question?
>
>What would it require?
>
>Is there any way of implementing partial support,
>working in stages, untill it is fully supported?
I worked
At 11:30 23-02-2000 -0800, Deon Fialkov wrote:
>unsubscribe
>
>=
>Success is the result of good judgement. Good judgement is
>the result of experience, and experience is often the result
>of bad judgement.
Hehehe! Sending the unsubscribe request to the list is the bad judgement,
which will
At 17:14 31-12-1999 +0100, Alexander Langer wrote:
>mktime(3) with this tm returns the date 1 Dezember.
>
>Does POSIX want this?
>Does anyone have the specs and could take a look?
>Or is this a bug?
Says POSIX Programmer's Guide, by Donald Lewine: "The mktime() function is
not required to reject
On Sat, Jul 03, 1999 at 06:11:08PM -0600, Wes Peters wrote:
> Trust me, greenie, those of us who a FAR from 16 wish we weren't. ;^)
What, and miss the sixties??? Get back to your handbasket! :-)
Adam
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body
On Sat, Jul 03, 1999 at 06:11:08PM -0600, Wes Peters wrote:
> Trust me, greenie, those of us who a FAR from 16 wish we weren't. ;^)
What, and miss the sixties??? Get back to your handbasket! :-)
Adam
To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the b
On Sat, Jul 03, 1999 at 11:45:41AM -0600, Wes Peters wrote:
> And, in some cases, disasters averted. I think all of us here have seen
> a few graphic examples lately of what happens when the mentoring process
> doesn't work.
Sadly, mentoring can occasionaly hurt the mentor, too.
I used to work
On Sat, Jul 03, 1999 at 11:45:41AM -0600, Wes Peters wrote:
> And, in some cases, disasters averted. I think all of us here have seen
> a few graphic examples lately of what happens when the mentoring process
> doesn't work.
Sadly, mentoring can occasionaly hurt the mentor, too.
I used to work f
On Sat, Jul 03, 1999 at 01:18:52AM -0600, Wes Peters wrote:
> > > You either are a hacker, or you are not. It is not something someone else
> > > can teach you.
> >
> > This deserves a FAQ entry. What an awesome response.
>
> But it's certainly NOT something that you just are, either. You have
On Sat, Jul 03, 1999 at 01:18:52AM -0600, Wes Peters wrote:
> > > You either are a hacker, or you are not. It is not something someone else
> > > can teach you.
> >
> > This deserves a FAQ entry. What an awesome response.
>
> But it's certainly NOT something that you just are, either. You have t
On Thu, Jul 01, 1999 at 08:17:59AM -0700, [EMAIL PROTECTED] wrote:
> I know the basic admin knowledge of UNIX,perl,cgi,c
> how to become a hacker?
You either are a hacker, or you are not. It is not something someone else
can teach you.
Do you have the innate curiosity to take things apart just t
On Thu, Jul 01, 1999 at 08:17:59AM -0700, haodong...@netease.com wrote:
> I know the basic admin knowledge of UNIX,perl,cgi,c
> how to become a hacker?
You either are a hacker, or you are not. It is not something someone else
can teach you.
Do you have the innate curiosity to take things apart ju
On Fri, Jun 04, 1999 at 09:08:03AM -0600, Nate Williams wrote:
> I know of *NO* programmer who does not delight in completely ripping out
> and replacing existing code with code that he has written from scratch.
H... I am a programmer, and I do not take delight in doing that. Not that
I haven'
On Thu, May 20, 1999 at 01:41:37PM -0600, Warner Losh wrote:
> In message <19990519180151.a...@whizkidtech.net> "G. Adam Stanislav" writes:
> : And the MS book was outright lying (gee, surprise): It claimed that
> : one of the biggest advantages of C++ over C is tha
On Wed, May 19, 1999 at 06:16:04PM -0400, Chuck Robey wrote:
> I tell you, I must say that the new spec, from what I've heard (and some
> limited reading of magazine articles), brings in a lot of C++ to C, and
> really is a gift to compiler vendors. No changes *I'd* want.
Ye, gods! You're scaring
Hello All,
I have recently exchanged some email with a person involved in the upcoming
c9x - new version of ANSI C, which is, among other things, supposed to bring
some changes in localization functions.
Since I am working on the wctype.h functions, I asked him where I could learn
more about the
Hi, all,
Just to keep you posted on the progress of the wctype routines:
I put a program called 10646 on the web page. It will read the Unicode data
file and produce a file which then can be fed to mklocale(1) to produce
a Unicode locale.
If renamed (or linked as) ees, it will produce a much sma
65 matches
Mail list logo