Help - Search - Members - Calendar
Full Version: Terminal Annoyances
OESF Portables Forum > General Forums > General Discussion
fsjws4
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?
qx773
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.
fsjws4
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?
tumnus
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.
fsjws4
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).
cascadefx
QUOTE(fsjws4 @ Sep 1 2004, 01:41 PM)
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.
gdog
QUOTE(fsjws4 @ Aug 31 2004, 11:34 PM)
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 "^?"
rjohnson1969
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?
nilch
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
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
Stubear
QUOTE(adf @ Mar 11 2005, 07:54 AM)
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
*


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 http://tetsu.homelinux.org/zaurus/kernel/index.html don't have this problem.

Stu
adf
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.
Stubear
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
rjohnson1969 (me) asked:
QUOTE
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:
QUOTE
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?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.