home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJDEV201.ZIP / info / kb.inf < prev    next >
Encoding:
GNU Info File  |  1996-09-08  |  9.2 KB  |  300 lines

  1. This is Info file ../../../info/kb.inf, produced by Makeinfo-1.64 from
  2. the input file kb.txi.
  3.  
  4. 
  5. File: kb,  Node: Top,  Prev: (dir),  Up: (dir)
  6.  
  7. The DJGPP Knowledge Base
  8.  
  9. This document is a place to store random bits of information about
  10. DJGPP and how to use it efficiently.
  11.  
  12. Copyright (c) 1995,1996 DJ Delorie
  13.  
  14. * Menu:
  15.  
  16. * Introduction::
  17.  
  18. * What Changed::        List of changes made to each release.
  19.  
  20. * Known Bugs::        List of things that we know are broken,
  21.             but either we haven't fixed them yet
  22.             or we haven't come up with a suitable
  23.             solution.
  24.  
  25. * Known Anti-Bugs::    Things that some people might think are
  26.             bugs, but are done that way on purpose.
  27.  
  28. * Hidden Features::    Things that are in djgpp but aren't
  29.             intended for the casual user.
  30.  
  31. * Index::
  32.  
  33. 
  34. File: kb,  Node: Introduction,  Next: What Changed,  Up: Top
  35.  
  36. Introduction
  37. ************
  38.  
  39. This is the intro.
  40.  
  41. 
  42. File: kb,  Node: What Changed,  Next: Known Bugs,  Prev: Introduction,  Up: Top
  43.  
  44. What Changed
  45. ************
  46.  
  47. * Menu:
  48.  
  49.  
  50. * Changes in 2.01::        DJGPP 2.01
  51.  
  52. 
  53. File: kb,  Node: Changes in 2.01,  Up: What Changed
  54.  
  55. Changes in 2.01
  56. ===============
  57.  
  58. Here is a list of changes from DJGPP V2.00 to V2.01
  59.  
  60. `dxeload()' now checks for `malloc' returning NULL.
  61.  
  62. `gxx' by default also links `libstdc++.a'.
  63.  
  64. `info/dir.txi' now has full file names for binutils, bison, and find.
  65.  
  66. `include/dir.h' now packs `struct ffblk' in such a way that g++ 2.7.2
  67. works correctly.  Note that gcc 2.7.3 does not require this change.
  68.  
  69. `SIGINT' is now in the ANSI section of `signal.h'
  70.  
  71. `glob()' returns GLOB_NOSPACE when `malloc' fails.
  72.  
  73. `echo' now accepts `-s' to put one argument per line, instead of all on
  74. one line.
  75.  
  76. `_dos_ds' now has a limit of 4Gb instead of 16Mb.
  77.  
  78. `_is_exec' (and thus `access') check suffixes independent of case, so
  79. `.com' and `.bat' files are executable.
  80.  
  81. Documentation for `getopt' has been added.
  82.  
  83. `doscan' returns -1 when it should (and other doscan fixes).
  84.  
  85. `sigaction' works correctly.
  86.  
  87. `stat' works correctly when _STAT_EXEC_MAGIC is set but _STAT_EXE_EXT
  88. is not.
  89.  
  90. The example in the `movedata' documention correctly lists `_my_ds()'
  91. now.
  92.  
  93. `fsbd' and `edebug' shouldn't crash on long C++ symbols.
  94.  
  95. `stat' returns the correct number of links to a directory.
  96.  
  97. `fsdb' doesn't crash with multiple directories of source files.
  98.  
  99. Command line arguments are not wildcard-expanded if they were passed
  100. through `spawn*()' or `exec*()'
  101.  
  102. `stdprn' and `stdaux' work correctly now.
  103.  
  104. Documentation for `dosmemput' fixed.
  105.  
  106. `popen' and `system' no longer leak file descriptors.
  107.  
  108. `bdosptr' macro in `dos.h' is now protected better.
  109.  
  110. `system' now flushes stdout and stderr (output used to get mixed up).
  111.  
  112. `inp', `inpw', `outp', `outpw' added to `pc.h'.
  113.  
  114. `_go32_dpmi_free_real_mode_callback' frees the right stack.
  115.  
  116. Anything in `libm.a' that used `scalbn' won't leak stack (like `ldexp').
  117.  
  118. Most `stdio.h' routines rewritten for better text file handling.
  119.  
  120. `exit' won't recurse if a destructor calls `exit'.
  121.  
  122. `fcntl' supports `sys/fsext.h'.  `open' passes all flags to extensions.
  123.  
  124. `system' supports redirection and pipes directly.
  125.  
  126. `stat' bugfixes.
  127.  
  128. `mntent' supports JAM compressed drives; CDROM bug fixed.
  129.  
  130. Many fixes to LFN support.
  131.  
  132. `printf' supports long longs; new support functions in libc also.
  133.  
  134. `go32-v2' works in more cases.
  135.  
  136. `djasm' supports more opcodes and modes.
  137.  
  138. `stubify' doesn't crash as often; runs faster.
  139.  
  140. `ScreenGetChar' added to `pc.h'
  141.  
  142. `va_start' works if the last argument is not int-sized.
  143.  
  144. New function `_fargetsel()'.
  145.  
  146. `echo.exe' handles invalid options correctly now.
  147.  
  148. Some `fsdb' bugs fixed
  149.  
  150. `glob' handles `...' better now.
  151.  
  152. `ioctl' and `sys/ioctl.h' added (no unix functionality yet)
  153.  
  154. `termios.h' functionality added.
  155.  
  156. `write' no longer mallocs a buffer; it writes to the transfer buffer
  157. directly.
  158.  
  159. `setrusage' and `getrusage' added.
  160.  
  161. 
  162. File: kb,  Node: Known Bugs,  Next: Known Anti-Bugs,  Prev: What Changed,  Up: Top
  163.  
  164. Known Bugs
  165. **********
  166.  
  167. 
  168. File: kb,  Node: Known Anti-Bugs,  Next: Hidden Features,  Prev: Known Bugs,  Up: Top
  169.  
  170. Known Anti-Bugs
  171. ***************
  172.  
  173. 
  174. File: kb,  Node: Hidden Features,  Prev: Known Anti-Bugs,  Up: Top
  175.  
  176. Hidden Features
  177. ***************
  178.  
  179. * Menu:
  180.  
  181. * DJGPP.ENV::    All about the format of the DJGPP.ENV file
  182.  
  183. 
  184. File: kb,  Node: DJGPP.ENV,  Up: Hidden Features
  185.  
  186. DJGPP.ENV
  187. =========
  188.  
  189. If you set the DJGPP environment variable to point to a file, that file
  190. will be used to load the environment.  There is a djgpp.env file
  191. distributed with djgpp that provides most of the values you need.  The
  192. format of the file is like this:
  193.  
  194.      VAR=value
  195.      VAR=value
  196.      [program]
  197.      VAR=value
  198.      [prog2]
  199.      VAR=value
  200.  
  201. Note that all whitespace is preserved, so be careful about trailing
  202. spaces and spaces around the `='.  Variables in the first section
  203. (before any [program] lines) apply to all programs.  Variables in
  204. program-specific sections are loaded only when running that program.
  205. For example, a [gcc] section would have variables that gcc.exe needs.
  206. Values may refer to other variables using the DOS convention, like
  207. %DJGPP%.  In addition, the first characters after the `%' can be used
  208. to process the value before using it.  These syntaxes are allowed:
  209.  
  210.      %variable%     Take the value as is
  211.      %:variable%    Take the directory portion only
  212.      %;variable%    Append with a semicolon if variable is defined
  213.      %/variable%    Replace all `\' with `/'
  214.      %\variable%    Replace all `/' with `\'
  215.      %<variable%    Convert to upper case
  216.      %>variable%    Convert to lower case
  217.  
  218. You may list multiple characters after the %, but they must be before
  219. the variable name, like %:/>DJGPP%.  Variable names are case sensitive.
  220. The DOS environment variable names are usually upper case.  Variables
  221. set through this file override any set in the DOS environment, unless
  222. the first character of the variable name is `+', in which case the DOS
  223. environment overrides the file (the `+' is removed from the name), as
  224. in `+USER=dosuser'.
  225.  
  226. 
  227. File: kb,  Node: Index,  Up: Top
  228.  
  229. Index
  230. *****
  231.  
  232. * Menu:
  233.  
  234. * _dos_ds:                              Changes in 2.01.
  235. * _fargetsel:                           Changes in 2.01.
  236. * _go32_dpmi_free_real_mode_callback:   Changes in 2.01.
  237. * _is_exec:                             Changes in 2.01.
  238. * access:                               Changes in 2.01.
  239. * bdosptr:                              Changes in 2.01.
  240. * dir.h:                                Changes in 2.01.
  241. * djasm:                                Changes in 2.01.
  242. * DJGPP.ENV:                            DJGPP.ENV.
  243. * dos.h:                                Changes in 2.01.
  244. * doscan:                               Changes in 2.01.
  245. * dosmemput:                            Changes in 2.01.
  246. * dxeload:                              Changes in 2.01.
  247. * echo:                                 Changes in 2.01.
  248. * edebug:                               Changes in 2.01.
  249. * Environment Variables:                DJGPP.ENV.
  250. * exit:                                 Changes in 2.01.
  251. * fcntl:                                Changes in 2.01.
  252. * findfirst:                            Changes in 2.01.
  253. * fsdb:                                 Changes in 2.01.
  254. * getopt:                               Changes in 2.01.
  255. * getrusage:                            Changes in 2.01.
  256. * glob:                                 Changes in 2.01.
  257. * go32-v2:                              Changes in 2.01.
  258. * gxx:                                  Changes in 2.01.
  259. * inp:                                  Changes in 2.01.
  260. * inpw:                                 Changes in 2.01.
  261. * ioctl:                                Changes in 2.01.
  262. * ldexp:                                Changes in 2.01.
  263. * lfn:                                  Changes in 2.01.
  264. * libm.a:                               Changes in 2.01.
  265. * mntent:                               Changes in 2.01.
  266. * open:                                 Changes in 2.01.
  267. * outp:                                 Changes in 2.01.
  268. * outpw:                                Changes in 2.01.
  269. * pc.h:                                 Changes in 2.01.
  270. * popen:                                Changes in 2.01.
  271. * printf:                               Changes in 2.01.
  272. * scalbn:                               Changes in 2.01.
  273. * ScreenGetChar:                        Changes in 2.01.
  274. * setrusage:                            Changes in 2.01.
  275. * sigaction:                            Changes in 2.01.
  276. * SIGINT:                               Changes in 2.01.
  277. * stat:                                 Changes in 2.01.
  278. * stdaux:                               Changes in 2.01.
  279. * stdprn:                               Changes in 2.01.
  280. * stubify:                              Changes in 2.01.
  281. * system:                               Changes in 2.01.
  282. * va_start:                             Changes in 2.01.
  283. * wildcards:                            Changes in 2.01.
  284. * write:                                Changes in 2.01.
  285.  
  286.  
  287. 
  288. Tag Table:
  289. Node: Top95
  290. Node: Introduction758
  291. Node: What Changed869
  292. Node: Changes in 2.011022
  293. Node: Known Bugs3813
  294. Node: Known Anti-Bugs3922
  295. Node: Hidden Features4044
  296. Node: DJGPP.ENV4214
  297. Node: Index5941
  298. 
  299. End Tag Table
  300.