OESF Portables Forum
General Forums => General Discussion => Topic started by: fsjws4 on August 31, 2004, 12:48:43 am
-
I've got some issues with the Terminal apps:
* In the regular Terminal, pressing the Cancel/On/Off button to wake from Suspend mode sends an Esc to the terminal, killing the session. Really irritating when I had a terminal session frontmost when it went into Suspend mode...
* KTerminal doesn't seem to respond to the backspace key. Maybe it's a setting that's wrong on my system, but I don't know where to look. This little keyboard is tricky enough as it is, ignoring the backspace just makes it harder.
Any fixes/workarounds for either of these issues?
-
See if the backspace works after you type:
stty sane
I no longer have a functioning SL-5500. I do not experience the problem that you describe on my SL-C760.
-
Yeah, 'stty sane' fixes the backspace -- that's cool. Waking from suspend still eats my terminal, though, both the one from Sharp and the QKonsole app. Is that just how suspend works?
-
Escape should never kill a terminal session. It's EOF (Shift+FN+D) that ends a shell session.
Where do you have the terminal app installed? On internal memory or CF/SD? If it's not in internal memory, that could be the problem because CF and SD cards can get remounted on resuming, which can cause some apps to effectively crash.
-
Aha! I think that's it. I have the terminal installed to internal memory, but I was cd'd into a CF directory. It wakes from suspend just fine if I'm in a non-CF directory. I don't have an SD card yet, so I can't try that.
One other bit of weirdness, though. If I go into suspend while a program is running (such as a looping Perl script or even "su"), waking from sleep will either kill that process (su) or push it to the background (Perl).
-
Aha! I think that's it. I have the terminal installed to internal memory, but I was cd'd into a CF directory. It wakes from suspend just fine if I'm in a non-CF directory. I don't have an SD card yet, so I can't try that.
One other bit of weirdness, though. If I go into suspend while a program is running (such as a looping Perl script or even "su"), waking from sleep will either kill that process (su) or push it to the background (Perl).
Wake from suspend while in an sd directory doesn't show any problems that I know of. Wierd that it causes that issue while in a CF directory.
-
Yeah, 'stty sane' fixes the backspace -- that's cool. Waking from suspend still eats my terminal, though, both the one from Sharp and the QKonsole app. Is that just how suspend works?
Actually if you just include the following in your .profile it will take care of the problem without having to execute stty sane
stty erase "^?"
-
OK, while we're on the topic of Konsole...
How can I set up a GUI Icon that will run a specific command in the Konsole. (I'm thinking of HNB, but mc or such would be handy.)
I mean, how do I launch a command line ap from the GUI? I've copied the Konsole .desktop file where I want it, now how do I pass the command to it?
-
I think you need to put the command in a script file (.sh) and then put in the icon for the .sh file and also include the file type (sh) as an associated file type in mime.types file
(I dont remember where that file should be in the file system - probably QtPalmtop/etc
-
since the title says "terminal annoyances" I will venture an almost embarassing question.
How do I get my terminal (I am always root) in root on sharprom to do tab completion?
this is going to be really obvious, isn't it? (wince)
adf
-
since the title says "terminal annoyances" I will venture an almost embarassing question.
How do I get my terminal (I am always root) in root on sharprom to do tab completion?
this is going to be really obvious, isn't it? (wince)
adf
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=70086\")
You have to manually run "bash" after you su or change the /etc/passwd to use /bin/bash instead of /bin/sh as roots default shell.
/bin/sh doesn't do tab completion.
A note about the resume sending Esc and/or killing su jobs - this is a kernel issue not a terminal issue.
The kernal available with the cacko rom or from [a href=\"http://tetsu.homelinux.org/zaurus/kernel/index.html]http://tetsu.homelinux.org/zaurus/kernel/index.html[/url] don't have this problem.
Stu
-
Isn't that maybe an issue with group ownership? I followed the directions on the kismet on 6000 how to and ended upchanging the qpe dir to root ownership permanently--so, like cacko and oz/opie I login and stay in as root.... It is nice. resume doesn't kill my terminals, though, so I thought maybe this was the issue, rather than the kernel. Of course i am running a kernel that began w/ tetsu.... and can't say anything for sure.
Thanks very much for the "bash" pointer. You will have saved me hours by may. It IS obvious, I suppose, but I think I would not have guessed.
-
It may well be an ownership thing, but i've never had my Z login as anything other than zaurus.
I used to have the resume killing root thing till I updated my kernel - At first I thought the change was due to an update terminal app (qkonsole) but later found it was also true for the old embeddedkonsole.
Stu
-
rjohnson1969 (me) asked:
How can I set up a GUI Icon that will run a specific command in the Konsole. (I'm thinking of HNB, but mc or such would be handy.)
I mean, how do I launch a command line ap from the GUI? I've copied the Konsole .desktop file where I want it, now how do I pass the command to it?
nilch replied:I think you need to put the command in a script file (.sh) and then put in the icon for the .sh file and also include the file type (sh) as an associated file type in mime.types file
(I dont remember where that file should be in the file system - probably QtPalmtop/etc
I need help with mime types. I've looked at the mime.types file, but I don't understand it. How do I set up a type that will make [console of choice] come up and run .sh files? Any examples?