Results 1 to 8 of 8

Thread: Ubuntu Equivalent of Mac's TextEdit for Compatible Program Use

  1. #1
    Join Date
    Jul 2013
    Beans
    4

    Ubuntu Equivalent of Mac's TextEdit for Compatible Program Use

    Hello all,

    Please excuse me if this post is in the wrong place or is vague (I'm bit of a new user to Ubuntu). I am running v13.04 and trying to run a specialized piece of software that was originally designed for Snow Leopard (but should work fine on Ubuntu). The program uses another program called "MAST" (Motif, Alignment, and Search Tool - http://meme.nbcr.net/meme/ ). The MAST is supposed to output three files every time it is ran: xml, html, and a text. However when I run it on Ubuntu, it does not output the text file. When ran on a fellow's Mac, it outputs a text file just fine. From our own bug checking we believe the issue is that MAST relies on Mac's TextEdit software to output its text file.

    Is there any potential way of working around this (it's absolutely necessary that it outputs this text file) that doesn't involve changing MAST's source code? Like changing Ubuntu's/the terminal's default text editor that functions similarly to Mac's TextEdit?

    What other information should I provide?

    For the curious: I am doing research work on DNA motifs and trying to get another colleague's program suite (uses MAST) to work on my laptop. This program, MAST, is Linux compatible but the version I have to use is from 2010.

    Cheers,
    redvyper

  2. #2
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,050
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu Equivalent of Mac's TextEdit for Compatible Program Use

    gedit would be an equivalent program. Perhaps there is a configuration file that you can change the default text editor.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  3. #3
    Join Date
    Jul 2013
    Beans
    4

    Re: Ubuntu Equivalent of Mac's TextEdit for Compatible Program Use

    My Ubuntu uses gedit as its default text editor already.

    My issue is similar to a past user's woes: http://ubuntuforums.org/showthread.php?t=1856574

    However the main difference between his dilemma and mine is that he's making/editting a pre-existing text file. I am running a program through terminal that is supposed to automatically made dozens of these text files.

  4. #4
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,050
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu Equivalent of Mac's TextEdit for Compatible Program Use

    It could simply be an encoding problem UTF8 versus Latin vs Western character encoding. I thought that the Mac used UTF8 as does Ubuntu, but it is possible that the Mac is set to a different character encoding. Also, check the language settings of both operating systems. A language difference could result in strange characters.
    Last edited by tgalati4; July 3rd, 2013 at 05:06 PM.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  5. #5
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,480
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu Equivalent of Mac's TextEdit for Compatible Program Use

    I disagree with your analysis- I really doubt this program depends on any text editor in order to output text.

    Does the program appear to run when you start it? Does it give you any error messages? Are you running it with the correct command-line parameters or configuration file settings to create those files?

    Another potential issue is that, typically old software doesn't work well on new Linux distros. The pace of Linux development is so quick that your program from 2010 might not be compatible with any distros made after 2010.

    Why wouldn't you use the newest version?

  6. #6
    Join Date
    Jul 2013
    Beans
    4

    Re: Ubuntu Equivalent of Mac's TextEdit for Compatible Program Use

    The program runs fine and will even output the information I want in the terminal it self. It just won't output to a textfile - no error is given. The later versions of MEME don't come with MAST. I'm not sure why the development group stopped updating/including MAST in its updated versions.

  7. #7
    Join Date
    Apr 2012
    Beans
    6,623

    Re: Ubuntu Equivalent of Mac's TextEdit for Compatible Program Use

    Quote Originally Posted by Redvyper View Post
    The program runs fine and will even output the information I want in the terminal it self. It just won't output to a textfile - no error is given. The later versions of MEME don't come with MAST. I'm not sure why the development group stopped updating/including MAST in its updated versions.
    would redirecting (or teeing) the terminal output to a file be a possible workaround for you?

  8. #8
    Join Date
    Jul 2013
    Beans
    4

    Re: Ubuntu Equivalent of Mac's TextEdit for Compatible Program Use

    Quote Originally Posted by steeldriver View Post
    would redirecting (or teeing) the terminal output to a file be a possible workaround for you?
    The program automatically produces 8-20 of these text files at a time and then is supposed to re-read the data with the results of the text files in mind, and then re-evaluate the data in the text files. It's a recursive process that's done on large data sets. I'm not sure how I would redirect the terminal output to a text file in an efficient manner.

    Quote Originally Posted by 3rdalbum View Post
    I disagree with your analysis- I really doubt this program depends on any text editor in order to output text.

    Does the program appear to run when you start it? Does it give you any error messages? Are you running it with the correct command-line parameters or configuration file settings to create those files?

    Another potential issue is that, typically old software doesn't work well on new Linux distros. The pace of Linux development is so quick that your program from 2010 might not be compatible with any distros made after 2010.

    Why wouldn't you use the newest version?
    So your message motivated me today to go against my colleague's original instructions and just downloaded the newest version, wa-la - it works. I feel dumb now. Thank you.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •