Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
filters
cjet089.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cjet089.dif of Package filters
--- Makefile +++ Makefile Fri Dec 15 15:56:26 2000 @@ -6,7 +6,7 @@ # compiler, compiler and linker options CC = gcc -OPT = -O2 -Wall +OPT = $(RPM_OPT_FLAGS) -Wall LINKOPT = -s # you should not need to change anything below @@ -27,6 +27,10 @@ clean: rm -f *.o $(EXECNAME) + +install: cjet + mkdir -p $(DESTDIR)/usr/bin + install -m 0755 cjet $(DESTDIR)/usr/bin/ $(OBJ): pcl.h cjet.h capsl.h --- main.c +++ main.c Fri Dec 15 15:56:50 2000 @@ -23,6 +23,7 @@ */ +#include <string.h> #define MAIN #include "cjet.h" --- page.c +++ page.c Fri Dec 15 15:57:19 2000 @@ -132,11 +132,12 @@ PutString("\033[1;%d;0x", MARGININDEX); /* save CAP */ PutString("\033[0;1;0x"); /* move to physical 0,0 */ SetModes(SIZEUNIT,DECIPTS); - if( y!= 0 ) + if( y != 0 ) { if (y > 0) PutString("\033[%de", y); /* move down */ else PutString("\033[%dk", -y); /* move up */ + } PutString("\033[1;%d;2x", S_TOPMARGIN); /* save init top margin */ PutString("\033[0;%d;0x", MARGININDEX); /* restore CAP */ }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor