Difference between revisions of "Application talk:Terminal"

From WebOS Internals
Jump to navigation Jump to search
 
(58 intermediate revisions by 30 users not shown)
Line 1: Line 1:
== Bugs: tab completion, slowdown ==
+
== Bugs: Paste? ==
I'm assuming this "Discussion" page would be a good place to report bugs as suggested on the Terminal page...
+
- Can't seem to figure out how to paste something that was copied from another app/msg/web site. The old paste shortcut of "Gesture + V" doesn't work (because its being used for other things). I tried to "Insert" shortcut, but it didn't do anything.
 +
--[[User:Zinge|Zinge]] 08:58, 7 August 2009 (UTC)
  
Anyway, when I try to tab-complete a line (Sym + i), the line becomes blank. The cursor stays in place, and the line of text disappears. When I hit enter, it works correctly (only a display issue, not a tab completion issue). I can get a screenshot if that is necessary/help any. Also, the terminal app seems to immensely slow down my Pre after a min or two, and it visibly lags as it closes and minimizes the app, then immediately speeds back up once its closed.
+
- Tossing in another request to get a solution in for pasting: as it stands there is no way to get some symbols (specifically curly braces) into the terminal - tough to do a rescan :) -- [[User:Flare576|Flare576]] 17:51, 20 August 2009 (UTC)
  
Not complaining, just reporting bugs. Thanks for all the hard work!
+
- I triple the motion.  Can we distinguish gesture HOLD from gesture tap?  We could then leave gesture HOLD V as paste and use tap and double-tap as activating the special cursor movement etc. currently in place (AWESOME JOB on this app by the way). I also second the motion for needing '{'.  This is crippling.  Couldn't we just leave access to the normal symbol input by hitting some unused key combo (gesture sym?) then we'd be able to get any symbol we need with a little effort.
--[[user:Zinge|Zinge]]
+
[[User:MerlinMM|MerlinMM]]
  
I don't know if this is the right place to post this. My apologies if this isn't.
+
Running in the emulator on Ubuntu, my desktop zero key gets turned into an at sign. This is the zero along the top just to the right of nine, not the one on the numeric keypad. Is there a way to correct that?
  
I tried installing the terminal app. What I get when finished is a white screen which has the title bar but doesn't respond to any typing.  
+
== Ansi bugs ==
 +
Scrolling in BX is fixed. Thanks! terminal is a killer app.
  
Problem when installing Terminal app.
+
Still have a bug when typing a message in IRC that's long enough to require horizontal scrolling. Instead of scrolling it does weird single-char newlines and status bar is lost.
  
I noticed in the putty screen that when I execute the command:
+
Also when using arrow keys to move around in vim (with TERM=linux and syntax/color on), what seems to be ansi color code artifacts are printed. Arrows do work, but it's unusable due to artifacts. --[[User:T3rmin|T3rmin]] 18:05, 14 August 2009 (UTC)
    ln -s /var/usr/lib/BrowserPlugins/termplugin.so /usr/lib/BrowserPlugins/
 
  
I get the following response:
+
There seems to be a problem when scrolling in any direction in nano? After awhile the display is completely ruined with characters all over the screen and no longer tell where you are or what you are editing? Seems to be a repaint issue. Also, nano doesn't seem to use the full width of the screen if I use any of the smaller fonts --[[User:TC|TC]] 19:44, 28 October 2009 (GMT)
    ln: /usr/lib/BrowserPlugins/termplugin.so: Read-only file system
 
  
Yet when I first connected to the pre I issued the command:
+
== New Version Changelog? ==
  mount -o remount,rw/
 
  
Any help would be appreciated. I've copied a section from the putty screen below:
+
The newest version from the feed seems to be 0.1.6. Anybody know what changes have been made? --[[User:Zinge|Zinge]] 19:30, 1 August 2009 (UTC)
  root@castle:/# /usr/bin/ipkg -o /var update
 
  Downloading [url]http://ipkg.preware.org/feeds/preware/all/Packages.gz[/url]
 
  Inflating [url]http://ipkg.preware.org/feeds/preware/all/Packages.gz[/url]
 
  Updated list of available packages in /var//usr/lib/ipkg/lists/all
 
  Downloading [url]http://ipkg.preware.org/feeds/preware/armv7/Packages.gz[/url]
 
  Inflating [url]http://ipkg.preware.org/feeds/preware/armv7/Packages.gz[/url]
 
  Updated list of available packages in /var//usr/lib/ipkg/lists/armv7
 
  root@castle:/# /usr/bin/ipkg -o /var install x-webosinternals-termplugin
 
  Begin installation of x-webosinternals-termplugin
 
  Installing x-webosinternals-termplugin (0.1.3) to root...
 
  Downloading [url]http://ipkg.preware.org/feeds/preware/armv7/x-webosinternals-termplugin_0.1.3_armv7.ipk[/url]
 
  Configuring x-webosinternals-termplugin
 
  root@castle:/# ln -s /var/usr/lib/BrowserPlugins/termplugin.so /usr/lib/BrowserPlugins/
 
  ln: /usr/lib/BrowserPlugins/termplugin.so: Read-only file system
 
  
Thank you - NachmanRoss
+
== Font Size Feature Request ==
 +
Well done!  I notice that there are two fonts, normal and small.  Would it be possible to add an intermediate font size?  The 40 col is to large for seeing much and the 80 col is far to small.  Would it be possible to have a ~60col font? --[[user:Dreadchicken|Dreadchicken]]
 +
 
 +
: Also, could you add a "large" font size? I don't like the small sizes for little one-line commands (wget, etc). I guess ultimately it'd be nice to have in that combo box a handful of sizes. Thank you so much for the mind-blowing awesomeness of this app, by the way. [[User:Michaelb|Michaelb]] 18:46, 17 August 2009 (UTC)
 +
 
 +
: Yes, please, an "extremely large" font for those of us whose eyesight is going. Maybe twice the size of the 6x10. --[[User:Lordbah|Lordbah]] 03:51, 2 September 2009 (UTC)
 +
 
 +
: I agree, larger fonts are an absolute necessity, please add a 10x10 and a 12x12, I can barely read the 8x8 and the 6x10. --[[user:bjrosen|bjrosen]] Oct 8, 2009
 +
 
 +
== Broadcast messages when phone sleeps/wakes ==
 +
 
 +
Has anyone figured out how to stop the broadcast messages generated on the Terminal when the phone sleeps and wakes? They clobber whatever's on the screen if you happen to turn off the phone while Terminal is open.
 +
 
 +
Other than this, great app. I'm eternally grateful. :) --[[User:zorinlynx|zorinlynx]]
 +
 
 +
I'm not sure if this will help, but there is a quilt patch in the gitorious modification for disabling some messages to the log. http://gitorious.org/webos-internals/modifications/blobs/master/luna/quiet-powerd-messages.patch --[[User:Plee3|plee3]] 21:05, 3 August 2009 (UTC)
 +
 
 +
Thank you! This has resolved the issue. --[[User:Zorinlynx|Zorinlynx]] 21:24, 3 August 2009 (UTC)
 +
 
 +
== Brackets ==
 +
Any way to enter < or > chars?  Kinda tough to dump output to a file without.
 +
--[[User:Daemon|Daemon]]
 +
 
 +
These characters have not been implemented yet, but as a work-around, you can use tee or tee -a.
 +
--[[User:JackieRipper|JackieRipper]]
 +
 
 +
==Colors Sticking, and Permissions==
 +
Would it be possible to set the foreground color permanently, so that I don't havve to set it each time I log in?
 +
 
 +
I've also noticed that when I open the application, sometimes it automatically logs me in as root. How can I disable this?
 +
 
 +
Thanks for your awesome work!! -[[User:Hopspitfire|hopspitfire]] 05:47, 16 August 2009 (UTC)
 +
 
 +
I think one solution for disabling root access is to go into
 +
  /var/usr/palm/applications/org.webosinternals.terminal/app/controllers
 +
and edit '''session-assistant.js'''
 +
