how to get started with java mpe ix

11
Lars Appel's HPe3000 Page (you can also reach me via www.LarsAppel.de  , as I am no longer at the hp re sponse center) On this page you can find several pieces of software that I was able to port to MPE/iX, the "legacy" operating system of the P ! line of computers# $his is not your parent%s P ! any more& It has evolved over the last '() years and still remained e*tremely compatible to itself# ow many other platforms do you +now, that can run or ' year old programs, some even written for a -P. architecture that  predates P 01I2- , in most cases wit hout any changes or even recompiling3 nd all this side by side with Posi* based client0server applications li+e pache or 2amba and modern ob4ect0oriented programming languages li+e 5ava3 6ut better don%t let me get on my "-inderella" or "2leeping 6eauty" soapbo* 708 Open Source software ported to MPE/iX  Tips a nd T rics for !a"a a nd t#e HP 3000 Lins to ot#er #elpful info $re%sources Please notice that I ported the freeware available on this page to MPE/iX because I had some personal need to have it available on MPE/iX or sometimes also 4ust for fun or out of curiousity# It wor+ed fine for me but I did not perform e*tensive testing# I%m sharing it here in case you might also find it useful 9and don%t want to reinvent that wheel8# :eel free to pic+ it up and use it, but be aware that you do this at your own risk  and that this software is totally unsupported# ;on%t blame me 9or anybody else8 if something doesn%t wor+ as e*pected or even causes da mage& l so have a loo+ at the license files that come with each pac+age 9typically the <=. <eneral Public >icense8 to get an idea what you may or may not do with the software# Open Source software ported to MPE/iX &( autoconf for MPE/iX )an *e #elpful w#en porting ot#er &( pacages to MPE/iX &( wget for MPE/iX

Upload: carlos-matias-sanchez-beltran

Post on 18-Feb-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: How to Get Started With JAVA MPE IX

7/23/2019 How to Get Started With JAVA MPE IX

http://slidepdf.com/reader/full/how-to-get-started-with-java-mpe-ix 1/11

Lars Appel's HPe3000 Page

(you can also reach me via www.LarsAppel.de , as I am no longer at the hp response

center)

On this page you can find several pieces of software that I was able to port toMPE/iX, the "legacy" operating system of the P ! line of computers# $his is not

your parent%s P ! any more& It has evolved over the last '() years and still

remained e*tremely compatible to itself# ow many other platforms do you +now, that

can run or ' year old programs, some even written for a -P. architecture that

 predates P01I2-, in most cases without any changes or even recompiling3 nd all

this side by side with Posi* based client0server applications li+e pache or 2amba and

modern ob4ect0oriented programming languages li+e 5ava3 6ut better don%t let me get

on my "-inderella" or "2leeping 6eauty" soapbo* 708

• Open Source software ported to MPE/iX

•  Tips and Trics for !a"a and t#e HP 3000

• Lins to ot#er #elpful info $re%sources

Please notice that I ported the freeware available on this page to MPE/iX because I

had some personal need to have it available on MPE/iX or sometimes also 4ust for fun

or out of curiousity# It wor+ed fine for me but I did not perform e*tensive testing# I%msharing it here in case you might also find it useful 9and don%t want to reinvent that

wheel8# :eel free to pic+ it up and use it, but be aware that you do this at your own

risk  and that this software is totally unsupported# ;on%t blame me 9or anybody else8 if

something doesn%t wor+ as e*pected or even causes damage& lso have a loo+ at the

license files that come with each pac+age 9typically the <=. <eneral Public >icense8

to get an idea what you may or may not do with the software#

Open Source software ported to MPE/iX

&( autoconf for MPE/iX

)an *e #elpful w#en porting ot#er &( pacages to MPE/iX

&( wget for MPE/iX

Page 2: How to Get Started With JAVA MPE IX

7/23/2019 How to Get Started With JAVA MPE IX

http://slidepdf.com/reader/full/how-to-get-started-with-java-mpe-ix 2/11

+etrie"es single or ,ultiple we* docu,ents/-les $into local

copies% "ia #ttp or ftp

 T. Li*rar and (tils for MPE/iX

Helpful for processing T. grap#ics -les $found at Silicon&rap#ics we* site 12%

etPM $p*,PL(S% for MPE/iX

(tilities for con"erting or ,anipulating "arious grap#ics -le

for,ats $tif4 gif4 5*,4 666%

&( &7M for MPE/iX

Has#ed 8data*ase8 utilit routines $used * #t9//7ig fore5a,ple%

OpenL7AP for MPE/iX

Lig#tweig#t 7irector Access Protocol clients4 ser"ers4

gatewas4 tools666

&( te5info for MPE/iX

.ncludes standalone &( 8info8 -le *rowser for ter,inals6Apac#e !Ser" for MPE/iX

Apac#e/iX e5tended wit# ,od:;ser" and !Ser" ser"let engine

for integrating ser"er side !a"a6

Mutt for MPE/iX

 Ter,inal *ased eMail client wit# optional POP and .MAP

capa*ilities6

Sa,*a <606= and <606>0 for MPE/iX

)leanroo, port including swat $we* con-g% and s,*passwd

$encrpted passwords%6

&( gette5t 06>063? for MPE/iX

Page 3: How to Get Started With JAVA MPE IX

7/23/2019 How to Get Started With JAVA MPE IX

http://slidepdf.com/reader/full/how-to-get-started-with-java-mpe-ix 3/11

 Toolset for &( locali@ed/internationali@ed ,essage catalogs6

&( te5tutils <60 for MPE/iX

S#ell utilities lie cat4 csu,4 co,,4 csplit4 cut4 e5pand4 666

uni4 wc

&( grep <6B6< for MPE/iX

S#ell utilit to scan -le$s% for strings or patterns

&( -ndutils B6> for MPE/iX

S#ell utilities lie -nd and 5args $for recursi"e -le/dir

operations%

&( sed 360< for MPE/iX

Strea, E7itor $tpicall used for auto,ated te5t processing%

&( s#ellutils <60 for MPE/iX

S#ell utilities lie *asena,e4 dirna,e4 e5pr4 #ostna,e4 id4

printf4 una,e4 666

P7 s# ?6<6>B for MPE/iX

Pu*lic 7o,ain "ersion of t#e Corn S#ell

#t9//7ig 36>6? for MPE/iX

De* inde5ing ro*ot and eword searc# engine

popper B6063 for MPE/iX

POP3 ser"er for client access to send,ail in*o5es

P&P ?60i for MPE/iX

Prett &ood Pri"ac encrption software for personal use

.M !ies >6>? for MPE/iX

Page 4: How to Get Started With JAVA MPE IX

7/23/2019 How to Get Started With JAVA MPE IX

http://slidepdf.com/reader/full/how-to-get-started-with-java-mpe-ix 4/11

ast $nati"e code% co,piler fro, 6;a"a source to 6class

*tecode -les

te5t<pdf >6> for MPE/iX

Si,ple utilit $no !a"a4 no Perl% to con"ert plain te5t -les to P7for,at

&( enscript >6F6> for MPE/iX

)on"erts plain te5t -les to Postscript or HTML wit# "arious

for,atting options

&( g#ostscript =60? for MPE/iX

)on"erts Postscript or P7 input -les to "arious output for,ats4including P7

&#ostP)L >6B0 for MPE/iX

)on"erts P)L input -les to "arious output for,ats4 including

P7

$wo older pieces of Open 2ource software ported to MPE/iX can be found at -hris

6artram%s ftp site###

Sa,*a for MPE/iX

Allows t#e HP 3000 participate in SM *ased P) -le/print

s#aring6 $also see www6sa,*ai56co,%

#t9//7ig for MPE/iX

Pro"ides a $s,all scale% we* searc# ro*ot si,ilar to Alta2Gista

and alie6

 =ot really ported to MPE/iX, but written as Open 2ource for MPE/iX###

+e,ote GPL(S

Allows redirecting GPL(S calls to an$ot#er% MPE/iX session

across a socet connection

Page 5: How to Get Started With JAVA MPE IX

7/23/2019 How to Get Started With JAVA MPE IX

http://slidepdf.com/reader/full/how-to-get-started-with-java-mpe-ix 5/11

 Tips and Trics for !a"a and t#e HP 3000

 !a"a De* Ser"er

ot a port4 ;ust a session snippet #ow . did once setup t#e Sun

product trial "ersion on MPE/iX6

 !igsaw we* ser"er for MPE/iX

ot a port4 ;ust a session snippet #ow to setup t#e !a"a we*

ser"er fro, www6w36org on MPE/iX6

 !a"a Tips and E5a,ples

A s,all collection of !a"a de,o progra,s4 applets4 as well as

write2ups wit# tips trics or *acground info6Socet E5a,ples wit# ) and )OOL

ot reall !a"a4 *ut gi"es an idea #ow ot#er languages can

access t#e networ $and #ow nice ;a"a6net is%

 !aarta To,cat

Session snippets #ow to setup t#e Ser"let/!SP engine fro,

 ;aarta6apac#e6org on MPE/iX6

En#dra <6<6>

Session snippets #ow to setup "ersion < of t#e !a"a/XML ser"er

fro, www6en#dra6org on MPE/iX6

En#dra 3606>

Session snippets #ow to setup "ersion 3 of t#e !a"a/XML ser"er

fro, www6en#dra6org on MPE/iX6

Goager 363

Session snippets s#owing #ow to setup Goager O+ fro,

www6O*;ectSpace6co, on MPE/iX6

 !acO+ >6>

Page 6: How to Get Started With JAVA MPE IX

7/23/2019 How to Get Started With JAVA MPE IX

http://slidepdf.com/reader/full/how-to-get-started-with-java-mpe-ix 6/11

Session snippets s#owing #ow to setup !acO+ fro,

www6inf6fu2*erlin6de/I*rose on MPE/iX

How to get started

S#ows a few e5a,ples #ow to co,pile and run !a"a progra,s4applets and ser"lets on Dindows or MPE/iX

HP 3000 De* Starter Cit <

Online "ersion of t#e planned )7 wit# Apac#e4 !a"a4 !7)4

 !Ser" and a collection of read2to2run e5a,ples

iTe5t !a"a P7 li*rar

Session snippets s#owing #ow !a"a and iTe5t6;ar can create P7fro, plain te5t or spool-les on MPE/iX

Lins to ot#er #elpful info $re%sources

More on Open Source Software

Special >JJK issue of De*+e"iew ,aga@ine wit# great info on

#istor4 concepts4 and e5a,ples of Open Source

More reeware for MPE/iX

)#ris artra,'s nice collection of download lins on #is

www636co, we* site $loo for 8Pu*lic 7o,ain Software8%

Si,ple )&. E5a,ple in )OOL/iX

A s,all e5a,ple for a )&. progra, written in )OOL t#at does

not need an inter,ediate )&. s#ell script

Ser"er side !a"a wit# Apac#e/iX

A s,all paper discussing !a"a Ser"lets wit# MPE/iX e5a,ples1

one of t#e, rese,*les a*o"e )&. in )OOL

 Tips for HP30002L access $also in &er,an%

Page 7: How to Get Started With JAVA MPE IX

7/23/2019 How to Get Started With JAVA MPE IX

http://slidepdf.com/reader/full/how-to-get-started-with-java-mpe-ix 7/11

HP30002L or co,p6ss6#p6,pe is an acti"e internet discussion

foru, around HP 3000 topics6 Also see t#e A6

HP30002L access "ia &oogle

.ncludes *rowse and arc#i"e searc# "ia t#e 8gatewaed8co,p6ss6#p6,pe newsgroup

Prett &ood Porting for MPE/iX $I>00 C%

A detailed paper discussing , tpical freeware porting

approac# on a real e5a,ple6 $also in MS Dord I<?0 C%6

HP 3000 related (+L tips $also in &er,an%

.t so,eti,es see,s t#at www6#p6co, is not t#e *est startingpoint w#en sur-ng for HP 3000 related info 12%

#ttp9//in"ent36e5ternal6#p6co,/ILA+S6APPEL

M #o,e page on .n"ent3C $also see )S Pu*lic Access

7e"eloper Sste, info on !a@@%

www6OpenMPE6org

 T#e place t#at ou'd want to "isit for a potential future forMPE/iX *eond HP's end2of2support

 Lars Appel, July 1998 .. cto!er "##$ (do%not%spam%lappel&'reenet.de%please)

9with special than+s to the generous Michael <ueterman for donating this

floorspace ?8

Page 8: How to Get Started With JAVA MPE IX

7/23/2019 How to Get Started With JAVA MPE IX

http://slidepdf.com/reader/full/how-to-get-started-with-java-mpe-ix 8/11

How to get started$his section shows how to compile and invo+e simple 5ava e*amples#

• ow$oP#4ava @ a simple program

• ow$o<#4ava @ a simple <.I program 9using A$, not 2wing8

• ow$o#4ava @ a simple applet

•ow$o2#4ava @ a simple servlet

$he e*amples are shown for Aindows and MPE/iX# I don%t have a Mac 9sigh 708

Examples on Windows

D:\demo> java -versionjava version "1.1.7A"

D:\demo> rem HowToP.java = a simple program 

D:\demo> javac HowToP.java

D:\demo> java HowToP 4Welcome to te HowToP !roram#o$ntdown at 4Press %et$rn to contin$e

#o$ntdown at &Press %et$rn to contin$e

Page 9: How to Get Started With JAVA MPE IX

7/23/2019 How to Get Started With JAVA MPE IX

http://slidepdf.com/reader/full/how-to-get-started-with-java-mpe-ix 9/11

#o$ntdown at 'Press %et$rn to contin$e

#o$ntdown at 1Press %et$rn to contin$e

#o$ntdown (inised

D:\demo> rem HowToG.java = a simple GUI program (using AWT, not Swing)

D:\demo> javac HowTo).java

D:\demo> java HowTo) 4* screensot o( te )+, window #o$ntdown (inised

D:\demo> rem HowToA.java = a simple applet

D:\demo> javac HowToA.java

D:\demo> a!!letviewer HowToA.tml* screensot 1 o( te )+, window * screensot ' o( te )+, window

D:\demo> rem #an also view HowToA.tml wit a rowser* screensot 1 o( te rowser window - java disaled * screensot ' o( te rowser window - start o( co$ntdown * screensot & o( te rowser window - end o( co$ntdown

D:\demo> rem HowToS.java = a simple servlet

D:\demo> set class!atclass!at/0D:\jd1.1.7a\li\classes.2i!

D:\demo> set class!at/3class!at30D:\5D6'.\li\jsd.jar

D:\demo> javac HowTo5.java

D:\demo> servletr$nner -d \demoservletr$nner startin wit settins:  !ort / 88  aclo / 9  ma andlers / 1  timeo$t / 9  servlet dir / \demo  doc$ment dir / .\eam!les  servlet !ro!(ile / \demo\servlet.!ro!erties

HowTo5: init* screensot 1 o( te rowser window - start o( co$ntdown * screensot 1a o( te rowser window - tml so$rce * screensot ' o( te rowser window - near end o( co$ntdown * screensot & o( te rowser window - end o( co$ntdown * screensot &a o( te rowser window - tml so$rce ;#D:\demo>

Page 10: How to Get Started With JAVA MPE IX

7/23/2019 How to Get Started With JAVA MPE IX

http://slidepdf.com/reader/full/how-to-get-started-with-java-mpe-ix 10/11

Examples on MPE/iX

:ello lars<demo.weit

:sowvar !versionHP=%5,?@ / #.99.

: letBs select te older D6 (or tis demo:setvar javaCome "$srlocaljavajd1.1.7"

:java -versionjava version "D6 1.1.7E"

: HowToP.java = a simple program 

:cdir .!rorams#WD is "WE6,TP+E!rorams".

:javac HowToP.java

:java HowToP 4Welcome to te HowToP !roram#o$ntdown at 4Press %et$rn to contin$e

#o$ntdown at &Press %et$rn to contin$e

#o$ntdown at 'Press %et$rn to contin$e

#o$ntdown at 1Press %et$rn to contin$e

#o$ntdown (inised:

: HowToG.java = a simple GUI program (using AWT, not Swing)

:javac HowTo).java

: FPiG does not ave a )+, dis!la: o$ mit tr %emoteAWT (rom al!awors.im.com: or else r$n te !roram on P# $sin 5amaiG...

D:\> java -version

java version "1.1.7A"

D:\> java -class!at 3class!at30I:\P+E\!rorams HowTo) 4* screensot o( te )+, window #o$ntdown (inised

D:\> rem ac to te & now...

: HowToA.java = a simple applet

Page 11: How to Get Started With JAVA MPE IX

7/23/2019 How to Get Started With JAVA MPE IX

http://slidepdf.com/reader/full/how-to-get-started-with-java-mpe-ix 11/11

:cdir ..tdocs#WD is "WE6,TP+Etdocs".

:javac HowToA.java

:stream WE6,TP+Elitt!d.jo 144

: s$r( to tt!:m&.rc.!.com:&1HowToA.tml now* screensot 1 o( te rowser window - java disaled * screensot ' o( te rowser window - start o( co$ntdown * screensot & o( te rowser window - end o( co$ntdown

: HowToS.java = a simple servlet

:cdir ..servlets#WD is "WE6,TP+Eservlets".

:setvar class!at ":WE6,TP+Elijsd.jar"

:javac HowTo5.java

: o!tionall reister servlet in WE6,TP+Eetc2one.!ro!erties: or else r$n it its real name *and wit node(a$lt initArs

:stream WE6,TP+Elijserv.jo 149

: s$r( to tt!:m&.rc.!.com:&1servletHowTo5 now* screensot 1 o( te rowser window - start o( co$ntdown * screensot 1a o( te rowser window - tml so$rce * screensot ' o( te rowser window - near end o( co$ntdown * screensot & o( te rowser window - end o( co$ntdown * screensot &a o( te rowser window - tml so$rce

:e

 Lars Appel, August "###