bugGNU nano - Bugs: bug #32077, "Redirection is not...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #32077: "Redirection is not supported" on win32

Submitter:  Lubomir I. Ivanov <lubomir_ivanov>
Submitted:  Sat 08 Jan 2011 11:49:18 AM UTC
   
 
Severity:  3 - Normal Status:  Need Info
Assigned to:  None Open/Closed:  Closed

Jump to the original submission

Sat 09 Jan 2016 04:48:20 PM UTC, comment #8: 

Closing -- the 2.2.x series is no longer supported.

Benno Schulenberg <bens>
Group administrator
Wed 26 Feb 2014 01:19:04 PM UTC, comment #7: 

I have tested with nano v2.25 both outside and inside an uptodate cygwin install - I neo longer get this warning message.

TERM is not set in the environment outside of cygwin.

Omega Weapon <omegaphil>
Sun 23 Feb 2014 01:06:59 PM UTC, comment #6: 

As mentioned in bug #35214, it might help to set %TERM% to "cygwin".  Can you confirm?

Benno Schulenberg <bens>
Group administrator
Wed 18 Jul 2012 01:23:37 PM UTC, comment #5: 

For others like me using mintty and reaching here via Google:

If you are using nano under the Git For Windows environment and mintty, you will get this redirection error. mintty is not a proper tty, and implements stdin/out with pipes (which I assume causes this issue) - see http://jpsoft.com/blogs/2012/03/windows-console-replacements-part-1-take-command-and-mintty/

Omega Weapon <omegaphil>
Mon 10 Jan 2011 04:08:56 PM UTC, comment #4: 
Lubomir I. Ivanov <lubomir_ivanov>
Mon 10 Jan 2011 04:04:28 PM UTC, comment #3: 

i was able to compile 2.2.6 with ncurses-5.7.18 and gcc-3.3.4 under cygwin. the build runs with no problem... apparently this gives a clue that the 'redirection is not supported' issue is probably coming from pdcurses.

here is the 2.2.6 package:
gnu-nano-2.2.6-ncurses-5.7.18.zip

ps: sorry for the spam


lubomir

---

Lubomir I. Ivanov <lubomir_ivanov>
Mon 10 Jan 2011 03:03:19 PM UTC, comment #2: 

i've repacked gnu-nano-2.2.5 from cygwin (dll 1.7.7-1)

DOWNLOAD:
http://sites.google.com/site/neolit123/Home/gnu-nano-2.2.5-winxp-fix.zip

the version from cygwin runs ok on this machine.
more information in README.txt

lubomir

---

Lubomir I. Ivanov <lubomir_ivanov>
Mon 10 Jan 2011 12:00:14 PM UTC, comment #1: 

gave it a try on another machine with windows vista sp1 and it seems to work there.


Lubomir I. Ivanov <lubomir_ivanov>
Sat 08 Jan 2011 11:49:18 AM UTC, original submission:  

hello,
i've sent this report previously to Chris Allegretta:


> there seems to be something wrong with all 2.* win32 build of nano on my
> system (windows xp sp2 32bit).
>
> when i run the nano.exe i get:
> -------------------------------------------------
>
> Redirection is not supported
>
> -------------------------------------------------
> it seems that it does not matter where the dll / exe files are installed
> (following the README.txt instructions) ?
>


NOTE:
bellow is some disassembly debug for the latest nano-2.2.6-win32.
 

> "nano.exe -h" works and also other cmd line options are responsive
>
> i've found the "Redirection is not supported" ascii is stored in nano.exe at
> offset 0x00025DD0
> the string is not part of the /src folder (grep)
>
> the call itself that causes the throw to the output buffer i think is at
> 0x00024DD0 (.exe):
>
> FF1524134300  CALL DWORD PTR DS:[<&cygwin1._dll_crt0@0>]   ;
> cygwin1._dll_crt0@0
>
> the ascii goes into a register as :
>
> 00424596  |. C70424 60E8420>MOV DWORD PTR SS:[ESP],nano.0042E860     ;
> ||ASCII 0A,"Redirectio"
> 0042459D  |. 894424 0C      MOV DWORD PTR SS:[ESP+C],EAX             ; ||
> 004245A1  |. B8 1F000000    MOV EAX,1F                               ; ||
> 004245A6  |. 894424 08      MOV DWORD PTR SS:[ESP+8],EAX             ; ||
> 004245AA  |. B8 01000000    MOV EAX,1                                ; ||
> 004245AF  |. 894424 04      MOV DWORD PTR SS:[ESP+4],EAX             ; ||
> 004245B3  |. E8 B0250000    CALL <JMP.&cygwin1.fwrite>               ;
> |\fwrite
> 004245B8  |. C70424 0100000>MOV DWORD PTR SS:[ESP],1                 ; |
> 004245BF  |. E8 04270000    CALL <JMP.&cygwin1.exit>                 ; \exit
> 004245C4  |> A1 C0024300    MOV EAX,DWORD PTR DS:[4302C0]            ; |
> 004245C9  |. 890424         MOV DWORD PTR SS:[ESP],EAX               ; |
> 004245CC  |. E8 C7240000    CALL <JMP.&cygwin1.free>                 ; \free
>
> the above begins around static offset:
> 0x00023996
>
> ---


any idea what the cause for this might be ?

regards
lubomir

Lubomir I. Ivanov <lubomir_ivanov>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by omegaphil (Posted a comment)
  • -email is unavailable- added by lubomir_ivanov (Submitted the item)
  • -email is unavailable- added by lubomir_ivanov (nano-comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-01-09 bens Open/ClosedOpen Closed
    2014-02-23 bens StatusNone Need Info
    2011-01-08 lubomir_ivanov Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code