Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Erich Schulman

Pages: [1]
1
Programming / building Fast Editor Lite
« on: March 22, 2015, 10:29:13 pm »
I wanted to try some text editors other than E/EPM and vi clones. Fast Edit Lite seems to come in source only. It is on Hobbes at /pub/os2/apps/editors/fed0231s.zip although I actually got it somewhere else. There are no build instructions nor an explicit list of dependencies.

I lost the first error message but I overcame it by downloading /pub/os2/dev/unix/libregex-0_12.zip and adding its regex.h to my include directory.

Next error:
Code: [Select]
Build PCRE using EMX mode
..\source\bsearch.cpp
In file included from ../source/bsearch.cpp:14:
../include/_regex.h:2:28: xregex.h: No such file or directory
In file included from ../include/_search.h:12,
                 from ../source/bsearch.cpp:15:
../include/_regex.h:2:28: xregex.h: No such file or directory
In file included from ../source/bsearch.cpp:15:
../include/_search.h:77: parse error before `[' token
../include/_search.h:79: 'regex_t' is used as a type, but is not defined as a
   type.
make: *** [bsearch.obj] Error 1

I overcame it with these two files
http://www.opensource.apple.com/source/gcc/gcc-5484/include/xregex.h?txt
https://opensource.apple.com/source/gcc/gcc-5666.3/include/xregex2.h?txt
although they may not have been the ideal versions to use.

Next error:
Code: [Select]
..\source\parser.cpp
..\source\pipe.cpp
..\source\pmclip.cpp
..\source\profile.cpp
..\source\rx.cpp
..\source\search.cpp
..\source\sort.cpp
..\source\stddlg.cpp
..\source\vio.cpp
make: [common.lib] Error 1 (ignored)
common.lib
..\source\clip.cpp
clip.exe
ld: No such file or directory for libiberty.a
make: *** [clip.exe] Error 1

I had iberty* files, so I tried copying them to libiberty* filenames. Got past that error.

Next error:
Code: [Select]
Build PCRE using EMX mode
clip.exe
ld: No such file or directory for rexx.a
make: *** [clip.exe] Error 1

From the makefile it looks like this should have been built within fed's pcre package. There is no applicable r*.* in that directory. I also did a grep -i rexx on pcre/*.c and pcre/*.h but found nothing. The only thing I found that I could download was Regina REXX which provides a rexx.h. It doesn't seem like fed would have been made to require Regina when OS/2 already has REXX and fed wasn't made to be cross-platform. If they wanted to use Regina anyway, fine -- but they should have documented it.

How can I get past this rexx.a error?


2
Programming / Version control
« on: March 01, 2015, 01:30:35 am »
On Hobbes I could not find either Mercurial (the one I prefer) or Subversion. What options are available for Warp 4?

3
Hardware / USB NICs
« on: February 26, 2015, 03:08:26 am »
Are any 10/100 USB NICs supported in OS/2 4.50 and able to work through VirtualBox's USB controller? I already have the base USB drivers (usbhcd197.zip). Would I need a USB networking driver in addition to the driver for the NIC?

4
Utilities / Multiple "." breaking association
« on: February 19, 2015, 10:28:30 pm »
Many files on Hobbes have names with multiple dots, like firefox-24.8.1.en-us.os2.beta_3-wpi.wpi. Has anyone made a utility to get the WPS to see these files as .wpi, .zip, etc.?

5
Applications / AOOo 4111GA does not start
« on: February 18, 2015, 04:30:30 pm »
Unable to start Apache OpenOffice
Execution failed! Contact technical support.
Return code: 8
Failing module: D:\APPS\APACHEOPENOFFICE.4\PROGRAM\SVXCORE.DLL

This occurs if I try to launch Text Document, Spreadsheet, Impress, Draw, Base, Math, or Open Document.

Since I only have FP15, I know that technically I don't meet the minimum requirements. I used the .wpi installation method.

6
Programming / trying a first port
« on: February 16, 2015, 06:48:34 am »
My primary language is Python, so I know I am at a disadvantage here. I picked something to start with I thought would be fairly easy: https://sourceforge.net/p/gnaw/wiki/Home/

I installed emx0.9d and gcc3, then compiled the included sieve.c and hello.cc.

I downloaded gnureadl and started to integrate it into the emx tree. I moved some files into emx\bin, emx\dll, and emx\lib, and the included readline.exe works.

There is no documentation stating which source files are needed to build readline itself and which are needed to compile something that uses readline. From the examples directory I am guessing I need history.h, posixstat.h, and readline.h in emx\include. There may be more to do. In the examples directory I see both
Code: [Select]
#include "readline.h" and
Code: [Select]
#include <readline/readline.h> . So do I put header files in emx\include or emx\include\readline?

The examples directory has a Makefile.in. Nice, but I don't have configure or bash to work with. It seems the .c's do not depend on each other in any way, so I think I can do single gcc commands and not need to use make. If I can get working .exe's from these, I think I will be ready to try my real project.

7
Storage / How long is a HPFS CHKDSK?
« on: February 15, 2015, 09:12:53 am »
2 hours and no sign of progress. VirtualBox's disk activity icon shows nothing, so I doubt the CHKDSK will ever finish. The volume is 30 gigs with only 197 megs in use, and the host system has a i7 CPU. I was using Danis506 to break the 2 gig barrier of IBM1S506.ADD. There seems to be no such thing as a fsck.hpfs for Linux or I would have used it. Since I was writing to a different volume when OS/2 locked up, can I just force OS/2 to mount it anyway or clear the dirty bit using dd in Linux? BTW, it is not the boot volume.

8
Networking / Drives object with Samba share
« on: February 14, 2015, 05:27:24 am »
I have Warp 4.5 installed as a VirtualBox guest on a Linux host. I mapped my home directory and it works on the command line as well as in File Freedom (the file manager application). But when I try to use the WPS drive object, I get 2 errors. The first is "no objects were found that matched the specified find criteria" and the second is that EAs cannot be stored, and nothing shows in the opened folder.

I know ext3 volumes can't store EAs like HPFS volumes can. Is there any way to get a EA DATA. SF file as would be used on a FAT12/16 volume?

Can anything be done about the other error and the empty folder?

9
Setup & Installation / Completing Warp 4.5 install
« on: February 14, 2015, 04:05:36 am »
I installed Warp 4.0 as a VirtualBox guest on a Linux host, and I have installed the following:
  • XR_M015 (Fixpack 15)
  • XR_D002 (Device Driver Fixpack 2
  • WR_8423 (MPTS)
  • WR_8425 (MPTS)
  • UN_0980 (TCP/IP)
  • IP_8414 (IBM Peer)
  • WR_08610 (MPTS)
  • WR_08620 (MPTS)
  • WR_08621 (MPTS)
  • gradd97 (video)
  • Daniela's HDD and CD drivers
  • FreeJFS 1.1
  • usbhcd197
  • libc 0.6.6
  • emx 0.9d
  • vrobj.dll
  • WarpIN 1.0.19 (had to install 0.9.20 first)
  • Info-Zip zip and unzip
  • VirtualBox guest additions

Am I missing anything important?

I removed the Java that came with Warp 4.0. I have IBM Java 1.1.8 downloaded, although I doubt there is much point in installing it.

I installed Netscape though it seems to be barely usable. And I installed Opera 5 which is somewhat more usable.

I have Acrobat Reader 3.0 downloaded. Not sure how useful it would be now.

StarOffice is downloaded. I have not had a chance to install it yet. eCUPS is also on the to-do list.

Pages: [1]