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.


Messages - Andreas Kohl

Pages: 1 ... 8 9 [10] 11 12 ... 19
136
Applications / Re: WPS File Types. What do you think?
« on: October 31, 2017, 06:13:52 pm »
</silence>As a drop target?

Not as a drop target. Just as a command that script where you can say "Assign the "Zip file" file type to all *.zip files".  Is it something like that?

That's not the way PMWP handles file types. Why should a text file named "text.zip" be the same association as an Zip archive with the name "Ziparchive"? If somebody wants this way of misbehaviour association filters can be used. Every OS/2 in the last 25 years came with MAKEINI and INI.RC to change the assoc types and filters on the desktop en bloc.

137
Applications / Re: WPS File Types. What do you think?
« on: October 28, 2017, 01:26:50 pm »
</silence>An ASSOCTYPE is not an "alternative". You can associate the individual files "FOO.BAR", "FCUK.RPM" and "Wednesday week 41" with a SUDOKU.EXE by using an ASSOCTYPE, while no ASSOCFILTER is associated with SUDOKU.EXE. Fixed (HPFS/JFS-quotes parsing), untested sample Rexx code to set the file type of a dropped file to Sudoku:

Code: [Select]
/* REXX SetType.cmd */
/* only used during installation */

rcode = RxFuncAdd( 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs' )
rcode = SysLoadFuncs()
parse arg fn
if left(fn,1)='"' THEN PARSE VAR fn '"' fn '"' .
/* set Sudoku .TYPE EA for the file */
type = 'Sudoku'
typeEA = 'DFFF00000100FDFF'x || d2c( length( type ) ) || '00'x || type
call SysPutEA fn, '.TYPE', typeEA

exit
In most cases there's no reason for low level file handling done by REXX. RexxUtil has SysSetObjectData to change objects' settings. Unfortunately in the above sample the resulting EAs are incomplete and can cause undefined behaviour. So better avoid manipulating EAs directly without verification.

138
Applications / Re: WPS File Types. What do you think?
« on: October 27, 2017, 09:48:30 pm »
Hi

I was wondering the other day about OS/2's WPS File Types that are installed by default. There are several ones like "COBOL code", "Fortran Code", "Webexplorer URL" and others (it is just an example, COBOL lovers please don't freak out) that I don't think should be on the base OS, but it should be optionally installed if the program that manages that types is installed too.
PMWP is part of OS/2 since version 2.0 so everything is fine. You can alter the settings from within the Workplace Shell so there's no problem. Simple use the settings page of the data file template to add or remove association types.

Quote
A "File Type" is a definition that can be created on OS/2 and associated to several file extensions and different software to open it.
Here I wrote a little articles about playing with those "File Types" and file extensions.
That's a complete different thing. WP_ASSOC_TYPE is not WP_ASSOC_FILTER to keep it simple. With association types it's possible to handle file objects with the same extension in different ways, or even better you don't have to care about a file name extension or file type at all.

Quote
Do you think it make sense to update that "File Types" and try to make it more current? or maybe that "File Types" was not a good idea on the first place and should not be touched anymore?
"File_Type" has no direct relation to WP_ASSOC_TYPE or WP_ASSOC_FILTER. A filter has not to be specific only to an extension. There's no reason to break compatiblity for Workplace aware applications by default.

139
Utilities / Re: Unzip 5.52 vs 6.00 date differences...why?
« on: October 19, 2017, 11:59:04 pm »
Dariusz, you posted screenshots from an outdated an now unsupported unpack tool.

It's still supported, simply fill the form here:
http://www.rpfsoftware.com/supportform.shtml

Quote
If you're looking for a recent and supported GUI tool, then use Zippy.
Rosyjska wysoka technologia - prawdopodobnie zły żart ;)

140
Networking / Re: Netgear Wireless PC Card
« on: October 13, 2017, 02:26:01 pm »
Is it possible to make the PCMCIA Card WG511 working with eCS 2.1? Thank you in advance.
Netgear's WG511 is not a PCMCIA or PC Card - so definitely not. CardBus support in all releases of eComStation is broken.

The only natively supported PC Cards are Lucent WaveLAN 802.11b wireless cards. You can try to use GenMac for some Atheros chipset based devices.

