• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Linux, Xemacs and Cattle Drive Assignments

 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anyone have any experience with this combination?
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think Juliane is a great fan of Linux, Marilyn.
What's up? I can fire up Linux to check something if you want.
 
Marilyn de Queiroz
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm sending the instructor's solution as I always do, cut and pasted from my text editor into the body of the email message, but the student is receiving them full of bogus characters (0xA0) where the spaces should be.

This seems to be true regardless whether I paste into Yahoo, Outlook Express or Mozilla.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
0xA0 is non-breaking space. What text editor is being used to create the instructor's solution? Or it could be the mailers' editors are doing this.

And, what if you "break thr rules" and send it as an attachment?
[ January 17, 2004: Message edited by: Barry Gaunt ]
 
Marilyn de Queiroz
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
0xA0 is non-breaking space. What text editor is being used to create the instructor's solution? Or it could be the mailers' editors are doing this.

I think he was using Visual Slick Edit at the time. He emailed them to me. I pasted them into TextPad and have been "copy & pasting" them from there since then.

This problem happened when I used Yahoo, Outlook Express and Mozilla. It appears that he is using KMail.

And, what if you "break thr rules" and send it as an attachment?

One time it worked. The other time he complained that, "This did not come through as an attachment, but rather as text stuck on the end of the message. It has the same bad characters when I cut and paste it." This happened when I used Yahoo and Outlook Express.

If I jar the text and attach the jar file, all is well.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, I just updated to Mozilla 1.6, and istalled xemacs (normally I use Gnu emacs), on my Suse 9.0 based laptop.
I used Mozilla mail to read Marilyn's message with the instructor's solution. I cut and pasted the VideoServlet class into both xemacs and gnu-emacs and it compiles without problems inside both of these editors.
No sign of any 0xA0 characters, all I see is 0x0A (newline) characters.
 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The problem has been happening to me with KMail but the 0xA0 characters are consistently present after I paste into editors other than XEmacs as well. I'll have to try a different mail client to see if the result is any different.
Here is what the compile errors look like:
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK Greg, I'll try it with KMail...
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So it looks like the culprit is KMail. I get illegal characters with decimal value 160 == 0xA0. I guess that's what they call an "enhanced user experience"
Well the quick fix is to use another mail client (Mozilla, Thunderbird, for example.)
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ahha! You can use KMail but not cut'n'paste. Save the mail as a file and edit that. There's no weirdo characters then.
I also found this.
See the bit about 0xA0 replacing space characters?
 
Marilyn de Queiroz
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the help, Barry.
 
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Barry wrote:

I think Juliane is a great fan of Linux, Marilyn.


Barry is right! But he is also faster.
When I got to read this thread he had all problems already solved,
WOW !
Personally I use KWrite to write my code, which has syntax highlighting
and seems to behave fine with cut-and-paste.
(At least, Marilyn hasn't complained so far).
Barry, it's NICE to see (�h, read) you around here.

Juliane
 
Where all the women are strong, all the men are good looking and all the tiny ads are above average:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic