Comments (3)
I don't think I can do anything about that. It gets the cwd by reading it from /proc//cwd which points to the resolved location if you got there via a link. But you have made me realise that there are problems in the code for doing this so I should fix it.
Original comment by: realh
from roxterm.
It's interesting that xterm appears to have the correct behaviour when a new window is opened. Maybe you could implement it into ROXTerm however xterm does it?
Original comment by: jonorthwash
from roxterm.
The main difference is that xterm uses a separate instance for each window so each one inherits the cwd from its parent without having to do anything. All ROXTerm windows share a single instance even if you run each one from the command line, unless you use the --separate flag. This means they have to have their working directory set explicitly, otherwise they'd all be stuck with whatever was the cwd when the original instance was run.
When a second instance is run from a command it reads the cwd and sends a dbus request to the original instance to open a new window with that directory and all the other options. It seems that getcwd() and g_get_current_dir() both follow symlinks, but I stumbled across GNU's get_current_dir_name() which appears not to, so I've changed roxterm to use that when it's available.
In short, opening a new window by running a roxterm command should now set the cwd the way you want, but I can't change what happens to it when using the New Window/Tab menu items. Please checkout the latest svn.
Original comment by: realh
from roxterm.
Related Issues (20)
- How change the text editor from Kate to another HOT 1
- Fine on Arch but then interrupted when switched to Debian HOT 3
- nano editor, select text with shift+(down/up) not working HOT 4
- Pasting Passwords Results in Authentication Errors HOT 7
- Font selector filters fonts / some invisible HOT 2
- Roxterm Configuration Manager is showing blank window on FreeBSD 13 HOT 2
- Potential Bug: Scrolling settings behavior change HOT 7
- Starting roxterm with a session doesn't work properly HOT 5
- cant scroll-up after printing hosts file to screen. HOT 11
- roxterm segfault when closing tab HOT 3
- wishes: maximize pattern, dropdown hotkey, debian package HOT 2
- how to build on AntiX debian? HOT 5
- how to prevent roxterm from stealing focus while keying in unicode sequence? HOT 2
- Fixing the PPA HOT 5
- Using "Tab" key in a keyboard shortcut did not work HOT 3
- Sixel support HOT 2
- no longer obtainable with apt-get install HOT 10
- Stable releases on github? HOT 3
- 3.12.1: missing pcre2 dependency checking HOT 9
- Enable wrap_switch_tab property HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roxterm.