Search for the line that reads
 +
  this.termplugin.start("root");
 +
and change 'root' to your username.
 +
[[User:Clebio|Clebio]] 20:57, 16 August 2009 (UTC)
 +
 
 +
:That worked perfectly! Thank you.
 +
:I'm still having trouble with the colors sticking, now when I change a color in the preferences menu and go back to the terminal, the entire screen freezes (It responds to <orange><sym><r>, but won't show the boot logo as it's shutting down, and ssh responds normally). Is this a bug? -[[User:Hopspitfire|hopspitfire]] 04:13, 17 August 2009 (UTC)
 +
:: I get this too when I try to change preferences. [[User:Michaelb|Michaelb]] 18:51, 17 August 2009 (UTC)
 +
: The problem has been fixed after the new update (0.1.9), THANKS! -[[User:Hopspitfire|hopspitfire]] 21:00, 19 August 2009 (UTC)
 +
 
 +
:This root fix works fine for startup, but I've noticed that if I go into preferences and exit out, I'm back as root. Is there another file we need to edit? Can we work this into the preferences? [[User:Crynyd|Crynyd]] 16:16, 10 November 2009 (UTC)
 +
 
 +
Terminal displays blank screen after install
 +
----
 +
 
 +
It will display nothing that I type, I have tried rebooting the phone with no luck. I did see an message that looked like an error during the install:
 +
 
 +
Configuring org.webosinternals.termplugin                                                                         
 +
(offline root mode: not running org.webosinternals.termplugin.postinst)
 +
 
 +
Could the offline root mode error above be causing this? I was not in Dev mode when I installed this, should I have been?
 +
 
 +
==Curved mask blocks text on screen corners==
 +
 
 +
There used to be padding on the top and bottom of the screen to keep the curved corners of the mojo view from blocking text. Why were they removed? --[[User:Zorinlynx|Zorinlynx]] 02:12, 20 August 2009 (UTC)
 +
 
 +
: I second this motion, it is colossally annoying.
 +
 
 +
Can we get an easier way of tabbing? Say sym+period?
 +
 
 +
: The Treo mapped Shift+Space to tab, which I think is way more convenient than Sym+I (why I?).  Is that something the Terminal app on the Pre can mimic? --[[User:Jameslin|Jameslin]] 18:37, 7 October 2009 (UTC)
 +
 
 +
: In a real unix terminal, {ctrl}-{i} = tab. {Ctrl}-{.} makes as much sense as {ctrl}-{i} but {ctrl}-{i} is standard.
 +
 
 +
== On Screen Keyboard? ==
 +
 
 +
Any plans to integrate or implement something similar to the recently released OSK to the Terminal app? I think it would be very handy for landscape mode. --[[User:Roto|Roto]] 01:27, 29 August 2009 (UTC)
 +
 
 +
== Limited User? ==
 +
 
 +
Once there is a limited user account created, it would be nice if the Terminal could be set to use that account instead of root by default, as well as start in the directory /var/home/$USER
 +
 
 +
I second this, you should never run as root, this is Linux not Windoze. --[[user:bjrosen|bjrosen]] Oct 8, 2009
 +
 
 +
== Feature Request ==
 +
It would be awesome of the following characters could be implemented:
 +