141
Internet / Re: Availability of Firefox 45.9.0 as .rpm file
« on: October 07, 2017, 02:57:45 pm »
Well I'm lost with the installation, from firefox459
In anpm does not appear neither firefox nor these packages that I am missing:
no hunspell-1.6.2-1.oc00.i686
no libc-0.6.6-35.oc00.i686
no libc-devel-0.6.6-35.oc00.i686
no libcx-0.6.0-1.oc00.i686
Here: http://rpm.netlabs.org/experimental/00/i386/i686/
Quote
no os2-mpts-0.0.0-2.oc00.i386
no pthread-20151229-21.oc00.i386

Can someone tell me where I can download them?
And here: http://rpm.netlabs.org/release/00/i386/i386/

142
Programming / Re: Non-yum/rpm vs. ordinary (?) eCS
« on: October 06, 2017, 09:32:14 pm »
And here we have the second reason why I'm sticking with WarpIn and not going the RPM/YUM route, the first being my unwillingness to shut the door on older versions of OS/2 just for new installer with a new set of problems.

RPM/YUM are not restricted to certain versions of OS/2, they work just the same on Warp v4 as ArcaOS and Arca Noae have made the Arca Noae Package Manager (ANPM) freely available.
You're talking about 3 different programs. Each of them has their own restrictions and dependencies. As ANPM requires a full YUM environment (and latest (O)REXX) I will focus on RPM and YUM. YUM requires python, which requires at least one of the later Warp 4 fixpaks and a huge amount of memory - additionally a quite recent 32-bit IP stack.
RPM alone ships only as a RPM package which makes it very complicated to deploy for stand-alone or non-IP connected systems. Because of the library requirements (klibc) it's quite impossible to use it with Warp 3 based systems or earlier.

143
Utilities / Re: Backup software
« on: June 23, 2017, 01:10:33 pm »
Clonezilla can create images of partitions and disks and can be run from a network or local media, but unfortunately it can't handle OS/2.
I even tried using Unix 'dd' to create an image file of a FAT partition, but was unable to restore it as a bootable system.
Some transfer block sizes can cause restore failures with dd on some filesystems.
This depends on which input file was used. Additionally all data that belongs to volume managers has to be handled also. I cannot recommend to misuse dd for backup and recovery. Even with real old Unices there should be something like ufsdump and better tools to create emergency boot images.

144
Utilities / Re: Backup software
« on: June 23, 2017, 11:04:14 am »
Does anyone know of any backup utilities for OS/2 which restore an OS/2 installation from a network?
It's not the task of "backup utilities" to restore an installation from a network. A full network-enabled backup/restore solution can do this work. But you're not writing about the target. Restoring to local drives can be done by any bare metal recovery solution. For smaller environments without TSM also SRVIFS can be used.

Quote
I'm thinking of something like Clonezilla...
Clonezilla is an program for imaging partitions, that's different from backup/restore. It doesn't run from inside the OS.

145
As for TFTP booting OS/2, am I right in thinking that any TFTP server should be able to provide the client bootfile.
The easy answer is "no". But by using atftpd or tftpd-hpa in combination with some other tools it's not impossible.

Quote
My FreeBSD based TFTP server works well with PXE.. Maybe I could try booting OS/2, but am not sure which bootfile is used..
I don't know which of the many BSD derived tftp daemons is used there. Maybe you should start a new thread on this topic 'cause it's no longer related to Warp 4 or CID at all.

146
I am familiar with RIPL and SRVIFS. In fact I set up my first RIPL server 20 years ago, but have forgotten much of what I knew. Also, in those days everything was Token Ring, and I've never worked out how to RIPL a ThinkPad using an Ethernet NIC.
That's the reason for an additional adapter inside the docking station. It also works with Ethernet, but here you need good switches and a proper network design to achieve acceptable performance. IBM manufactured NICs can use RPL or PXE firmware for remote boot.

Quote
I do have PXE set up so am familiar with remote booting and generally when I have some problem with a disk, my first attempt to solve it is to remote boot Arch Linux. Also I've been unable to get SRVIFS working again. There are now so many options and I believe it can be configured over TCP/IP.

