Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RIDE should recognise localhost and 127.0.0.1 as being local #805

Closed
rikedyp opened this issue Dec 6, 2021 · 0 comments
Closed

RIDE should recognise localhost and 127.0.0.1 as being local #805

rikedyp opened this issue Dec 6, 2021 · 0 comments
Milestone

Comments

@rikedyp
Copy link

rikedyp commented Dec 6, 2021

Describe the issue you are having

I want to use a shell script to start the RIDE directly into a session on Linux (rather than going via the configuration menu)

However, RIDE thinks the connection is remote, and therefore there is no Open... item in the File menu. I can put the menu item back from Edit → Preferences → Menu but clicking does nothing, and Ctrl + o doesn't seem to work etiher. I can still )load workspaces.

Did you connect to an already running interpreter or start the interpreter from RIDE?

Connect to already running 'terp

How do you reproduce the issue?

Use the following script:

#!/usr/bin/env sh
env RIDE_CONNECT=localhost:4502 ride &
dyalog +s -q -nokbd RIDE_INIT=SERVE:*:4502

Paste the contents of Help → About (Shift+F1)

IDE:
  Version: 4.4.3649
  Platform: Linux x86_64
  Date: 2021-11-01 12:57:45 +0100
  Git commit: 8ba1ffece4c5cb768e57402032584e552dde114d
  Preferences:{
    "colourScheme":"Nord",
    "kbdLocale":"en_GB",
    "menu":"# see below for syntax\n\nDyalog                          {mac}\n  About Dyalog             =ABT\n  -\n  Preferences...           =PRF\n  -                            \n  &Quit                    =QIT\n&File                           {!browser}\n  &Open...                 =OWS\n  &New Session             =NEW\n  &Connect...              =CNC\n  -                             {!mac}\n  &Quit                    =QIT {!mac}\n&Edit\n  Undo                     =UND {!browser}\n  Redo                     =RDO {!browser}\n  -                             {!browser}\n  Cut                      =CT  {!browser}\n  Copy                     =CP  {!browser}\n  Paste                    =PT  {!browser}\n  Select All               =SA  {mac}\n  -                             {mac||!browser}\n  &Find...                 =SC\n  Find and &Replace...     =RP\n  -                             {!mac}\n  Preferences...           =PRF {!mac}\n&View\n  Show Language Bar        =LBR\n  Show Status Bar          =SBR\n  Show Workspace Explorer  =WSE\n  Show Debug               =DBG\n  Line Wrapping in Session =WRP\n  -                             {!browser}\n  Show Status Window       =SSW\n  Auto Status              =ASW\n  -                             {!browser}\n  Stops                    =TVB\n  Line Numbers             =LN\n  Outline                  =TVO\n  -                             {!browser}\n  Increase Font Size       =ZMI {!browser}\n  Decrease Font Size       =ZMO {!browser}\n  Reset Font Size          =ZMR {!browser}\n  -                             {!browser}\n  Toggle Full Screen            {!browser}\n&Window\n  Close All Windows        =CAW\n&Action\n  Edit                     =ED\n  Trace                    =TC\n  -\n  Clear all trace/stop/monitor =CAM\n  Weak Interrupt           =WI\n  Strong Interrupt         =SI\n&Threads                        {rp21}\n  Pause on Error           =POE\n  Pause all Threads        =PAT\n  Unpause all threads      =UAT\n  Continue all threads     =MA\n&Help\n  Getting &Started         =https://dyalog.com/introduction.htm\n  -\n  Dyalog &Help             =DHI\n  &Language Elements       =LEL\n  &Documentation Centre    =DOX\n  -\n  Dyalog &Website          =https://dyalog.com/\n  &Email Dyalog            =EMD\n  -\n  Latest &Enhancements     =ENH\n  Read &Me                 =RME\n  &Third Party Licences    =TPL\n  &About                   =ABT {!mac}\n\n# Syntax:\n#   &x   access key, alt+x\n#   =CMD command code; some are special:\n#          LBR WRP WSE render as checkboxes\n#   =http://example.com/  open a URL\n#   {}   conditional display, a boolean expression\n#          operators: && || ! ( )\n#          variables: local browser mac win\n#   -    separator (when alone)\n#   #    comment\n\n# The =PRF (\"Preferences...\") menu item must be present."
  }

Interpreter:
  Version: 18.0.40684
  Platform: Linux-64
  Edition: Unicode/64
  Date: Jun 19 2021 at 00:08:29

@abrudz abrudz changed the title OWS Open Workspace doesn't seem to work if RIDE / Dyalog is started from a shell script RIDE should recognise localhost and 127.0.0.1 as being local Jul 19, 2023
@abrudz abrudz added this to the RIDE 4.5 milestone Aug 8, 2023
@e9gille e9gille closed this as completed in 85b2d5f Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants