home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / archives / 2945 < prev    next >
Encoding:
Internet Message Format  |  1992-07-20  |  12.3 KB

  1. Path: sparky!uunet!usc!elroy.jpl.nasa.gov!ames!agate!osiris.cso.uiuc.edu!egray
  2. From: egray@osiris.cso.uiuc.edu (Emmet P. Gray)
  3. Newsgroups: comp.archives
  4. Subject: [comp.sys.sun.apps] New Pcomm v2.0 available
  5. Followup-To: comp.sys.sun.apps
  6. Date: 21 Jul 1992 09:33:48 GMT
  7. Organization: US Army Corps of Engineers - Construction Eng Research Lab
  8. Lines: 364
  9. Approved: adam@soda.berkeley.edu
  10. Distribution: world
  11. Message-ID: <14gllsINNn9b@agate.berkeley.edu>
  12. References: <BrpDIn.9L0@news.cso.uiuc.edu>
  13. NNTP-Posting-Host: soda.berkeley.edu
  14. X-Original-Newsgroups: comp.sys.sun.apps
  15. X-Original-Date: Mon, 20 Jul 1992 19:44:43 GMT
  16.  
  17. Archive-name: auto/comp.sys.sun.apps/New-Pcomm-v2-0-available
  18.  
  19. This is to annouce the release of Pcomm v2.0.  This replaces the current
  20. v1.2.10 and v2.0_beta releases.  I've just sent the code to the
  21. moderator of comp.sources.unix (so I imagine it will be a while before
  22. it shows up).  Meanwhile, the code is available now via anonymous ftp
  23. from cerl.cecer.army.mil (129.229.1.101).
  24.  
  25. I've been using Pcomm v2.0 on my SunOS 4.1.x boxes for quite some time
  26. now, so I don't think you'll have any trouble compiling it or getting it
  27. to work.  There are specific reference to SunOS in the Readme and
  28. Q_and_A files that you should be aware of...
  29.  
  30. Below are the actual Makefile and config.h files that I use on my IPC.
  31. Your mileage may vary :-)
  32.  
  33. Pcomm is a public domain telecommunication program for Unix designed to
  34. operate similarly to the popular MSDOS program, ProComm.  ProComm (TM)
  35. is copyrighted by Datastorm Technologies Inc.
  36.  
  37. Some of the new features in v2.0 are:
  38.     o multiplexed I/O instead of a forked routine
  39.     o true scripting feature has been added
  40.     o support for baud rates up to 38400
  41.     o connected baud rates for v.32bis (7200, 12k, and 14.4k)
  42.     o optional modem configuration per dialing directory entry
  43.     o system configuration script
  44.  
  45. Emmet P. Gray                US Army, HQ III Corps & Fort Hood
  46. ...!uunet!uiucuxc!fthood!egray        Attn: AFZF-DE-ENV
  47. fthood!egray@uxc.cso.uiuc.edu        Directorate of Engineering & Housing
  48.                     Environmental Management Office
  49.                     Fort Hood, TX 76544-5057
  50. -------------------------------------------------------------------------------
  51. #! /bin/sh
  52. # This is a shell archive, meaning:
  53. # 1. Remove everything above the #! /bin/sh line.
  54. # 2. Save the resulting text in a file.
  55. # 3. Execute the file with /bin/sh (not csh) to create:
  56. #    Makefile
  57. #    config.h
  58. # This archive created: Mon Jul 20 14:39:25 1992
  59. export PATH; PATH=/bin:/usr/bin:$PATH
  60. echo shar: "extracting 'Makefile'" '(6657 characters)'
  61. if test -f 'Makefile'
  62. then
  63.     echo shar: "will not over-write existing file 'Makefile'"
  64. else
  65. sed 's/^X//' << \SHAR_EOF > 'Makefile'
  66. X#                PCOMM v2.0
  67. X#                 for SunOS 4.1.x
  68. X
  69. X#for 80286 versions of SCO Xenix
  70. X#CFLAGS = -Od -DM_TERMINFO -Mle2 -LARGE
  71. X#LDFLAGS = -SEG 1000 -F 5000 -Mle2
  72. X#CURSES = -ltinfo -lx
  73. X
  74. X#for 80386 versions of SCO Xenix
  75. X#CFLAGS = -O -DM_TERMINFO
  76. X#LDFLAGS = -s
  77. X#CURSES = -ltinfo -lx
  78. X
  79. X#for the AT&T Unix PC 7300/3b1
  80. X#LD = ld
  81. X#SHLIB = /lib/crt0s.o /lib/shlib_c.ifile
  82. X#OTHER = /lib/setvbuf.o /lib/doprnt.o -luipc
  83. X
  84. X#for Sun OS (using the System V compiler)
  85. XCC = /usr/5bin/cc
  86. XLD = /usr/5bin/cc
  87. X
  88. X#LD = cc
  89. XSHLIB =
  90. XOTHER =
  91. XCFLAGS = -O
  92. XLDFLAGS = -s
  93. XSHAR = shar -a
  94. X
  95. XBIN_DIR = /home/egray/bin
  96. XMAN_DIR = /usr/man1
  97. XMAN_EXT = 1
  98. XPCOMM_LIB = /local/lib/pcomm
  99. X
  100. X#for old curses (i.e. Berkeley systems)
  101. X#CURSES = -lcurses -ltermcap
  102. XCURSES = -lcurses
  103. X
  104. X#for systems without getcwd(3) or getopt(3)
  105. X#GETCWD.O = getcwd.o
  106. X#GETCWD.C = getcwd.c
  107. X#GETOPT.O = getopt.o
  108. X#GETOPT.C = getopt.c
  109. X
  110. X#for System V or Berkeley TTY interface
  111. X#TTY.O = tty_ucb.o
  112. X#TTY.C = tty_ucb.c
  113. XTTY.O = tty_att.o
  114. XTTY.C = tty_att.c
  115. X
  116. X#for System V poll() or Berkeley select()
  117. XIPC.O = ipc_ucb.o
  118. XIPC.C = ipc_ucb.c
  119. X#IPC.O = ipc_att.o
  120. X#IPC.C = ipc_att.c
  121. X
  122. XPCOMM = $(GETCWD.O) $(GETOPT.O) $(TTY.O) $(IPC.O) admin.o chg_dir.o cmd.o \
  123. X    curses.o d_delete.o d_lib.o d_manual.o d_menu.o d_print.o \
  124. X    d_prompt.o d_revise.o data_log.o di_delay.o di_win.o dial.o \
  125. X    e_lib.o expand.o help.o info.o init.o input.o list_dir.o ls_menu.o \
  126. X    m_lib.o macro.o main.o n_shell.o p_lib.o passthru.o pexit.o \
  127. X    port.o redial.o s_axfer.o s_extrnl.o s_gen.o s_menu.o s_modem.o \
  128. X    s_prompt.o s_term.o s_tty.o screen.o script.o st_line.o \
  129. X    strings.o terminal.o vcs.o x_ascii.o x_batch.o x_extrnl.o \
  130. X    x_menu.o x_rcv.o x_send.o x_win.o xmodem.o
  131. X
  132. Xall:    pcomm waitfor matches pcomm_cmd
  133. X
  134. Xpcomm:    $(PCOMM)
  135. X    $(LD) $(LDFLAGS) $(PCOMM) $(OTHER) -o pcomm $(CURSES) $(SHLIB)
  136. X
  137. Xwaitfor: waitfor.o
  138. X    $(LD) $(LDFLAGS) waitfor.o -o waitfor $(SHLIB)
  139. X
  140. Xmatches: matches.o
  141. X    $(LD) $(LDFLAGS) matches.o -o matches $(SHLIB)
  142. X
  143. Xpcomm_cmd: pcomm_cmd.o
  144. X    $(LD) $(LDFLAGS) pcomm_cmd.o -o pcomm_cmd $(SHLIB)
  145. X
  146. Xpcomm_cmd.o:
  147. X    $(CC) $(CFLAGS) -DIPC=\"$(IPC.C)\" -c pcomm_cmd.c
  148. X
  149. Xinstall:
  150. X    cp pcomm waitfor matches pcomm_cmd $(BIN_DIR)
  151. X#    obviously this requires super-user privelidges...
  152. X#    chmod 4755 $(BIN_DIR)/pcomm
  153. X#    chown uucp $(BIN_DIR)/pcomm
  154. X
  155. Xinstall_man:
  156. X    cp Pcomm.1 $(MAN_DIR)/pcomm.$(MAN_EXT)
  157. X    cp Pcomm_cmd.1 $(MAN_DIR)/pcomm_cmd.$(MAN_EXT)
  158. X    cp Waitfor.1 $(MAN_DIR)/waitfor.$(MAN_EXT)
  159. X    cp Matches.1 $(MAN_DIR)/matches.$(MAN_EXT)
  160. X
  161. Xinstall_support:
  162. X    cp Pcomm.dial_dir $(PCOMM_LIB)/pcomm.dial_dir
  163. X    cp Pcomm.modem $(PCOMM_LIB)/pcomm.modem
  164. X    cp Pcomm.param $(PCOMM_LIB)/pcomm.param
  165. X    cp Pcomm.extrnl $(PCOMM_LIB)/pcomm.extrnl
  166. X
  167. Xclean:
  168. X    rm pcomm waitfor matches pcomm_cmd
  169. X
  170. Xlint:
  171. X    /usr/5bin/lint -p -Dlint $(GETCWD.C) $(GETOPT.C) $(TTY.C) $(IPC.C) admin.c \
  172. X    chg_dir.c cmd.c curses.c d_delete.c d_lib.c d_manual.c d_menu.c \
  173. X    d_print.c d_prompt.c d_revise.c data_log.c di_delay.c di_win.c \
  174. X    dial.c e_lib.c expand.c help.c info.c init.c input.c list_dir.c \
  175. X    ls_menu.c m_lib.c macro.c main.c n_shell.c p_lib.c passthru.c \
  176. X    pexit.c port.c redial.c s_axfer.c s_extrnl.c s_gen.c s_menu.c \
  177. X    s_modem.c s_prompt.c s_term.c s_tty.c screen.c script.c \
  178. X    st_line.c strings.c terminal.c vcs.c x_ascii.c x_batch.c \
  179. X    x_extrnl.c x_menu.c x_rcv.c x_send.c x_win.c xmodem.c $(CURSES)
  180. X    /usr/5bin/lint -p -Dlint -DIPC=\"$(IPC.C)\" pcomm_cmd.c
  181. X    /usr/5bin/lint -p -Dlint waitfor.c
  182. X    /usr/5bin/lint -p -Dlint matches.c
  183. X
  184. Xshar:
  185. X    $(SHAR) Doc.me > pcomm_sh.1
  186. X    $(SHAR) Configure.sh Convert.sh Makefile Matches.1 Pcomm.1 \
  187. X    Pcomm.dial_dir Pcomm.extrnl Pcomm.modem Pcomm.param Pcomm_cmd.1 \
  188. X    Q_and_A Readme Release.notes Sample > pcomm_sh.2
  189. X    $(SHAR) Unixpc.shar Waitfor.1 admin.c chg_dir.c cmd.c cmd.h \
  190. X    config.h curses.c d_delete.c d_lib.c d_manual.c > pcomm_sh.3
  191. X    $(SHAR) d_menu.c d_print.c d_prompt.c d_revise.c data_log.c \
  192. X    di_delay.c di_win.c dial.c dial_dir.h e_lib.c expand.c extrnl.h \
  193. X    getcwd.c getopt.c help.c > pcomm_sh.4
  194. X    $(SHAR) info.c init.c input.c ipc.h ipc_att.c ipc_ucb.c \
  195. X    list_dir.c ls_menu.c m_lib.c macro.c main.c matches.c misc.h \
  196. X    modem.h n_shell.c > pcomm_sh.5
  197. X    $(SHAR) p_lib.c param.h passthru.c patchlevel.h pcomm_cmd.c \
  198. X    pexit.c port.c redial.c s_axfer.c s_extrnl.c s_gen.c > pcomm_sh.6
  199. X    $(SHAR) s_menu.c s_modem.c s_prompt.c s_term.c s_tty.c screen.c \
  200. X    script.c st_line.c status.h strings.c terminal.c tty_att.c \
  201. X    tty_ucb.c > pcomm_sh.7
  202. X    $(SHAR) vcs.c vcs.h waitfor.c x_ascii.c x_batch.c x_extrnl.c \
  203. X    x_menu.c x_rcv.c > pcomm_sh.8
  204. X    $(SHAR) x_send.c x_win.c xmodem.c xmodem.h > pcomm_sh.9
  205. X#    $(SHAR) Doc.out Matches.out Pcomm.out Pcomm_cmd.out Waitfor.out \
  206. X#    > pcomm_sh.10
  207. X
  208. Xadmin.o:    config.h dial_dir.h param.h
  209. Xchg_dir.o:    config.h misc.h
  210. Xcmd.o:        cmd.h config.h dial_dir.h extrnl.h modem.h param.h status.h xmodem.h
  211. Xcurses.o:    config.h misc.h status.h
  212. Xd_delete.o:    dial_dir.h misc.h param.h
  213. Xd_lib.o:    dial_dir.h param.h
  214. Xd_manual.o:    config.h dial_dir.h misc.h
  215. Xd_menu.o:    config.h dial_dir.h misc.h param.h
  216. Xd_print.o:    config.h dial_dir.h misc.h
  217. Xd_prompt.o:    dial_dir.h misc.h
  218. Xd_revise.o:    dial_dir.h misc.h param.h
  219. Xdata_log.o:    misc.h param.h status.h
  220. Xdi_delay.o:    misc.h param.h
  221. Xdi_win.o:    dial_dir.h misc.h modem.h param.h status.h
  222. Xdial.o:        config.h dial_dir.h misc.h modem.h param.h
  223. Xe_lib.o:    extrnl.h
  224. Xexpand.o:    config.h
  225. Xgetopt.o:    config.h
  226. Xhelp.o:        config.h misc.h
  227. Xinfo.o:        patchlevel.h
  228. Xinit.o:        config.h misc.h status.h
  229. Xinput.o:    config.h misc.h param.h status.h vcs.h
  230. Xipc_att.o:    ipc.h
  231. Xipc_ucb.o:    ipc.h
  232. Xlist_dir.o:    misc.h
  233. Xls_menu.o:    dial_dir.h misc.h param.h
  234. Xm_lib.o:    modem.h
  235. Xmacro.o:    misc.h param.h
  236. Xmain.o:        config.h dial_dir.h extrnl.h misc.h modem.h param.h status.h
  237. Xn_shell.o:    config.h
  238. Xp_lib.o:    param.h
  239. Xpassthru.o:    config.h misc.h
  240. Xpexit.o:    dial_dir.h misc.h param.h status.h
  241. Xport.o:        config.h dial_dir.h modem.h status.h
  242. Xredial.o:    config.h dial_dir.h misc.h
  243. Xs_axfer.o:    misc.h param.h
  244. Xs_extrnl.o:    extrnl.h misc.h
  245. Xs_gen.o:    misc.h param.h
  246. Xs_menu.o:    misc.h
  247. Xs_modem.o:    misc.h modem.h
  248. Xs_prompt.o:    misc.h
  249. Xs_term.o:    dial_dir.h misc.h param.h
  250. Xs_tty.o:    misc.h modem.h
  251. Xscreen.o:    param.h status.h
  252. Xscript.o:    config.h dial_dir.h misc.h modem.h status.h 
  253. Xst_line.o:    config.h dial_dir.h misc.h modem.h param.h status.h
  254. Xstrings.o:    config.h
  255. Xterminal.o:    config.h dial_dir.h ipc.h misc.h modem.h param.h status.h xmodem.h
  256. Xtty_att.o:    dial_dir.h modem.h param.h
  257. Xtty_ucb.o:    dial_dir.h modem.h param.h
  258. Xvcs.o:        config.h status.h vcs.h
  259. Xx_ascii.o:    config.h misc.h param.h
  260. Xx_batch.o:    config.h misc.h xmodem.h
  261. Xx_extrnl.o:    config.h
  262. Xx_menu.o:    extrnl.h misc.h xmodem.h
  263. Xx_rcv.o:    config.h dial_dir.h misc.h xmodem.h
  264. Xx_send.o:    config.h dial_dir.h misc.h xmodem.h
  265. Xx_win.o:    dial_dir.h misc.h status.h xmodem.h
  266. Xxmodem.o:    config.h misc.h param.h xmodem.h
  267. X
  268. Xpcomm_cmd.o:    config.h cmd.h $(IPC.C)
  269. Xmatches.o:    config.h
  270. Xwaitfor.o:    config.h
  271. SHAR_EOF
  272. if test 6657 -ne "`wc -c < 'Makefile'`"
  273. then
  274.     echo shar: "error transmitting 'Makefile'" '(should have been 6657 characters)'
  275. fi
  276. fi
  277. echo shar: "extracting 'config.h'" '(2467 characters)'
  278. if test -f 'config.h'
  279. then
  280.     echo shar: "will not over-write existing file 'config.h'"
  281. else
  282. sed 's/^X//' << \SHAR_EOF > 'config.h'
  283. X/*
  284. X * Various tunable parameters.  This should appear before any other local
  285. X * header file.
  286. X */
  287. X
  288. X/* Are you using a Berkeley flavor of Unix? */
  289. X#undef    BSD
  290. X
  291. X/* Use the dialing routines specific to the AT&T Unix PC 7300/3b1 */
  292. X#undef    UNIXPC
  293. X
  294. X/* Older versions of curses(3) use termcap in lieu of terminfo */
  295. X#undef    OLDCURSES
  296. X
  297. X/* Should a missing video attribute be promoted to standout? */
  298. X#define    NOPROMOTE
  299. X
  300. X/* Should Pcomm make a log of all phone calls? */
  301. X#define    LOG_CALLS
  302. X
  303. X/* The name of the log file (if used).  */
  304. X#define    LOG_FILE    "/usr/adm/phone.calls"
  305. X
  306. X/* Should long distance (toll) calls be limited to a specific group? */
  307. X#define    LIMIT_LD
  308. X
  309. X/* The name of the privileged group for limiting long distance calls */
  310. X#define    GROUP_NAME    "uucp"
  311. X
  312. X/* The path to the line printer program */
  313. X#define    LPR        "/local/bin/lpr"
  314. X
  315. X/* The path to the "pretty" printer program (if none, use "pr | lp") */
  316. X#define    LPRINT        "/local/bin/lprint"
  317. X
  318. X/* The path to the default directory containing the Pcomm support files */
  319. X#define    DEFAULT_DIR    "/local/lib/pcomm"
  320. X
  321. X/* The path to the directory where UUCP locks are found */
  322. X#define    LOCK_DIR    "/usr/spool/locks"
  323. X
  324. X/* Do the lock files use ASCII encoded PID's? */
  325. X#define    ASCII_PID
  326. X
  327. X/* Fold the last character of the lock to lower case? */
  328. X#undef    XENIX_LOCKS
  329. X
  330. X/* Use the new SVR4 lock format? */
  331. X#undef    SVR4_LOCKS
  332. X
  333. X/* Does the status line scroll up on "magic cookie" terminals? */
  334. X#undef    XMC_BROKE
  335. X
  336. X/* Does the alarm() system call work correctly with the wgetch() function? */
  337. X#undef    WGETCH_BROKE
  338. X
  339. X/* Does the O_NDELAY mode tend to stick around when asked to leave? */
  340. X#undef    O_NDELAY_BROKE
  341. X
  342. X/* The size of the serial port character buffer (or Stream buffer) */
  343. X#define    CLIST_SIZ    64
  344. X
  345. X/* The size of the input buffer (should be about the same as CLIST_SIZ) */
  346. X#define    INPUT_BUF    64
  347. X
  348. X/* The size of the output buffer (should be about one half INPUT_BUF) */
  349. X#define    OUTPUT_BUF    32
  350. X
  351. X/* Does memmove() exist or is memcpy() well behaved when overlapping? */
  352. X/* #define    MEMMOVE(a,b,c)    memmove(a,b,c) */
  353. X#define    MEMMOVE(a,b,c)    memcpy(a,b,c) 
  354. X/* #define    MEMMOVE(a,b,c)    bcopy(b,a,c) */
  355. X
  356. X/* Does your Unix allow flip-flop between real and effective user IDs? */
  357. X#undef    SETUID_BROKE
  358. X
  359. X/* Does your system have the strstr() function? */
  360. X#define    HAVE_STRSTR
  361. X
  362. X/* Does your system have the usleep() function? */
  363. X#define    HAVE_USLEEP
  364. X
  365. Xtypedef void SIG_TYPE;
  366. X/* typedef int SIG_TYPE; */
  367. X
  368. X#ifdef BSD
  369. X#define    strchr    index
  370. X#define    strrchr    rindex
  371. X#endif /* BSD */
  372. SHAR_EOF
  373. if test 2467 -ne "`wc -c < 'config.h'`"
  374. then
  375.     echo shar: "error transmitting 'config.h'" '(should have been 2467 characters)'
  376. fi
  377. fi
  378. exit 0
  379. #    End of shell archive
  380.  
  381.