`
 +
^
 +
{
 +
}
 +
[
 +
]
 +
\
 +
~
 +
--[[User:JackieRipper|JackieRipper]]
 +
 
 +
* http://forums.precentral.net/webos-internals/224502-terminal-app-4.html#post2721902
 +
 
 +
Could you provide a programable map for the special keys. You have a two key sequence for ESC which is incredible painful for Emacs users who use CTRL and ESC constantly. I would like to be able to map ESC to the up arrow key and leave CTRL on the Sym key. --[[user:bjrosen|bjrosen]] Oct 8, 2009
 +
 
 +
== Bug: Phone lock up due to Preferences ==
 +
 
 +
I installed webdoc and then the terminal application today (11/08/2009). After running terminal, I selected the Preferences. I changed the setting for the size of the terminal to 4X6 (I think). After that, I was stuck. I couldn't figure out how to get back to the terminal. I tried swiping back, pushing the preferences to the top (and out). It would not unload. If I clicked on the screen, the preferences would re-appear. I was unable to run any other applications or type on the keypad. I couldn't power off the device by holding the power key down. Plugging the pre into my laptop didn't generate the usual menu of usb drive, charge. Eventually, my only option was to pop the battery out and restart. My pre restarted normally, no harm down.
 +
 
 +
==Terminal Questions==
 +
 
 +
Is it possible to setup aliases in the terminal app similar to editing .bash_aliases? --[[User:Elpollodiablo1|Elpollodiablo1]] 01:54, 30 December 2009 (UTC)
 +
I figured this out, you need to create a file called .profile and put it in users directory. inside the file add aliases (ex alias la = 'ls -la')--[[User:Elpollodiablo1|Elpollodiablo1]] 03:30, 30 December 2009 (UTC)
 +
 
 +
== More bugs ==
 +
8x8 font continues off the bottom of the phone (but eventually does begin to scroll).
 +
 
 +
Opening up special characters pull-down wipes previous terminal session, requiring you to open a new copy of terminal if you want to look up a special character without losing the line you were typing.
 +
 
 +
== Bug: Update to WebOS 1.4.0 ==
 +
Just installed the update to WebOS 1.4.0 - Terminal begins to start, then crashes and the phone resets.  Worked fine before the update.  Is this a problem for anyone else?  -- [[User:EagleG33k|EagleG33k]] 03:00, 1 March 2010 (UTC)
 +
 
 +
:Yes the 1.4 Update broke Terminal.  I really hope someone fixes it.  I tried Terminus and it is lacking many important features that Terminal did well.  --[[User:Daemon|Daemon]] 05:48, 1 March 2010 (UTC)
 +
 
 +
:Yes, I'm having the same trouble and an identical problem with [[Application talk:Luna Manager]], and [[Application talk:JsTop]] isn't quite working right.  But the snappier performance and video recording are worth updating for, hope these handy apps get fixed soon.  Hope you don't mind me replicating your header and comment on those other pages EagleG33k... --[[User:Dolio|Dolio]] 03:28, 4 March 2010 (UTC)
 +
 
 +
:I am also having this issue since 1.4 landed.  Does anyone know if this app has been abandoned? --[[User:sillydino|sillydino]] 10:29, 18 March 2010 (UTC)
 +
 
 +
:: Good news, the terminal service app had an update yesterday, or earlier, and the terminal app now works again. With a few minor problems that I can live with.  The phone still locks up and reboots if you access the settings or "non obvious keys" from the apps menu once you attempt to return to the terminal from those menus...  --[[User:Dolio|Dolio]] 03:24, 3 April 2010 (UTC)

Latest revision as of 15:07, 20 October 2010

Bugs: Paste?

- Can't seem to figure out how to paste something that was copied from another app/msg/web site. The old paste shortcut of "Gesture + V" doesn't work (because its being used for other things). I tried to "Insert" shortcut, but it didn't do anything. --Zinge 08:58, 7 August 2009 (UTC)

- Tossing in another request to get a solution in for pasting: as it stands there is no way to get some symbols (specifically curly braces) into the terminal - tough to do a rescan :) -- Flare576 17:51, 20 August 2009 (UTC)

- I triple the motion. Can we distinguish gesture HOLD from gesture tap? We could then leave gesture HOLD V as paste and use tap and double-tap as activating the special cursor movement etc. currently in place (AWESOME JOB on this app by the way). I also second the motion for needing '{'. This is crippling. Couldn't we just leave access to the normal symbol input by hitting some unused key combo (gesture sym?) then we'd be able to get any symbol we need with a little effort. MerlinMM

Running in the emulator on Ubuntu, my desktop zero key gets turned into an at sign. This is the zero along the top just to the right of nine, not the one on the numeric keypad. Is there a way to correct that?

Ansi bugs

Scrolling in BX is fixed. Thanks! terminal is a killer app.

Still have a bug when typing a message in IRC that's long enough to require horizontal scrolling. Instead of scrolling it does weird single-char newlines and status bar is lost.

Also when using arrow keys to move around in vim (with TERM=linux and syntax/color on), what seems to be ansi color code artifacts are printed. Arrows do work, but it's unusable due to artifacts. --T3rmin 18:05, 14 August 2009 (UTC)

There seems to be a problem when scrolling in any direction in nano? After awhile the display is completely ruined with characters all over the screen and no longer tell where you are or what you are editing? Seems to be a repaint issue. Also, nano doesn't seem to use the full width of the screen if I use any of the smaller fonts --TC 19:44, 28 October 2009 (GMT)

New Version Changelog?

The newest version from the feed seems to be 0.1.6. Anybody know what changes have been made? --Zinge 19:30, 1 August 2009 (UTC)

Font Size Feature Request

Well done! I notice that there are two fonts, normal and small. Would it be possible to add an intermediate font size? The 40 col is to large for seeing much and the 80 col is far to small. Would it be possible to have a ~60col font? --Dreadchicken

Also, could you add a "large" font size? I don't like the small sizes for little one-line commands (wget, etc). I guess ultimately it'd be nice to have in that combo box a handful of sizes. Thank you so much for the mind-blowing awesomeness of this app, by the way. Michaelb 18:46, 17 August 2009 (UTC)
Yes, please, an "extremely large" font for those of us whose eyesight is going. Maybe twice the size of the 6x10. --Lordbah 03:51, 2 September 2009 (UTC)
I agree, larger fonts are an absolute necessity, please add a 10x10 and a 12x12, I can barely read the 8x8 and the 6x10. --bjrosen Oct 8, 2009

Broadcast messages when phone sleeps/wakes

Has anyone figured out how to stop the broadcast messages generated on the Terminal when the phone sleeps and wakes? They clobber whatever's on the screen if you happen to turn off the phone while Terminal is open.

Other than this, great app. I'm eternally grateful. :) --zorinlynx

I'm not sure if this will help, but there is a quilt patch in the gitorious modification for disabling some messages to the log. http://gitorious.org/webos-internals/modifications/blobs/master/luna/quiet-powerd-messages.patch --plee3 21:05, 3 August 2009 (UTC)

Thank you! This has resolved the issue. --Zorinlynx 21:24, 3 August 2009 (UTC)

Brackets

Any way to enter < or > chars? Kinda tough to dump output to a file without. --Daemon

These characters have not been implemented yet, but as a work-around, you can use tee or tee -a. --JackieRipper

Colors Sticking, and Permissions

Would it be possible to set the foreground color permanently, so that I don't havve to set it each time I log in?

I've also noticed that when I open the application, sometimes it automatically logs me in as root. How can I disable this?

Thanks for your awesome work!! -hopspitfire 05:47, 16 August 2009 (UTC)

I think one solution for disabling root access is to go into

 /var/usr/palm/applications/org.webosinternals.terminal/app/controllers

and edit session-assistant.js Search for the line that reads

 this.termplugin.start("root");

and change 'root' to your username. Clebio 20:57, 16 August 2009 (UTC)

That worked perfectly! Thank you.
I'm still having trouble with the colors sticking, now when I change a color in the preferences menu and go back to the terminal, the entire screen freezes (It responds to <orange><sym><r>, but won't show the boot logo as it's shutting down, and ssh responds normally). Is this a bug? -hopspitfire 04:13, 17 August 2009 (UTC)
I get this too when I try to change preferences. Michaelb 18:51, 17 August 2009 (UTC)
The problem has been fixed after the new update (0.1.9), THANKS! -hopspitfire 21:00, 19 August 2009 (UTC)
This root fix works fine for startup, but I've noticed that if I go into preferences and exit out, I'm back as root. Is there another file we need to edit? Can we work this into the preferences? Crynyd 16:16, 10 November 2009 (UTC)

Terminal displays blank screen after install


It will display nothing that I type, I have tried rebooting the phone with no luck. I did see an message that looked like an error during the install:

Configuring org.webosinternals.termplugin (offline root mode: not running org.webosinternals.termplugin.postinst)

Could the offline root mode error above be causing this? I was not in Dev mode when I installed this, should I have been?

Curved mask blocks text on screen corners

There used to be padding on the top and bottom of the screen to keep the curved corners of the mojo view from blocking text. Why were they removed? --Zorinlynx 02:12, 20 August 2009 (UTC)

I second this motion, it is colossally annoying.

Can we get an easier way of tabbing? Say sym+period?

The Treo mapped Shift+Space to tab, which I think is way more convenient than Sym+I (why I?). Is that something the Terminal app on the Pre can mimic? --Jameslin 18:37, 7 October 2009 (UTC)
In a real unix terminal, {ctrl}-{i} = tab. {Ctrl}-{.} makes as much sense as {ctrl}-{i} but {ctrl}-{i} is standard.

On Screen Keyboard?

Any plans to integrate or implement something similar to the recently released OSK to the Terminal app? I think it would be very handy for landscape mode. --Roto 01:27, 29 August 2009 (UTC)

Limited User?

Once there is a limited user account created, it would be nice if the Terminal could be set to use that account instead of root by default, as well as start in the directory /var/home/$USER

I second this, you should never run as root, this is Linux not Windoze. --bjrosen Oct 8, 2009

Feature Request

It would be awesome of the following characters could be implemented: ` ^ { } [ ] \ ~ --JackieRipper

