Thanks.

Is that's your /etc/efax-gtkrc or ~/.efax-gtkrc ?

Kaplan

> On Sat, Jun 04, 2005 at 09:32:30PM +0300, Lior Kaplan wrote:
>
>> Hi Daniel,
>>
>> I need more info about a bug you reported. See
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=267484
>>
>> This is the second time I'm trying to contact you.
>
> Sorry for the delay, I have not had the modem hooked up.  I hooked it up
> just
> now and tried again, and got the same problem.
>
> Here is the session (calling card pin changed to XXXXXXXXX):
>
> -----
> efax: 35:39 opened /dev/ttyS3
> efax: 35:40 using Xircom CreditCard Modem CM-56T (Revision 1.49T) in
> class 1
> efax: 35:41 dialing T7202462399,,,,XXXXXXXXXX,,,2063394363
> efax: 36:29 connected
> efax: 36:32 Error: timed out reading frame data
> efax: 36:32 Error: wrong response to receive-frame command
> efax: 36:35 Warning: bit-reversed HDLC frame, reversing bit order
> efax: 36:32 received UNKNOWN
> efax: 36:32 received UNKNOWN
> efax: 36:35 received UNKNOWN
> efax: 36:35 remote ID ->                K7FAX
> efax: 36:35 received DIS - answering capabilities
> efax: 36:35 remote has no document(s) to send, and can receive
> efax: 36:35 local   196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
> efax: 36:35 remote  196lpi 14.4kbps 8.5"/215mm  any   2D    -     -  0ms
> efax: 36:35 session 196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
> efax: 36:36 sent TSI - caller ID
> efax: 36:36 sent DCS - session format
> efax: 36:40 sent TCF - channel check of 2700 bytes
> efax: 36:44 received CFR - channel OK
> efax: 36:45 header:[Sat 04-Jun-2005 17:35    From Daniel Webb (0000
> 00000) --> 7202462399,,,,XXXXXXXXXX,,,2063394363    p.1/1]
> efax: 37:13 sent 20+2156 lines, 51127+0 bytes, 28 s  14607 bps
> efax: 37:14 sent EOP - done
> efax: 37:17 received MCF - page OK
> efax: 37:17 sent -> /home/webb/speakeasy_rebate.ps.001
> efax: 37:18 sent DCN - disconnect
> efax: 37:19 done, returning 0 (success)
> -----
>
> Obviously, I don't want the header to say what it does, I just want:
>
> efax: 36:45 header:[Sat 04-Jun-2005 17:35    From Daniel Webb (0000
> 00000) p.1/1]
>
> instead of:
>
> efax: 36:45 header:[Sat 04-Jun-2005 17:35    From Daniel Webb (0000
> 00000) --> 7202462399,,,,XXXXXXXXXX,,,2063394363    p.1/1]
>
> Here is efax-gtkrc:
>
> -----
> # efax-gtkrc -- configuration file for efax-gtk
>
> # Amend it as necessary and copy to $HOME/.efax-gtkrc,
> # /usr/local/etc/efax-gtkrc or /etc/efax-gtkrc.  This file is searched
> # for in that order -- ie $HOME/.efax-gtkrc has priority over
> # /usr/local/etc/efax-gtkrc and /etc/efax-gtkrc
>
> # Anything preceded by a `#' character is treated as a comment and
> # ignored by the program.
>
> # Put your name to appear on the fax top header on sent faxes here
>
> NAME: Daniel Webb
>
>
> # Put your number to appear on the fax top header on sent faxes here
> # This will also comprise the fax station ID reported to the sending
> # fax machine when receiving faxes
>
> NUMBER: 0000 00000
>
>
> # Put the serial device to which the modem is connected here (if none
> # is given or it is commented out, the program defaults to
> # /dev/modem).  Do not include the `/dev/' part of the device name --
> # ie state it as `ttyS1' or `cua2', etc.  With Linux, ttyS0 equates to
> # COM 1, ttyS1 to COM 2, and so on
>
> DEVICE: ttyS3
>
>
> # Put the lock file directory here.  If none is given or it is
> # commented out, the program defaults to /var/lock.
>
> LOCK: /var/lock
>
>
> # With efax-0.9 you don't usually need to specify this, as efax will
> # work out the class of the modem.  You should therefore usually leave
> # this commented out.  However, with efax-0.8 the program defaults to
> # Class 2, so if you are using a Class 1 modem with old versions of
> # efax specify the Class here.  Valid values are 1 for Class 1 modems
> # and 2.0 for Class 2.0 modems.  With efax-0.9 you can also use the
> # value 2 to explicitly force the use of the Class 2 protocol
>
> #CLASS: 2
>
>
> # Specify the page size here.  Values accepted are `a4', `letter' or
> # `legal'.  If none is specified the program defaults to a4.
>
> PAGE: letter
>
>
> # This specifies the resolution to which faxes are sent.  Values
> # accepted are `standard' (204x98) and `fine' (204x196).  If none is
> # given the program defaults to 204x196.
>
> RES: fine
>
>
> # This defines the number of rings the modem allows to pass before
> # answering the telephone when in Standby mode.  Acceptable values are
> # 1 to 9.  If none is specified, the program defaults to 1.
>
> RINGS: 1
>
>
> # Valid values for the followinga are `tone' and `pulse'.  If none is
> # specified, the program defaults to tone dialling.
>
> DIALMODE: tone
>
>
> # The following specifies the initialising `AT' commands for the modem
> # when in fax mode.  Specify as many of these as are needed, separated
> # by spaces for commands to be separated, without a prepended `AT'.
> # If none is specified, the program will default to `Z &FE&D2S7=120
> # &C0 M1L0', which will be correct for practically all modems
>
> INIT: Z &FE&D2S7=120 &C0 M1L0
>
>
> # The following specifies the `AT' commands to reset the modem.
> # Specify as many of these as are needed, separated by spaces for
> # commands to be separated, without a prepended `AT'.  If none is
> # specified, the program will default to `Z', which will be correct
> # for practically all modems
>
> RESET: Z
>
>
> # The following setting specifies the capabilities of the modem.  To
> # see what these mean do `man efax', and look at the operation of the
> # `-c' flag.  With efax-0.9 and a Class 2 modem, you usually won't
> # need to specify this and should leave it commented out, as the
> # program will interrogate the modem.  If using an older version of
> # efax or a different class of modem, values which will work with
> # practically any 14,400 bps modem are 1,5,0,2,0,0,0,0, or
> # 1,3,0,2,0,0,0,0 for slower ones.
>
> #CAPABILITIES: 1,5,0,2,0,0,0,0
>
>
> # The following is the command which prints and takes postscript input
> # on standard input.  If none is specified, the program will default
> # to `lpr'.
>
> PRINT_CMD: lpr
>
>
> # The following will determine the extent to which a printed page will
> # be reduced to fit within a printer's print area.  It is a percentage
> # -- eg 98 will shrink the page to 98% of its size.  If none is
> # specified no shrink will take place (ie, there is no need to specify
> # `PRINT_SHRINK: 100').  Valid values are 50 to 100.
>
> PRINT_SHRINK: 98
>
>
> # A postscript viewer is used to view sent and received faxes via the
> # fax lists, and also to view faxes to be sent identified via the
> # "Files to fax" file selector dialog.  Specify here the command to be
> # used to view postscript files.  If none is specified, the program
> # will default to 'gv'.  Other possibilities you may want to specify
> # are 'ggv' (the Gnome postscript viewer) or 'kghostview' (the KDE
> # postscript viewer). If using gv, you may need to use the '-media
> # A4' or '-media Letter' option to select correct paper size.  ggv
> # and kghosview do this automatically
>
> PS_VIEWER: gv
>
>
> # The following parameter specifies a log file to which progress on
> # negotiations and fax status, and errors and warnings, are logged.
> # If LOG_FILE is left commented out, or is given no value, then no log
> # file will be maintained.  (A log file can also be kept by
> # redirecting stdout and stderr -- see the README file for further
> # details).
>
> #LOG_FILE: logfile
>
>
> # The following can be used to pass any other parameter to efax (do
> # `man efax' to see what is available).  Specify as many of these as
> # are needed, separated by spaces for different parameters -- eg
> # include `-or' to do a bit reversal during receive for Multitech
> # modems which require it.  Unless you have an unusual modem, leave
> # this blank or commented out
>
> #PARMS:
>
>
> ## end of efax-gtkrc ##
>
>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to