|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
|
|
Screen's caption-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Hello, Does anyone know how to force screen to never show the caption? For this host, it is set in /etc/screenrc or somesuch, and I cannot see in screen manpage how to ignore those settings. I've already removed a bunch of cruft like $COMMAND_PROMPT and hardstatus, but I can't figure out this last bit. I can set the caption string to something like '', but the caption bar still appears - I want to not have a caption on screen sessions at all. Thanks for any help, - -Mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkq4Ge4ACgkQst0AR/DaKHsPuQCcDYHvUfgv7NvxPrPSxUizbOe6 NfgAn2o6M+4aX8hEzWqZ/a5k61lGLyhE =iFDn -----END PGP SIGNATURE----- _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's captionOn Mon, Sep 21, 2009 at 9:27 PM, Mike.lifeguard
<mike.lifeguard@...> wrote: > Does anyone know how to force screen to never show the caption? For this > host, it is set in /etc/screenrc or somesuch, and I cannot see in screen > manpage how to ignore those settings. I've already removed a bunch of > cruft like $COMMAND_PROMPT and hardstatus, but I can't figure out this > last bit. Put this in your screenrc. hardstatus off caption splitonly Hope it works, -- Hatem Nassrat _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's caption-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Hatem Nassrat wrote: > Put this in your screenrc. > > hardstatus off > caption splitonly > > Hope it works, > Sure does! Thanks a bunch. Also learned to set $PS1="\[\e]0;\u@\H: \w\a\]\u@\h:\w$ " to remove more cruft. I'm sure the sysadmins think they're oh-so-clever, making things "fancy" (read: annoying as all getout) - -Mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkq4SAoACgkQst0AR/DaKHtOZACggcmBYZa8FBerugTacBckspvu rYgAoKyOMsOzK8u2cXI9kxRWg/UO+qFW =cY9/ -----END PGP SIGNATURE----- _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's captionOn Tue, Sep 22, 2009 at 12:44:13AM -0300, Mike.lifeguard wrote:
> > Also learned to set $PS1="\[\e]0;\u@\H: \w\a\]\u@\h:\w$ " to remove more > cruft. > > I'm sure the sysadmins think they're oh-so-clever, making things "fancy" > (read: annoying as all getout) In my experience most users prefer a slightly more "friendly" screen than the default, fresh-from-GNU variety. Personally, I like having a "status bar" that shows load average, sometimes system name, and a list of windows. I've also got zsh set to update the screen window title (or xterm title if it's not in screen) with the currently executing command. You might call that cruft, I find it handy to know at a glance whether the long running process in window 1 has finished, which window has the root shell and which has tail running, etc. Tastes are subjective, we don't all share yours ;) _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's caption2009/9/22 Mike.lifeguard <mike.lifeguard@...>:
> Also learned to set $PS1="\[\e]0;\u@\H: \w\a\]\u@\h:\w$ " to remove more > cruft. What does this part do? \[\e]0;\u@\H: \w\a\] I tried it, and it looked identical to my usual prompt (which is the "\u@\h:\w$ " part). > I'm sure the sysadmins think they're oh-so-clever, making things "fancy" > (read: annoying as all getout) It's the "we have to compete with windows and make things look glitzy & hang the usability" syndrome... -D. _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's caption-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Daniel Morrison wrote: > What does this part do? > > \[\e]0;\u@\H: \w\a\] Everything between the \[ and \] is unprintable (so it doesn't appear in the prompt). Instead, the \e]0; sends it to the titlebar of your terminal emulator's window (if there is one). So, it is basically the same as the actual prompt, shown in another place. The \H is the full hostname, while \h is only the first part (there is more room to display in the titlebar than in the prompt). - -Mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkq4VlAACgkQst0AR/DaKHuq/gCeKQJvIviVZN9AQXBQQswVqTkM ikMAn0SBi1CYzajP+1P2M30Med+7eq+x =IRxV -----END PGP SIGNATURE----- _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's captionOn Tue, 22 Sep 2009, Mike.lifeguard wrote: > I'm sure the sysadmins think they're oh-so-clever, making things > "fancy" (read: annoying as all getout) > > - -Mike *** That is *exactly* the reason I stay away from GUI desktops. Screen clutter takes time to render and time to swear at. (-: Richard _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's caption2009/9/22 Mike.lifeguard <mike.lifeguard@...>:
> Daniel Morrison wrote: >> What does this part do? >> >> \[\e]0;\u@\H: \w\a\] > > Everything between the \[ and \] is unprintable (so it doesn't appear in > the prompt). Instead, the \e]0; sends it to the titlebar of your > terminal emulator's window (if there is one). > > So, it is basically the same as the actual prompt, shown in another > place. The \H is the full hostname, while \h is only the first part > (there is more room to display in the titlebar than in the prompt). Thanks. I'm getting too forgetful. "But I have my titlebar set!" I think. "How did I do that?" <grep><grep><grep> local TITLEBAR='\[\e]0;\u@\h:\w\$\a\]' PS1="${TITLEBAR}\u@\h:\w\$ " Whaddya know... -D. _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's captionOn Tue, 22 Sep 2009 08:47:15 -0300 (ADT)
Richard Bonner <ak621@...> wrote: > On Tue, 22 Sep 2009, Mike.lifeguard wrote: > > > I'm sure the sysadmins think they're oh-so-clever, making things > > "fancy" (read: annoying as all getout) > > > > - -Mike > > *** That is *exactly* the reason I stay away from GUI desktops. > Screen clutter takes time to render and time to swear at. (-: Am I the *only* one to catch the irony of this statement in a thread about 'screen'? But yes, if you provide a useful feature (captions arguably give some useful feedback) and disable it by default, then people won't know about it. However, I do agree that the solution isn't exactly obvious from the man page, and they really should have provided an 'off' or 'never' option here. Ben -- ,-. nSLUG http://www.nslug.ns.ca synrg@... \`' Debian http://www.debian.org synrg@... ` [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ] _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's caption-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Ben Armstrong wrote: > But yes, if you provide a useful feature (captions arguably give some > useful feedback) and disable it by default, then people won't know > about it. While I expect sysadmins to change things so the system works, I don't expect them to customize *everything* - default settings are default for a reason. - -Mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkq42oQACgkQst0AR/DaKHsx6ACgh1eZMrWFwq1zP+Cgs+npq2zq U6gAn3ZkadLp3wtwFBZl0LiJN0tbt7aZ =APu6 -----END PGP SIGNATURE----- _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's caption2009/9/22 Mike.lifeguard <mike.lifeguard@...>:
> While I expect sysadmins to change things so the system works, I don't > expect them to customize *everything* - default settings are default for > a reason. All hail Slackware! The distribution that aims for simplicity, stability, and installing packages as the package maintainers intended (i.e. all at reasonable defaults). -D. _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's captionOn Tue, 22 Sep 2009 11:09:11 -0300
"Mike.lifeguard" <mike.lifeguard@...> wrote: > While I expect sysadmins to change things so the system works, I don't > expect them to customize *everything* - default settings are default for > a reason. Clearly the developer thought this was a reasonable default. If you disagree, why don't you file a bug? I don't think it's all about navel gazing. Most of the time if a developer makes a feature the default, they think they're doing their users a service by making it so. If it turns out they were wrong, they'll never know unless their users tell them. Ben -- ,-. nSLUG http://www.nslug.ns.ca synrg@... \`' Debian http://www.debian.org synrg@... ` [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ] _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's captionOn Tue, 22 Sep 2009, Ben Armstrong wrote: > On Tue, 22 Sep 2009 08:47:15 -0300 (ADT) > Richard Bonner <ak621@...> wrote: >> On Tue, 22 Sep 2009, Mike.lifeguard wrote: >> >>> I'm sure the sysadmins think they're oh-so-clever, making things >>> "fancy" (read: annoying as all getout) >>> >>> - -Mike >> >> *** That is *exactly* the reason I stay away from GUI desktops. >> Screen clutter takes time to render and time to swear at. (-: > > Am I the *only* one to catch the irony of this statement in a thread > about 'screen'? > > Ben *** I hope not. (-: Richard _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's captionOn Tue, Sep 22, 2009 at 11:39 AM, Richard Bonner <ak621@...> wrote:
> > On Tue, 22 Sep 2009, Ben Armstrong wrote: > >> On Tue, 22 Sep 2009 08:47:15 -0300 (ADT) >> Richard Bonner <ak621@...> wrote: >>> On Tue, 22 Sep 2009, Mike.lifeguard wrote: >>> >>>> I'm sure the sysadmins think they're oh-so-clever, making things >>>> "fancy" (read: annoying as all getout) >>>> >>>> - -Mike >>> >>> *** That is *exactly* the reason I stay away from GUI desktops. >>> Screen clutter takes time to render and time to swear at. (-: >> >> Am I the *only* one to catch the irony of this statement in a thread >> about 'screen'? >> > > *** I hope not. (-: Is it because Richard doesn't even use a (Li)?U*nix system ? -- Hatem Nassrat _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's captionOn Tue, 22 Sep 2009, Hatem Nassrat wrote: > On Tue, Sep 22, 2009 at 11:39 AM, Richard Bonner <ak621@...> wrote: >> >> On Tue, 22 Sep 2009, Ben Armstrong wrote: >>> On Tue, 22 Sep 2009 08:47:15 -0300 (ADT) >>> Richard Bonner <ak621@...> wrote: >>>> *** That is *exactly* the reason I stay away from GUI desktops. >>>> Screen clutter takes time to render and time to swear at. (-: >>> >>> Am I the *only* one to catch the irony of this statement in a thread >>> about 'screen'? >>> >> >> *** I hope not. (-: > > Is it because Richard doesn't even use a (Li)?U*nix system ? >> -- > Hatem Nassrat and read/send mail via Unix programs provided by Chebucto's shell server. That aside, I have had half a dozen Linux systems in one form or another or the past decade but never seem to have the time to learn them to any proficiency. Richard _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's captionRichard Bonner wrote: > *** Interestingly, I am using one in a way right now. I post news > and read/send mail via Unix programs provided by Chebucto's shell > server. Hey, I got my start with {Un,Berkl,Ultr}ix by logging into shell accounts from an Osborne I over dialup and DataPac. Even made my own termcap entry so I could use Emacs. Never *did* get around to using screen(1). The manpage was too intimidating and just hacking around with whatever I was doing was easier. - Mike -- Michael Spencer Nova Scotia, Canada .~. /V\ mspencer@... /( )\ http://home.tallships.ca/mspencer/ ^^-^^ _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's captionOn Tue, Sep 22, 2009 at 10:08 PM, Richard Bonner <ak621@...> wrote:
> > On Tue, 22 Sep 2009, Hatem Nassrat wrote: > >> On Tue, Sep 22, 2009 at 11:39 AM, Richard Bonner <ak621@...> >> wrote: >>> >>> On Tue, 22 Sep 2009, Ben Armstrong wrote: > >>>> On Tue, 22 Sep 2009 08:47:15 -0300 (ADT) >>>> Richard Bonner <ak621@...> wrote: >>>>> >>>>> *** That is *exactly* the reason I stay away from GUI desktops. >>>>> Screen clutter takes time to render and time to swear at. (-: >>>> >>>> Am I the *only* one to catch the irony of this statement in a thread >>>> about 'screen'? >>>> >>> >>> *** I hope not. (-: >> >> Is it because Richard doesn't even use a (Li)?U*nix system ? >>> >>> -- >> >> Hatem Nassrat > > *** Interestingly, I am using one in a way right now. I post news and > read/send mail via Unix programs provided by Chebucto's shell server. I am just playing Richard :) PS. I didn't actually notice the irony except right now, -- Hatem Nassrat _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's captionMike.lifeguard wrote:
> Also learned to set $PS1="\[\e]0;\u@\H: \w\a\]\u@\h:\w$ " to remove more > cruft. > > I'm sure the sysadmins think they're oh-so-clever, making things "fancy" > (read: annoying as all getout) You say you cut it *down* to that? Disregarding the title bar stuff, what was it before the surgery? I go with the Debian default of \u@\h:\w\$, but years back, just for a laugh, I once set all my accounts to PS1="\n\n ". Now that's minimalistic. Once I got accustomed to it, it wasn't as crazy as it may look. An indent of 10 spaces is quite functional as a prompt, and the blank lines help distinguish output from sequential commands as you scroll through the history buffer. I'm sure some people will say "Why would you even bother doing that?", but like I said it was just for fun. Johnathan _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's captionOn Wed, 23 Sep 2009, Mike Spencer wrote: > Richard Bonner wrote: (Re: Unix/Linux Programs) >> *** Interestingly, I am using one in a way right now. I post news >> and read/send mail via Unix programs provided by Chebucto's shell >> server. > > Hey, I got my start with {Un,Berkl,Ultr}ix by logging into shell > accounts from an Osborne I over dialup and DataPac. Even made my own > termcap entry so I could use Emacs. *** I like the shell server because it is extremely fast and it isolates me from the Internet with no firewall, router or virus protection required. I also like it because I can quickly edit my webpages right on line via Pico. > Never *did* get around to using screen(1). The manpage was too > intimidating and just hacking around with whatever I was doing was > easier. > > - Mike *** Long manuals can be intimidating, especially if they are poorly written. My method is to take a portion at a time and learn to use one feature well. Then learn another, another, another... Richard _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
|
|
Re: Screen's captionOn Wed, 23 Sep 2009, Hatem Nassrat wrote: > On Tue, Sep 22, 2009 at 10:08 PM, Richard Bonner <ak621@...> wrote: >> >> On Tue, 22 Sep 2009, Hatem Nassrat wrote: >> >>> On Tue, Sep 22, 2009 at 11:39 AM, Richard Bonner <ak621@...> >>> wrote: >>>> On Tue, 22 Sep 2009, Ben Armstrong wrote: >>>>> Am I the *only* one to catch the irony of this statement in a thread >>>>> about 'screen'? >>>> >>>> *** I hope not. (-: >>> >>> Is it because Richard doesn't even use a (Li)?U*nix system ? >>>> -- >>> Hatem Nassrat >> *** Interestingly, I am using one in a way right now. I post news and >> read/send mail via Unix programs provided by Chebucto's shell server. > I am just playing Richard :) *** No problem, Hatem, I did take it that way. (-: > PS. I didn't actually notice the irony except right now, > -- > Hatem Nassrat *** It's easy for humour to sometimes go over one's head with the typed word because the voice inflections aren't there. Richard _______________________________________________ nSLUG mailing list nSLUG@... http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug |
| Free embeddable forum powered by Nabble | Forum Help |