Could you provide a programable map for the special keys. You have a two key sequence for ESC which is incredible painful for Emacs users who use CTRL and ESC constantly. I would like to be able to map ESC to the up arrow key and leave CTRL on the Sym key. --bjrosen Oct 8, 2009

Bug: Phone lock up due to Preferences

I installed webdoc and then the terminal application today (11/08/2009). After running terminal, I selected the Preferences. I changed the setting for the size of the terminal to 4X6 (I think). After that, I was stuck. I couldn't figure out how to get back to the terminal. I tried swiping back, pushing the preferences to the top (and out). It would not unload. If I clicked on the screen, the preferences would re-appear. I was unable to run any other applications or type on the keypad. I couldn't power off the device by holding the power key down. Plugging the pre into my laptop didn't generate the usual menu of usb drive, charge. Eventually, my only option was to pop the battery out and restart. My pre restarted normally, no harm down.

Terminal Questions

Is it possible to setup aliases in the terminal app similar to editing .bash_aliases? --Elpollodiablo1 01:54, 30 December 2009 (UTC) I figured this out, you need to create a file called .profile and put it in users directory. inside the file add aliases (ex alias la = 'ls -la')--Elpollodiablo1 03:30, 30 December 2009 (UTC)

More bugs

8x8 font continues off the bottom of the phone (but eventually does begin to scroll).

