lostd
|
b456bc23f2
|
Document the relative path feature
|
10 years ago |
lostd
|
eebbf61c10
|
Use a var for dist files and remove queue.h
|
10 years ago |
sin
|
3e8555fdc6
|
Add a simple dprintf() implementation for systems that do not have it
|
10 years ago |
sin
|
3639f1bbb4
|
Just use xstrdup() in makepath()
|
10 years ago |
sin
|
89d0dc35ee
|
Add dist target
|
10 years ago |
sin
|
f4b5df5b3a
|
Replace asprintf() with strlcpy() and strlcat()
|
10 years ago |
lostd
|
cc88af72ca
|
Same functionality using lstat(2) instead of fstatat(2)
|
10 years ago |
sin
|
ca07068dcb
|
Update error to reflect actual syscall
|
10 years ago |
lostd
|
6b7c2506db
|
Expose key bindings in the configuration header
|
10 years ago |
lostd
|
ef3bfef454
|
Now nextsel() just maps keys to actions
|
10 years ago |
lostd
|
77565ecdb8
|
Style fix in a comment
|
10 years ago |
lostd
|
12da2ff028
|
Emulate ls -F completely including sockets and FIFOs
|
10 years ago |
sin
|
cae14a8208
|
Ensure manprefix exists
|
10 years ago |
lostd
|
9a14dcd8d2
|
Revert "No need to manually strip trailing slashes"
This reverts commit abd301333d .
|
10 years ago |
lostd
|
ce7411e93a
|
Document the old path history thing
|
10 years ago |
lostd
|
2d46c45a43
|
The queue header is not needed for now
|
10 years ago |
lostd
|
70d292ed24
|
We don't use realpath(3) anymore
|
10 years ago |
lostd
|
24567ce6f5
|
Get rid of the LIFO history, an oldpath is enough
|
10 years ago |
lostd
|
4b1b156a3b
|
If you call makepath() with an absolute name it returns a copy of it
|
10 years ago |
lostd
|
9407399230
|
Don't attempt to go back if on the relative root
|
10 years ago |
lostd
|
8d4019f3aa
|
Only use chdir(3) just before spawning a shell
|
10 years ago |
lostd
|
a606073296
|
Try to open file to see access errors on the status bar
|
10 years ago |
lostd
|
1c23cbc2ad
|
Create test files and directories
|
10 years ago |
lostd
|
d84c3b1079
|
Only free history path if it is valid
|
10 years ago |
lostd
|
8123975406
|
Strip trailing whitespace
|
10 years ago |
lostd
|
aa555a3b35
|
Keep history based on paths instead of positions
|
10 years ago |
sin
|
8d018e620f
|
realloc() behaves like free() if size is 0
|
10 years ago |
sin
|
644dd348d6
|
Manpage reword
|
10 years ago |
sin
|
11ca2b408d
|
Some systems define this already.
|
10 years ago |
sin
|
1c467fce7a
|
Style fix
|
10 years ago |
sin
|
0e214e23b7
|
Call dentfree() when we quit
|
10 years ago |
sin
|
789f9336f4
|
Rename testopendir() to canopendir()
|
10 years ago |
sin
|
48f9c5a79d
|
Test if we can back out/enter directories
|
10 years ago |
sin
|
aedec0ddf3
|
Add pushhist(), pophist() and forgethist()
|
10 years ago |
sin
|
1183a9428f
|
Save one level of indentation
|
10 years ago |
sin
|
b39da16920
|
Vertical spacing fixes
|
10 years ago |
sin
|
bc69021233
|
Save one level of indentation
|
10 years ago |
sin
|
05957936f5
|
Use fstatat() wherever possible
|
10 years ago |
sin
|
b06a4d4eeb
|
Initialize `n' and `dents'
|
10 years ago |
sin
|
ce599b8e6b
|
Check getch() against ERR
|
10 years ago |
sin
|
c6614067e4
|
Remember to set dents to NULL
|
10 years ago |
sin
|
dbac1486c6
|
Include sys/wait.h for waitpid()
|
10 years ago |
sin
|
ce1fcfc7b8
|
Remove unused vars
|
10 years ago |
lostd
|
7ee4928a3f
|
Just let the commands show up
|
10 years ago |
sin
|
32bce991be
|
Add dentfill() and dentfree()
|
10 years ago |
lostd
|
5335be5832
|
Functions for setting and clearing the prompt
|
10 years ago |
lostd
|
b2970c9516
|
More accurate description
|
10 years ago |
lostd
|
0809871aeb
|
Free tmp string if dirname fails
|
10 years ago |
sin
|
9bc4b92474
|
No need for a temporary buffer
xdirname() uses xstrdup() internally so we are safe to use that
pointer directly.
|
10 years ago |
sin
|
35f3b250bb
|
Only free() after xstrdup()
|
10 years ago |