octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI terminal widget


From: Nicholas Jankowski
Subject: Re: GUI terminal widget
Date: Tue, 4 Jun 2019 17:32:03 -0400

>
>    system ('vi')
>
> or
>
>    system ('emacs -nw')
>
> at the Matlab prompt?
>

what would a windows equivalent be?   cmd and powershell?   they
start, but not sure what functionality you're testing:

in matlab 2019a:

>> system ('vi')
'vi' is not recognized as an internal or external command,
operable program or batch file.
ans =
     1
>> system ('emacs -nw')
'emacs' is not recognized as an internal or external command,
operable program or batch file.
ans =
     1
>> system ('cmd')
Microsoft Windows [Version 10.0.16299.1146]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\nicholas.jankowski\Documents\MATLAB>exit
exit
ans =
        9009
>> system ('powershell')
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Attempting to perform the InitializeDefaultDrives operation on the
'FileSystem' provider failed.
PS C:\Users\nicholas.jankowski\Documents\MATLAB> exit
exit
ans =
     0

and in Octave 5.1.0

>> system ('cmd')
Microsoft Windows [Version 10.0.16299.1146]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Users\nicholas.jankowski\Desktop>exit
ans = 0
>> system ('powershell')
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Attempting to perform the InitializeDefaultDrives operation on the
'FileSystem' provider failed.
PS C:\Users\nicholas.jankowski\Desktop> exit
ans = 0

note that powershell under Octave gave me colored text.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]