Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
When I do this man wine > wineMan This is what the file looks like Code: NNAAMMEE wine - run Windows programs on Unix SSYYNNOOPPSSIISS wwiinnee _p_r_o_g_r_a_m [[aarrgguummeennttss ...... ]] ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2005
    Posts
    113

    probably easy question


    When I do this
    man wine > wineMan

    This is what the file looks like
    Code:
    NNAAMMEE
           wine - run Windows programs on Unix
    
    SSYYNNOOPPSSIISS
           wwiinnee _p_r_o_g_r_a_m [[aarrgguummeennttss ...... ]]
           wwiinnee ----hheellpp
           wwiinnee ----vveerrssiioonn
    Why?
    You dont need a pocket protector or thick glasses to be a geek.

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    You see all those characters repeated? That's strange..
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Posts
    88

    Wine

    Greetings,

    Don't have any idea why is it happening but still you can try to reinstall the WINE rpm and check if it solves your problem...

    Regards

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Apr 2005
    Posts
    113
    If I just do 'man wine' the output in the terminal looks fine. Those characters only show up in the file that I make when I add the '> file'
    You dont need a pocket protector or thick glasses to be a geek.

  6. #5
    Just Joined!
    Join Date
    Apr 2005
    Posts
    88
    Greetings,

    Don't have any answer why did it happened can u try to reboot your system and then check may be that can help... bcos I did the same things and it works fine ...

    "man wine > test"

    Regards

  7. #6
    Linux Newbie
    Join Date
    Apr 2005
    Posts
    113
    Tried it again today (turned computer off overnight). Same thing happens. Also tried main nmap > nmap and does the same thing.

    The wierd little symbols appear where there would be formatting, like bold or underline.
    You dont need a pocket protector or thick glasses to be a geek.

  8. #7
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    You can try using the reset command, I don't know if it will work but it worths trying:
    Code:
    reset
    man wine > test
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  9. #8
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    It's doing it for emphasis and/or underlining. Linux programs are clever in that they vary their output depending on whether they dumping to a terminal or something else. You're not dumping "man" to a terminal, so it's making a guess as to how to display bold and underlined text - it looks like it's doing bold by printing the characters twice, and underlining by backspacing before printing the underscore. Fascinating, ain't it?

  10. #9
    Linux Enthusiast puntmuts's Avatar
    Join Date
    Dec 2004
    Location
    Republic Banana
    Posts
    562
    You could have a look at the /usr/man/cat equivalent of the location of the manpage. That is plain text. So if the man page is in /usr/man/man5/foo.5 the plain text equivalent should be on /usr/man/cat5/foo.5 . In my distro there are hardly any manpages in the cat[n] dirs but if they are there on your machine it is the most easy way of getting them into plaintext. Otherwise you will have to look into groff .

  11. #10
    Linux User Krendoshazin's Avatar
    Join Date
    Feb 2005
    Location
    London, England
    Posts
    471
    i tried this myself and got the same result, this looks like a bug with 'man'
    Code:
    man wine > wine.txt
    i tried the same with 'info'
    Code:
    info wine > wine.txt
    and the output was perfect, i sugest you use 'info' from now on

Page 1 of 2 1 2 LastLast

Posting Permissions

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