home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: Multimed
/
Multimed.zip
/
chord3_6.zip
/
chord
/
readme.os2
< prev
next >
Wrap
Text File
|
2000-04-17
|
3KB
|
64 lines
This is the OS/2 port of a Unix utility called CHORD.
The program CHORD takes a text file as an argument, which contains the
lyrics of a song with the chords to be played embedded into the text,
and returns a Postscript (TM) file which can be printed via a Postscript
compatible printer, or viewed and printed by using Ghostview/Ghostscript.
For a better description of CHORD, see the README file included.
Obviously, I compiled the program for US and A4 paper sizes, so you
don't have to build the project from scratch. I here include instructions
for making CHORD just for completeness, and to be useful if you'd like
to hack the source code.
In the OS/2 port I used EMX 0.9d, and slightly modified the make file:
substantially I commented out some rules (install section) and modified
a little the clean section and the program names. Now for making it:
edit the makefile with any program you like ( I used emacs 19.29, but the
little old TEDIT works as well) and select the paper size you want to use
for printing sheets, by commenting/uncommenting the PAPERSIZE statement.
Then, the only thing you have to do is 'make all': note that gnumake is
necessary to make correctly. If you have XFree86 /2, x11make.exe will do
the job greatly.
If you want, you can make the two versions (US and A4 paper size) simply
following the subsequent scheme:
Select PAPERSIZE=A4 - make all - ren chord.exe chord_a4.exe
move chord_a4.exe in a safe directory
make clean - Select PAPERSIZE=US - make all - ren chord.exe chord_us.exe
move chord_us.exe and a2crd.exe in the same directory as chord_a4.exe
you're done now...
Please apologize me for not having found a better solution, perhaps
modifiying the make file to make all automagic: I'm actually not a real
make file expert, so I preferred this low-level way. Just a little thing
to end: the last time I compiled it, make refused to see the file toc.c.
If it does the same to you, it is simple to compile the file (or other
uncompiled source files) separately, and then make all again. Luckily,
this is a little program! :-)
Chord is able to use the complete ISO-8859-1 character set, which is
used in Linux and many Unices: but on my Italian OS/2 release I had some
problems with this character set, so I include in the OS/2 distribution
the Gnu recode programs, so if you aren't writing only English songs, or
haven't got Linux to write chord source files, you can convert the files
to make CHORD read 'em. Am I a good person or not? :-)))
I hope this port will be useful to all lazy musicians like I was! :-)
Sincerely,
Mentore Siesto
Team OS/2 Italy
Trying to keep the OS/2 way of life!
Oh, and by the way: obviously, chord is under the GPL, so read it...