#452 "-untabbed" option of nc sometimes ignored

release
closed-fixed
Program (402)
5
2005-08-14
2004-12-04
No

If you have a file already open and you issue the "nc -untabbed"
command without a filename, a new tab will be added to your
existing window, despite the fact that the -untabbed option was
specified.

Under these circumstances, I want a new window to be created,
not a new tab.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I haven't tried this but maybe you can achieve the effect you
    want by using -group instead of -untabbed.

     
  • Thorsten Haude

    Thorsten Haude - 2004-12-04

    Logged In: YES
    user_id=119143

    So the question is: Should -untabbed include -group? Is
    there a use for an -untabbed which does not unclude -group?

     
  • Michael Sullivan

    Logged In: YES
    user_id=836812

    I tried the following command and it didn't seem to affect this issue at
    all.

    nc -untabbed -group

     
  • Thorsten Haude

    Thorsten Haude - 2004-12-04

    Logged In: YES
    user_id=119143

    I tried the following and it seems to work as the submitter
    wants it to:
    nc -untabbed
    opens a new window here. What do I miss?

     
  • Michael Sullivan

    Logged In: YES
    user_id=836812

    Did you have an existing window open when you invoked it?

     
  • Thorsten Haude

    Thorsten Haude - 2004-12-04

    Logged In: YES
    user_id=119143

    Sure, If nc wouldn't open up a window if no others where
    open I would be *really* concerned. But I may have missed
    something in you scenario.

    Could you tell us the result of 'nedit -V'? Could you make
    sure that the right nedit binary is called?

     
  • Michael Sullivan

    Logged In: YES
    user_id=836812

    % ~/bin/nedit -V
    NEdit 5.5
    Sep 30, 2004

    Built on: MacOS X, PowerPC, GNU C
    Built at: Oct 6 2004, 15:10:04
    With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
    Running Motif: 2.1 [unknown]
    Server: The XFree86 Project, Inc 40300000
    Visual: 24-bit TrueColor (ID 0x22, Default)
    Locale: C

    Here's some more info:

    - I also have the following .Xdefault line: nc.serverCommand: ~/bin/
    nedit -server
    - I have renamed "nc" to "nedit-nc" to avoid conflicting with another
    command.
    - I have the "Open File in New Tab" setting unselected.

    As I mentioned before, if I have a file already open in a NEdit window
    and I type "nedit-nc -untabbed", the existing window comes forward with
    a new empty tab.

     
  • TK Soh

    TK Soh - 2005-07-19

    Logged In: YES
    user_id=411637

    I just tried it with 5.5 and, with some files already
    opened, -untabbed did open a new untitled window.

    The only way I could simulate what the OP saw was to open a
    file and an untitled tab, then switched back to the file;
    then -untabbed would bring up the untitled tab, instead of
    the a new window. In this case, I'd say this sounds like a bug.

     
  • Eddy De Greef

    Eddy De Greef - 2005-07-30

    Logged In: YES
    user_id=73597

    I believe this bug is fixed in CVS now.
    imikey, can you tell us which window manager you use? Older
    window managers that are not yet _NET_WM complaint trigger a
    bug like this.

    Tk, what you describe is intended behaviour: NEdit always
    tries to reuse Untitled and unmodified windows/tabs. It can
    be surprising sometimes, I admit.

     
  • Eddy De Greef

    Eddy De Greef - 2005-07-30
    • labels: --> Program
    • milestone: --> release
    • assigned_to: nobody --> edg
    • status: open --> pending-fixed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks