home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / windows3 / pcucp15.zip / faq.doc < prev    next >
Text File  |  1993-10-11  |  6KB  |  172 lines

  1. Pcucp 1.10 
  2. ---------------------------------------------------------------------
  3.  
  4. Consulting local Pcucp users (if any) is usually the best thing
  5. to do to.
  6.  
  7. Check out the file pcucp.log in the PCUCPDIR of your unix-host.
  8. It might be a good idea to make a copy of it, since the file
  9. is overwritten in the beginning of a new session.
  10.  
  11. In this document the words in uppercase (such as PACKETSIZE) 
  12. usually refer to a configuration keyword. (See config.doc for 
  13. details.)
  14.  
  15.  
  16. Some frequent questions/problems and answers/possible solutions
  17. ---------------------------------------------------------------------
  18.  
  19. Q: Compiling the unix-executable fails. What to do ?
  20.  
  21. - Make sure that you have used the right make target to compose the 
  22. set of sources for you system. (see READ.ME w. unix-sources) If you
  23. don't know on which kind of system you are, try the command uname -a.
  24. If this doesn't help, you can always ask the system administrator
  25. and/or try other targets.
  26.  
  27. - Use gcc instead of your default compiler, if available. (Change
  28. the CC and CCL definitions in the Makefile.)
  29.  
  30. - If you have an old c-compiler, which does not understand void
  31. pointers, you should get Pcucp compiled (with some extra warnings)
  32. by inserting 
  33.  
  34. #define void char
  35.  
  36. as the first line of system.h.
  37.  
  38.  
  39. Q: How to set environment variables in dos/unix ?
  40.  
  41. To set the PCUCPDIR environment variable to the Pcucp directory
  42.  
  43. in dos, use the command 
  44.  
  45. set PCUCPDIR=\my\pcucp\dir
  46.  
  47. in unix, use the command 
  48.  
  49. setenv PCUCPDIR /my/pcucp/dir 
  50.  
  51. if you use (t)csh. If you use sh then use the commands :
  52.  
  53. PCUCPDIR=/my/pcucp/dir
  54. export PCUCPDIR
  55.  
  56. Note that while the environment variable names in dos are not case
  57. sensitive, they are that in unix. In dos, it is convenient to add
  58. the command in autoexec.bat. In unix you can place it in your .login 
  59. or .cshrc (or .profile for sh).
  60.  
  61.  
  62. Q: I run out of environment space when trying to set PCUCPDIR.
  63.    How do I specify a bigger environmet space ?
  64.  
  65. Add/modify a line like the following into your CONFIG.SYS :
  66.  
  67. SHELL=C:\DOS\COMMAND.COM /e:1024
  68.  
  69. The above sets the size reserved fot environment settings to 1024
  70. bytes. (It is assumed that you use MS-DOS's default shell COMMAND.COM.
  71. If you use some other program as your shell, check its documentation
  72. for its method of specifying the environment size.)
  73.  
  74.  
  75. Q: Pcucp seems not to work at all. What to do ?
  76.  
  77. If the initial terminal window seems not be able to handle
  78. the login, make sure that LINEPARAMS are correct.
  79.  
  80. Make sure that the PACKETSIZE and BITCODE definitions in both
  81. ends agree. 
  82.  
  83. Try BITCODE BIT5 BIT7. If this works, you might want to try either
  84. BITCODE BIT5 or BITCODE BIT7 for better performance.  
  85.  
  86. Make sure you used the right make target. (Try other targets.)
  87.  
  88. Try using PADSTR. (PADSTR \r might be a good guess.)
  89.      
  90.     
  91. Q: I get the connect message, but no further success.
  92.    The program seems to hang after a while.
  93.    The program hangs when I start file transfer.
  94.    What to do ?
  95.  
  96. Try BITCODE BIT5 BIT7. If this works, you might want to try either
  97. BITCODE BIT5 or BITCODE BIT7 for better performance.  
  98.  
  99. If the program seems to hang at random, try SALVSTR.
  100.  
  101.  
  102. Q: The performance in file transfer is poor. Can it be improved ?
  103.  
  104. In the ideal case Pcucp should be able to use > 90 % of the line
  105. capasity. In my case a typical speed is 190-195 bytes/s with a 
  106. 2400 bps modem, BITCODE BIT5 (effective line speed 210 bytes/s) 
  107. and no other activity than downloading files. There is some 
  108. mysterious protocol / program feature which causes the upload 
  109. speed to be slower than that with download (typ. 170 bytes/s 
  110. in the previous case).
  111.  
  112. Common causes for poor performance are :
  113.  
  114.   - heavy load on the unix-host
  115.   - heavy load on the local network (in case Pcucp packets
  116.     in are transfered trough it) 
  117.  
  118. Setting PACKETSIZE to a bigger value increases performance (but
  119. may compromise interactivity ..).
  120.  
  121. Using the BSD-version of the module sleep.c usually gives a slight
  122. performance boost and even improves interactivity. (see READ.ME w. 
  123. unix sources).
  124.  
  125. With higher line speeds (>=9600) it may be that the serial 
  126. interrupt overhead is simply too high - in this case you should
  127. consider replacing the standard UART with a 16550. 
  128.  
  129.  
  130. Q: Creating a new shell window sometimes fails. Why ?
  131.  
  132. This is usually due to too many users on your unix-host, which
  133. results in all the pseudo terminal devices to be allocated.
  134. Consult the administrator, it may be possible to add device
  135. entries. 
  136.  
  137.  
  138. Q : How to make talk work with Pcucp ?
  139.  
  140. Some programs (such as talk) use getlogin() to figure out the
  141. account name of the user. Getlogin() bases its idea of user's 
  142. identity on the information recorded in the file /etc/utmp.
  143. By default Pcucp does not update this file, since it is usually
  144. not writeable to the ordinary user and the file format may vary.
  145. If, however, your /etc/utmp is writeable and has BSD- or SysV(?)-
  146. format, this can be changed. (see READ.ME w. unix sources)
  147.  
  148. If /etc/utmp is not writeable or the format is not supported
  149. you can try rlogin to the same machine before using a program 
  150. like talk. (Be careful with this though : this typically creates
  151. three extra processes and allocates one extra pseudo-terminal.) 
  152.  
  153.  
  154. Q : My system uses a Alt-Ctrl-combination that conflicts with 
  155. those needed for menu selections in the plain-dos version of
  156. pcucp. Can I change the key combinations used by Pcucp ?
  157.  
  158. The only case (so far) of this I have heard of is a system which 
  159. uses Alt-Ctrl-S to summon the setup program. In this case you
  160. can do the following :
  161.  
  162. Use a file editor (such as norton de, pctools, debug) to locate
  163. the string &Start in the .exe file. Change this to e.g. S&tart and
  164. you should be able to start file transfer with Alt-Ctrl-O-F-T
  165. instead of the usual Alt-Ctrl-O-F-S.
  166.  
  167. The above procedure can be used to change other key combinations as
  168. well. The general idea is to locate the menu string and change the
  169. position of the '&' in it so that it is before the character you want
  170. to use to select the menu entry.
  171.  
  172.