larsbrinkhoff / linux-ddt

DDT for Linux
2 stars 2 forks source link

Filenames, directories, and such. #27

Closed aloofschipperke closed 6 years ago

aloofschipperke commented 6 years ago

Several improvements to filename handing.

FIlenames are parsed. dsk: is the only device currently. Directories are parsed, but currently throw an error. A single-word filename is parsed. Absolute pathnames work.

Filename components can occur in any order. With or without extra spacing. e.g. dsk: dir; fname is equivalent to fname dir;dsk: or dsk:fname dir; Note that the fname portion requires a space, comma, or end of string as terminator.

Added :nfdir and :ofdir. Searching for programs searches these extra directories now. Eight slots are provided. The directory name is typed out when used in a program search.

Added :cwd, $$^s, and the start of hsname.

The default filename mechanism has been added. :delete now uses and sets this default.