The PXE route means not directly TCP/IP. You can get the CD-ROM image of redbook SG24-5280 (Beyond DHCP...) here:
ftp://www.redbooks.ibm.com/redbooks/SG245280/5280cd.zip
It also includes SRVIFS-IP.

Quote
Incidentally, did you ever try/have success with?

http://www.edm2.com/index.php/DHCP/PXE_Boot_of_Diskless_OS/2_Machines_From_OS/2_Warp_and_eComStation

The instructions there are quite strange. IMO more and better information was already shipped with WSEB or in some of the redbooks for WorkSpace On-Demand.

147
Setup & Installation / Re: OS/2 Warp 4.52 LVM problems
« on: June 18, 2017, 06:15:18 pm »
How do I identify which CP I have

The first option is to check the part number of the CD-ROM media.
If you don't want to eject the CD simply look at the file \os2image\disk_2\syslevel.os2 which contains for german CP
XRG4502 or XRG4503 for the refresh (April 2002). When the OS is already installed you can simply run the command SYSLEVEL.

Quote
and do the different versions of IBM1S506.ADD  have different version numbers? I tend to include the '/v' switch with IBM1S506.ADD so I can see which version I'm running. Also, I'm confused as to when to use DANIS506.ADD as a replacement.
bldlevel C:\os2\boot\ibm1s506.add

The same should also work with DANIS506.ADD.

148
Setup & Installation / Re: format /fs:hpfs does not work
« on: June 18, 2017, 05:54:49 pm »
I'm trying to format a new partition from a Warp CP2 CD using the command prompt. The disk has already been partitioned with two partitions (C: and D:) having been created. At the command from I run:-

e:\os2image\disk_3\format c: /fs:hpfs

and get the error msg

SYS1311: The system files are missing

Anyone know which 'system files' are being referred to?

I can format as FAT without any problem.

Perhaps your environment is simply not correct. Some DLL files from \OS2IMAGE\DISK_2 are required for more advanced format functions: DOSCALL1, KBDCALLS, VIOCALLS, SESMGR, MSG, NLS. You can try to SET BEGINLIBPATH=e:\os2image\disk_2 before running FORMAT.COM.

149
Setup & Installation / Re: OS/2 Warp 4.52 LVM problems
« on: June 18, 2017, 01:01:40 am »
I installed OS/2 Warp Convenience Pack 2 (4.52) both yesterday and today on a 60GB disk, using the original CDs.

The Convenience Package 2 for OS/2 Warp was available in 2 different media sets. Not sure about every NLS version, but at least for US and German. The later ones  have a newer loader/kernel to deal better with Pentium 4 or newer processors - but no differences in DASD support. The limit for ATA hard drives should be at 120 GB with the included IBM1S506.ADD. SCSI (or RAID) connected units are not affected by this.

150
Actually that should have been semaint and it did work - needs a little refining though..

Migrating to OS/2 Warp Server for e-business (SG24-5135-00) has add some additional information in chapter 5 that could be useful when using SRVIFS approach also for pristine installations. The network redirection is nowadays the most convenient way to install every OS/2 version starting with Warp Connect (beyond bare metal recovery solutions to identical hardware). For a small bunch of systems it may sound too time-consuming regarding the preparation. But this approach will pay off when dealing with dozens of virtual machines or you have to create emergency plans and procedures - I know it's a boring topic.

I don't know of your network infrastructure, but we keep at most sites OS/2 Warp Server with RIPL service to help with critical system administration tasks for Intel-based servers. Using a DOS RIPL requester via a dedicated network adapter can deliver any diskette (image) to a machine without a floppy drive. And it works for firmware updates of the system BIOS or RAID controllers. For Thinkpads a docking station with a RIPL-capable network adapter is a real time saver. Only one machine definition is needed for the DOS RIPL requester which contains only tools to create a small FAT partition a copies the required device driver files on it. Alternatively it's also possible to write prepared images.  Perhaps somebody remembers IBM's LCCM which had much more capabilities and integration features?
Of course this step is not required if your OS/2 system installation is also performed via RIPL or PXE (without any local installation media) which should automatically include the NDIS drivers via response files or a similar mechanism. Profound knowledge in this area is not limited to OS/2-based installations, the same concepts are used for high-availability or redundant solutions using Windows Servers.

Pages: 1 ... 8 9 [10] 11 12 ... 19