YAOS, Yet Another OS/2 Shell v. 1.9.2 (29/11/2013, Dave Saville) |
Readme/What's new |
New in release (v1.9.2)
----------------------------
Fixed - Problem with spaces in actual command path
Fixed - Problem with file name completion when previous command had a ~
Fixed - Problem with CTRL-<left> not backspacing on start of word
Fixed - Tab completion lost end of text if done other than at end of line
Updated - Internal help
New - Code page switching support added - Thanks to Steven Levine for help.
New - Some (experimental) wildcard support added.
wildcard - shows the state (on | off )
wildcard on - turns it on
wildcard off - turns it off
NB The wildcard expansion is limited by the system's maximum command
line length. So if you get an "out of memory" message then the best
thing to do would be to use one program to find what you want and
then pipe through xargs to the program you need that does not understand
wildcards.
ls -1 *.c | xargs -n 1 -i{} wc {}
New in release (v1.9.1)
----------------------------
New $* for last argument of previous command eg:
ls -lrt foo
e $*
Will edit foo
New - Allow comments in sourced files
Fixed - bug in escape from F1 filename completion introduced in 1.9.0
Fixed - bug in $* logic
Changed - ~ extended to file/directory names eg cd ~foo -> cd %HOME%/foo
New in release (v1.9.0)
----------------------------
Fixed - PATH handling - fixes crashes on "set path"
Fixed - BEGINLIBPATH & ENDLIBPATH handling - Never worked
Fixed - Search for executable without extension did not search cwd first
Fixed - "SET" no longer displays NULL variables.
Gave impression that "set foo=" did not delete
Fixed - Blue help line length if other than 80 chars
Fixed - Quoting on file completion - well it's better :-)
Fixed - Title change - Thanks to Alex Taylor
Fixed - Commands starting // \\ ./ .\
Changed - history comparison is now case sensitive
New - Change previous command ^old^new
New - Ctrl+L - Clears screen
New - Exec/-x support in yaos.rc type files
New - CD ~ to cd to environmental "HOME"
New - -b switch to append invoked program object name to titlebar inside []
New in release (v1.8.1)
-----------------------
1) In filename completion, if "cd" or "chdir" is typed at the commandline,
only directories (as opposed to all files) will become possible candidates.
2) If you typed something on the commandline before hitting Alt-H to display
the history commands, YAOS will only show the possible matches. If none is
found, then YAOS will show all as before.
3) Ctrl-D at the commandline exits YAOS if the commandline is empty.
4) A new icon for YAOS.
New in release (v1.8.0)
-----------------------
1) Regarding 4) of v1.7, some users actually said they preferred the auto ycd
feature of v1.6. I have therefore included a new option "-y" which, when
specified, invoke ycd if a normal cd fails.
2) The title of the window running YAOS is changable now. In fact, it has been
so all along provided that the YAOS icon is unnamed. Right mouse click on
the YAOS icon and choose "Settings". Under the "General" tab, blank out the
value of "Title". (Note: It must be completely blank out with no spaces
even.) Now, double click on the YAOS icon, run a VIO program like TEDIT.EXE
and see the window title change to TEDIT.EXE. You can also set the window
title to any name you like using the new "title" command at the prompt.
3) Some users remarked that the YAOS icon is really one of the icons from
Warp 4. In fact, it is not so if you are running OS/2 at 1024x768 or
higher. At this resolution, you will see the 40x40 YAOS icon instead of the
32x32 Warp 4 icon. In this release, I have ensured that both icons are
correct, although the 32x32 one is a bit messy. Is someone willing to
design a nice YAOS icon for both 32x32 and 40x40 sizes?
4) PM programs started at the prompt will be brought to the foreground. Those
started with "&" will be detached and (in most cases) be run at the
background.
5) If only one directory name completion is possible, a second tab will perform
a name completion inside the directory. Previously, you have to type
something first before name completion will work.
6) If a directory has the same name as an executable, and if the name of the
directory is typed at the command line, YAOS will change directory if the
command ends with a back slash. Previously, the executable got called
instead.
7) Starting from this release, if the OS/2 machine running YAOS has internet
access AND if you DO NOT require a proxy to access the web, typing "ver" at
the prompt will cause YAOS to check for the latest release version of YAOS.
No longer do you have to check the ftp sites regularly to see if a new YAOS
release is out. You just have to type "ver".
New in release (v1.7)
---------------------
1) Typing "cd-" brings you back to the previous directory you were in.
2) Harddisk directory scanning by "ycd" is now stoppable using Ctrl-C or
Ctrl-Break.
3) The "cd" command no longer invokes "ycd" when the directory specified is
invalid.
4) Some users noticed that commands such as "dir" caused a partition wide
scan before they were executed. This is partly due to YAOS trying to
determine if the command is an executable program, and, if it is, whether
it is a PM executable, so that the executable can be started on a separate
session. This resulted in unacceptable slowdown for users with large
partitions (or simple long PATHed environment variable). To bypass the
executable determination, prepend the command with a back slash "\" and
YAOS will execute it right away. For example, the "dir" command would
become "\dir" instead. (Note: There should be no space between the slash
and the command.)
5) A YAOS Icon created by one of you! Thanks!
6) Fixes for a few bugs which caused core dumps.
New in release (v1.6)
---------------------
1) Typing "\" or "/" at the command line brings you to the root directory
of the current drive.
2) YAOS now checks if the executable to be launched is a PM app. If it is,
the PM app will be started on a separated session. As a result, your YAOS
window will not be minimized. (Thanks to a few of you who have written to
me with the instructions for doing this.)
3) Using Ctrl-Right-Cursor (Alt-F) or Ctrl-Left-Cursor (Alt-B) while
performing command line editing brings the cursor to a position following
a non alphanumeric character. Previously, the cursor positions itself
following a space.
4) The -x startup option of YAOS is fixed to allow YAOS specific commands
to be executable also.
5) A new startup option, -c, is added to YAOS to allow YAOS specific commands
to be executed, after which, the YAOS session will terminate.
6) You can now forced a directory rescan of any drive using the "ycd" command
by providing as parameter the drive letter followed by a colon. For
example, to force a rescan of the C drive, use the following command:
ycd c:
A user has pointed that since directories are created and removed quite
frequently, it might be useful to perform a rescan of the drives every
time one starts up OS/2. You can do that now by having the following line
in your CONFIG.SYS file. (The actual drive letters and directory may vary.)
CALL=c:\yaos\yaos.exe -c "ycd c:" -c "ycd d:"
The above line performs a rescan of drives C and D whenever OS/2 starts up.
New in release (v1.51)
----------------------
1) Fix for core dump when completing a filename that begins with the slash.
New in release (v1.5)
---------------------
1) Implementation of default application launching for different file
extensions. Using the "ext" command, you can specify what application
you want launched when a file of a particular extension is executed. For
example, after setting "ext txt=tedit", whenever you type a filename with
an extension txt at the command line, the program "tedit" will be called
up automatically to edit that file.
To start all exe programs on separate sessions, you can set "ext exe=start".
However, YAOS does not currently check if an exe program is PM or not. If
you know of an easy way to do this, please enlighten me. Thanks.
2) Quick directory changing works on drives that you do have write access on.
With such drives, a file YCD_DATX (where X is the drive alphabet) will be
created in the root directory of drive C so as to prevent a rescan of the
drive every time "ycd" is used on it.
3) File name completion for cases like c:<TAB> works now.
4) A bug fix for usage of %environment-variables% in "set" statements.
New in release (v1.01)
----------------------
1) By popular demand, when cycling through previous commands using the
up/down arrow keys, the cursor is now positioned at the end of the command
line instead of at the beginning.
2) Alias for "exit" works now.
3) When a change directory is performed and if there is no immediate match,
YAOS automatically invokes the quick directory changer.
New in release (v1.00)
----------------------
1) A vcd-like quick directory changer. The new command "ycd <directory>"
performs a quick change to the directory specified anywhere on the same
drive. When the command is first issued on any drive, a directory scan
is carried out and the results stored in a file named "YCD_DAT" in the
root directory of that drive. Subsequently, YCD_DAT will be used whenever
a ycd is called. If you make changes to the directory structure, you can
cause yaos to rescan by deleting the YCD_DAT file. Currently, ycd do not
support cross directory searches.
[Note: If you are on a networked drive and do not have write permissions,
using ycd will result in a directory scan every time. (I have not personally
tested ycd on a networked drive.)]
2) Implemented CMD.EXE's F1 functionality. To search through previously used
commands, just type in the first few characters and hit the F1 function-key
to cycle through matches. You can also use the Up/Down arrow keys to do
the same thing. As a result, command editing after a search no longer
begins at the end of the commandline.
3) A command selected in a history popup window (using <Alt-h>) is not
executed immediately. This allows you to edit the command before issuing it.
4) Wrap-around now occurs in all popup windows.
New in release (v0.99)
----------------------
1) Bug fixes: "!.." works if ".." is in cmdline history.
(plus a few minor fixes)
2) 'x' no longer exits yaos. Both 'exit' and Alt-x do.
3) Environment variable expansion works now. For example, you can do something
like this: set path=%path%c:\mydir;
4) No longer exits unnecessarily when Ctrl-C is pressed while executing a
command. In fact, yaos mask out SIGINT and SIGBREAK signals.
5) Use of '&' to detach a process like in Unix.
6) New command "kill <pid>" that destroys the process whose id is <pid>
(<pid> can be specified in hexadecimal (e.g., 0x261) or
decimal (e.g., 609). Make use of the OS/2 program "pstat /c" to find out
the pids of active processes.
New in release v0.98a
---------------------
This release fixes a bug in v0.98 relating to writing aliases to files.
It has no additional feature over v0.98.
New in release v0.98
--------------------
1) The '-r <filename>' option is obsolete. In its place, a new option
'-s <filename>' is added. The file may contain both alias definitions
and environment variables settings.
2) The command "alias -r <filename>" is now replaced by a more general
command called "source <filename>". The contents of <filename> may
contain both alias definitions and environment variables settings.
3) Alias expansions will not be shown if the '-q' flag is used.
4) Alias definition in a file requires the "alias" keyword. Previously, an
alias definition in a file looked like:
c=cls
Now, it must be specified as:
alias c=cls OR
alias c cls
5) Verify on/off settings work now.
6) Hitting the <Esc> key clears the command line.
|
Add new comment