Opening up special characters pull-down wipes previous terminal session, requiring you to open a new copy of terminal if you want to look up a special character without losing the line you were typing.

Bug: Update to WebOS 1.4.0

Just installed the update to WebOS 1.4.0 - Terminal begins to start, then crashes and the phone resets. Worked fine before the update. Is this a problem for anyone else? -- EagleG33k 03:00, 1 March 2010 (UTC)

Yes the 1.4 Update broke Terminal. I really hope someone fixes it. I tried Terminus and it is lacking many important features that Terminal did well. --Daemon 05:48, 1 March 2010 (UTC)
Yes, I'm having the same trouble and an identical problem with Application talk:Luna Manager, and Application talk:JsTop isn't quite working right. But the snappier performance and video recording are worth updating for, hope these handy apps get fixed soon. Hope you don't mind me replicating your header and comment on those other pages EagleG33k... --Dolio 03:28, 4 March 2010 (UTC)
I am also having this issue since 1.4 landed. Does anyone know if this app has been abandoned? --sillydino 10:29, 18 March 2010 (UTC)
Good news, the terminal service app had an update yesterday, or earlier, and the terminal app now works again. With a few minor problems that I can live with. The phone still locks up and reboots if you access the settings or "non obvious keys" from the apps menu once you attempt to return to the terminal from those menus... --Dolio 03:24, 3 April 2010 (UTC)