Next Meeting: Sat, July 18, 2020
Meeting Directions

Be a Member


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Mr. Know-It-All



Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats


Past Presentations



Contact SCOUG

Copyright SCOUG

warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

SCOUG was there!

Copyright 1998-2020, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

October 2000

 Dear Mr. Know-It-All 

Mr. Know-It-All has the answers to even the really tough questions.

Q.  Dear Mr. Know-It-All,

I've been running Warp for a long time. I am finally ready to set up a Peer network. Every time I start the Peer install, it fails while installing MPTS. I already shortened all the CONFIG.SYS lines to less than 256 characters. What's wrong?

A.  You have probably updated MPTS for the 32-bit TCP/IP stack. The Peer installer can not cope with this. Run \CID\IMG\IBMPEER\PEERRMT from the Warp 4.0 CD. When it prompts to update MPTS, say "no."

Q.  Dear Mr. Know-It-All,

I've want to put shadows of some of the online books on the Desktop and give them better titles. Can I do this without changing the file name?

A.  You can not do this directly from the Workplace Shell (WPS). When you change the title of a file system object, the WPS also changes the file name. However, you can set up your own program object to do this with a bit of REXX. If a file system object has a .LONGNAME Extended Attribute the WPS displays this as the object title. Otherwise it displays the file name. REXX makes it easy to read and write Extended Attributes.

Wrap the following snippet in some of your own REXX code:

szFileName = you set this szTitle = you set this szType = 'FDFF'x /* text = xFFFD */ c = length(szTitle) szLen = d2c(c // 256)d2c(trunc(c / 256)) szEA = szType||szLen||szTitle call SysPutEA szFileName, '.LONGNAME', szEA if RESULT \= 0 then say 'SysPutEA' szFullName 'failed('RESULT')'

Your code will need to set up the filename and title variables. The filename variable should come from the command line. The title should come from the command line or by prompting the user.

Once you get the code working, create a Program Object on the Desktop for the REXX script and you can drop items on this object. The REXX code will pick up the filename from the command line, prompt you for a title and set the .LONGNAME Extended Attribute.

Curious or in doubt, you can ask Mr. Know-It-All
OS/2 is his specialty and sharing solutions is his passion
Mr. Know-It-All lives in Southern California.