Re: Two mutt issues

2003-12-26 Thread Miki Tebeka
Hello Igor,

   I have two problems using mutt on cygwin:
   1. I've used this mailcap file:
   application/*; cygstart %s
   image/*; cygstart %s
   text/*; cygstart %s
   video/*; cygstart %s
  
   But it doesn't seem to work, when I try to open a Word attachment it says
   it's corrupted. When I save it and open it from the explorer it looks OK.
 
  I'd bet this one is a text/binary issue, but I've not looked into it.
  My guess would be that the text/binary logic that I added for saving is
  being bypassed somehow during save-to-temp-then-viewing.
 
 'cygstart' should use the file extension association in Windows to view
 the file...  Does mutt save temp files with proper extensions?
Yes it does.

 To the OP: try copying the temp file and renaming it to the proper
 extension, and then run cygstart on it.  Also try mounting /tmp in binary
 mode.
I have a view-attachment script the basically copies the file to /tmp and
run cygstart on it. This works.

-- 
Bye.
-
Smile, damn it, smile.

lambda msg: {
name : Miki Tebeka,
email : [EMAIL PROTECTED],
url : http://www.cs.bgu.ac.il/~tebeka;,
quote : The only difference between children and adults is the \
  price of the toys
}[msg]

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Mutt + Cygwin on the go

2003-12-25 Thread Miki Tebeka
Hello All,

I've written a little page on my experience with cygwin + mutt + laptops
(reading/sending mail offline).

I'd be glad to hear any comments.

http://www.cs.bgu.ac.il/~tebeka/Geek/HowTo/mutt-cygwin.html


-- 
Bye.
-
Smile, damn it, smile.

lambda msg: {
name : Miki Tebeka,
email : [EMAIL PROTECTED],
url : http://www.cs.bgu.ac.il/~tebeka;,
quote : The only difference between children and adults is the \
  price of the toys
}[msg]

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Problems using libgmp.a on MSVC project.

2003-12-18 Thread Miki Tebeka
Hello All,

I'm trying to use gmp (http://www.swox.com/gmp/) with a win32 (MSVC)
project.
I've compiled the project with -mno-cygwin (using CC=gcc -mno-cygwin
./configure) and now it
doesn't depend on cygwin1.dll (I think).

The project produced libgmp.a, I just renamed to gmp.lib and included in my
MSVC project.
However when I compile as simple program I get the following linkage errors:
Configuration: win32gmp - Win32
Debug
Linking...
LINK : warning LNK4049: locally defined symbol __iob imported
LINK : warning LNK4049: locally defined symbol ___mb_cur_max imported
LINK : warning LNK4049: locally defined symbol __pctype imported
libgmp.lib(divrem.o) : error LNK2001: unresolved external symbol __alloca
libgmp.lib(tdiv_qr.o) : error LNK2001: unresolved external symbol __alloca
libgmp.lib(dc_divrem_n.o) : error LNK2001: unresolved external symbol
__alloca
libgmp.lib(mul_n.o) : error LNK2001: unresolved external symbol __alloca
libgmp.lib(mul_fft.o) : error LNK2001: unresolved external symbol __alloca
libgmp.lib(get_str.o) : error LNK2001: unresolved external symbol __alloca
libgmp.lib(get_str.o) : error LNK2001: unresolved external symbol __alloca
libgmp.lib(mul.o) : error LNK2001: unresolved external symbol __alloca
libgmp.lib(set_str.o) : error LNK2001: unresolved external symbol __alloca
libgmp.lib(mul.o) : error LNK2001: unresolved external symbol __alloca
libgmp.lib(get_str.o) : error LNK2001: unresolved external symbol __alloca
libgmp.lib(doprnt.o) : error LNK2001: unresolved external symbol _isascii
Debug/win32gmp.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

win32gmp.exe - 13 error(s), 3 warning(s)

I know that MSVC has alloca (_alloca) and isacii (__isascii).
Any ideas how to fix this?

Thanks.

Bye.

-
Smile, damn it, smile.

lambda msg: {
name : Miki Tebeka,
email : [EMAIL PROTECTED],
url : http://www.cs.bgu.ac.il/~tebeka;,
quote : The only difference between children and adults is the \
  price of the toys
}[msg]



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Bug: -o posix and cd .

2003-12-16 Thread Miki Tebeka
Hello Larry,

 This causes problem in all configure scripts since they set
 -o posix if
 bash is the shell.
 WFM
http://www.acronymfinder.com/af-query.asp?String=exactAcronym=wfmFind=Find
I guess you mean the 1'st one. :-)

 Any more information I need to send?


 Yep.  See Problem reports: below.
OK. Attached the output of cygcheck -s -v -r.

I've tried it again today and it seems to work (although googling found at
least
one more person with this problem), oh well...


Bye.

-
Smile, damn it, smile.

lambda msg: {
name : Miki Tebeka,
email : [EMAIL PROTECTED],
url : http://www.cs.bgu.ac.il/~tebeka;,
quote : The only difference between children and adults is the \
  price of the toys
}[msg]




cygcheck.out
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

Bug: -o posix and cd .

2003-12-15 Thread Miki Tebeka
Hello,

---
[10:49] $cd .
[10:50] $set -o posix
[10:50] $cd .
bash: cd: .: No such file or directory
[10:56] $bash --version
GNU bash, version 2.05b.0(1)-release (i686-pc-cygwin)
Copyright (C) 2002 Free Software Foundation, Inc.
---

This causes problem in all configure scripts since they set -o posix if
bash is the shell.

Any more information I need to send?

Bye.

-
Smile, damn it, smile.

lambda msg: {
name : Miki Tebeka,
email : [EMAIL PROTECTED],
url : http://www.cs.bgu.ac.il/~tebeka;,
quote : The only difference between children and adults is the \
  price of the toys
}[msg]



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/