![]() |
Idea: UI for Xterm
Do you think it would be possible to code a user interface for Xterm which could hold most of the common commands in memory but instead of seeing the code, that would work in the background. Instead the user would see an interface whereby they could press a button ie: Show files in archive, unpack, RED PILL MODE, Flasher commands etc
Just an idea, as it's annoying typing in code I find with the N800 unless you have a bluetooth keyboard. :( Also the idea can go beyond Xterm and be a main app for initiating commands, ie: opening programs, performing general actions etc which could also run when the N800 starts if possible. Get back to me on this..! |
Re: Idea: UI for Xterm
That would definitely be possible. Some of those things are probably already possible from the 'mc' program, although it won't know about IT-specific things like red pill mode and flasher commands.
It's probably easy enough to make a python-UI script to do this stuff. I would have had a go at it myself, but I'm more of a Perl person and there's no equvialent Perl binding on the N800. |
Re: Idea: UI for Xterm
I'm not sure exactly what you have in mind, but I guess part of it is already possible without any new tools :
- all frequently used long commands I shorthand with the shell's "alias" function - very handy, especially now that the latest xterm finally executes the .profile script at launch time ! - all commands I don't need to see the output of (like privoxy on/off etc.) I launch from the handy "cpu-applet with screenshots and launch menu"... |
Re: Idea: UI for Xterm
Quote:
|
Re: Idea: UI for Xterm
You need to create a file named ".profile" in your home dir (/home/user).
In this file you can declare any shorthand you like for long commands, using the "alias" syntax, like this : alias cls=clear alias l='ls -l' alias ll='ls -al' alias docs='cd MyDocs/.documents' etc. ... Then you make that file executable using : chmod +x .profile From then on, when you run xterm, the .profile will be executed for you and all your aliases will be available. |
All times are GMT. The time now is 23:16. |
vBulletin® Version 3.8.8