home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: DFÜ und Kommunikation / SOS-DFUE.ISO / programm / dos / utility / pcucp101 / faq.doc < prev    next >
Encoding:
Text File  |  1993-04-19  |  4.7 KB  |  138 lines

  1. General troubleshooting tips
  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: Pcucp seems not to work at all. What to do ?
  63.  
  64. If the initial terminal window seems not be able to handle
  65. the login, make sure that LINEPARAMS are correct.
  66.  
  67. Make sure that the PACKETSIZE and BITCODE definitions in both
  68. ends agree. 
  69.  
  70. Try BITCODE BIT5 BIT7. If this works, you might want to try either
  71. BITCODE BIT5 or BITCODE BIT7 for better performance.  
  72.  
  73. Make sure you used the right make target. (Try other targets.)
  74.  
  75. Try using PADSTR. (PADSTR \r might be a good guess.)
  76.      
  77.     
  78. Q: I get the connect message, but no further success.
  79.    The program seems to hang after a while.
  80.    The program hangs when I start file transfer.
  81.    What to do ?
  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. If the program seems to hang at random, try SALVSTR.
  87.  
  88.  
  89. Q: The performance in file transfer is poor. Can it be improved ?
  90.  
  91. In the ideal case pcucp should be able to use > 90 % of the line
  92. capasity. In my case a typical speed is 190-195 bytes/s with a 
  93. 2400 bps modem, BITCODE BIT5 (effective line speed 210 bytes/s) 
  94. and no other activity than downloading files. There is some 
  95. mysterious protocol / program feature which causes the upload 
  96. speed to be slower than that with download (typ. 170 bytes/s 
  97. in the previous case).
  98.  
  99. Common causes for poor performance are :
  100.  
  101.   - heavy load on the unix-host
  102.   - heavy load on the local network (in case pcucp packets
  103.     in are transfered trough it) 
  104.  
  105. Setting PACKETSIZE to a bigger value increases performance (but
  106. may compromise interactivity ..).
  107.  
  108. Using the BSD-version of the module sleep.c usually gives a slight
  109. performance boost and even improves interactivity. (see READ.ME w. 
  110. unix sources).
  111.  
  112.  
  113. Q: Creating a new shell window sometimes fails. Why ?
  114.  
  115. This is usually due to too many users on your unix-host, which
  116. results in all the pseudo terminal devices to be allocated.
  117. Consult the administrator, it may be possible to add device
  118. entries. (Currently, the Windows-version has a limit of four
  119. shells due to memory model limitations - so don't trouble the
  120. admin if you can't get more than shells than this :-)
  121.  
  122.  
  123. Q : How to make talk work with pcucp ?
  124.  
  125. Some programs (such as talk) use getlogin() to figure out the
  126. account name of the user. Getlogin() bases its idea of user's 
  127. identity on the information recorded in the file /etc/utmp.
  128. By default pcucp does not update this file, since it is usually
  129. not writeable to the ordinary user and the file format may vary.
  130. If, however, your /etc/utmp is writeable and has BSD-format, this
  131. can be changed. (see READ.ME w. unix sources)
  132.  
  133. If /etc/utmp is not writeable or the format is not the BSD-one
  134. you can try rlogin to the same machine before using a program 
  135. like talk. (Be careful with this though : this typically creates
  136. three extra processes and allocates one extra pseudo-terminal.) 
  137.  
  138.